[Thumb-1] Add optimized constant materialization for integers [256..512)
commit6e988c5976635aaacdf4a717b9489eb208f60c16
authorJames Molloy <james.molloy@arm.com>
Tue, 7 Jun 2016 13:10:14 +0000 (7 13:10 +0000)
committerJames Molloy <james.molloy@arm.com>
Tue, 7 Jun 2016 13:10:14 +0000 (7 13:10 +0000)
tree07a23ea9900af9f48bb3247462242ac484ed48b3
parent7e0019d8f729ef28efd8c46de28b6101cf5476da
[Thumb-1] Add optimized constant materialization for integers [256..512)

We can materialize these integers using a MOV; ADDi8 pair.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272007 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMInstrThumb.td
test/CodeGen/Thumb/constants.ll [new file with mode: 0644]