Thumb2 relaxation for LDR(literal).
authorJim Grosbach <grosbach@apple.com>
Wed, 18 Jan 2012 21:54:16 +0000 (21:54 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 18 Jan 2012 21:54:16 +0000 (21:54 +0000)
commit256ba4f42a16da2b3ffc757aa7bf191890765580
tree480705dad56b993a5f93afa9f21bdd00e854e3b4
parentec4ceb797a963b2d24b02d40fad6cc456fac3e5b
Thumb2 relaxation for LDR(literal).

If the fixup is out of range for the Thumb1 instruction, relax it
to the Thumb2 encoding instead.

rdar://10711829

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148424 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
test/MC/MachO/ARM/relax-thumb-ldr-literal.s [new file with mode: 0644]