Fix ARMTargetLowering::isLegalAddImmediate to consider thumb encodings.
authorAndrew Trick <atrick@apple.com>
Wed, 18 Jul 2012 18:34:27 +0000 (18:34 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 18 Jul 2012 18:34:27 +0000 (18:34 +0000)
commit8d8d961de4878b17dca9d8b23666df223f6d654b
tree522fe3d46f48a1dd6edafcb041bd5acd2dd134ee
parent49b446fa0a0daabebdb18a8ef884acda353399cf
Fix ARMTargetLowering::isLegalAddImmediate to consider thumb encodings.

Based on Evan's suggestion without a commitable test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160441 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp