ARM: constrain Thumb LDRLIT pseudo-instructions to r0-r7.
authorTim Northover <tnorthover@apple.com>
Mon, 13 Jan 2014 14:19:17 +0000 (14:19 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 13 Jan 2014 14:19:17 +0000 (14:19 +0000)
commit08a8edb8483898f0a5741ad5cf9fa68b1611f83a
tree202960c63b614ed6b3a8283b5390eb33aaf74f6f
parentf71254859e1f96944c4f4cedeecc940bce3c1e66
ARM: constrain Thumb LDRLIT pseudo-instructions to r0-r7.

Previously we only used GPR for the destination placeholder in "ldr rD, [pc,
incorrect codegen under the integrated assembler.

This should fix both issues (which probably only affect MachO targets at the
moment).

rdar://problem/15800156

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199108 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td