OSDN Git Service

Currently there is a pattern for the thumb-2 MOV 16-bit immediate instruction. That...
authorDavid Goodwin <david_goodwin@apple.com>
Fri, 26 Jun 2009 16:10:07 +0000 (16:10 +0000)
committerDavid Goodwin <david_goodwin@apple.com>
Fri, 26 Jun 2009 16:10:07 +0000 (16:10 +0000)
commit83b3593478406b020b7af6ba5402a14507d7d713
treebe9a0ca7a0ec94157c4f966f4d68d0b38998af79
parent894788144493f0621f2821dc730f11a2bd7eaaf5
Currently there is a pattern for the thumb-2 MOV 16-bit immediate instruction. That instruction cannot write the flags so it should use T2I instead of T2sI.
Also, added a pattern for the thumb-2 MOV of shifted immediate since that can encode immediates not encodable by the 16-bit immediate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
test/CodeGen/Thumb2/thumb2-mov3.ll [new file with mode: 0644]
test/CodeGen/Thumb2/thumb2-mov4.ll [new file with mode: 0644]