summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb/constants.ll
AgeCommit message (Collapse)Author
2016-06-14[Thumb] Fix off-by-one error in r272007James Molloy
We can only generate immediates up to #510 with a MOV+ADD, not #511, because there's no such instruction as add #256. Found by Oliver Stannard and csmith! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272665 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-07[Thumb-1] Add optimized constant materialization for integers [256..512)James Molloy
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