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:52:20 +0000 (22:52 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 18 Oct 2011 22:52:20 +0000 (22:52 +0000)
commit85f3a0a4c4c1953a06ea463c6b5d6b88d62b58b4
treeadcf36a899632e27f19e08c0a222fd358af9b091
parent7e8ae57be914cbb6fab111d98a89c6f07c77d2a1
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@142440 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp