OSDN Git Service

Use the integer compare when the value is small enough. Use the "move into a
authorBill Wendling <isanbard@gmail.com>
Tue, 18 Oct 2011 22:49:07 +0000 (22:49 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 18 Oct 2011 22:49:07 +0000 (22:49 +0000)
commit952cb50fee7181265c0feb4f656dbbe8c0101dfb
tree46312e4229b6322bf0f29a7e23218dcef0c1f0af
parent20b2b788b4f3914757789fe1ee835b70759ce4ec
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
lib/Target/ARM/ARMISelLowering.cpp