commit | 952cb50fee7181265c0feb4f656dbbe8c0101dfb | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Tue Oct 18 22:49:07 2011 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Tue Oct 18 22:49:07 2011 +0000 |
tree | 46312e4229b6322bf0f29a7e23218dcef0c1f0af | |
parent | 20b2b788b4f3914757789fe1ee835b70759ce4ec [diff] |
Use the integer compare when the value is small enough. Use the "move into a register and then compare against that" method when it's too large. We have to move the value into the register in the "movw, movt" pair of instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142437 91177308-0d34-0410-b5e6-96231b3b80d8