Simplify the encoding of reg+/-imm12 values that allow PC-relative encoding. This...
authorOwen Anderson <resistor@mac.com>
Tue, 30 Nov 2010 22:45:47 +0000 (22:45 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 30 Nov 2010 22:45:47 +0000 (22:45 +0000)
commit80dd3e06129e2b570cbd65cba850571981df693a
treeb795f4d6ee70775aa85677648d15fcc4a77b984d
parent97dd28fb89dc4c4caa3c60890335dc99489981a6
Simplify the encoding of reg+/-imm12 values that allow PC-relative encoding.  This allows the
Thumb2 encoding to share code with the ARM encoding, which gets use fixup support for free.
It also allows us to fold away at least one codegen-only pattern.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120481 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMMCCodeEmitter.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h
utils/TableGen/EDEmitter.cpp