In Thumb2, direct branches can be encoded as either a "short" conditional branch...
authorOwen Anderson <resistor@mac.com>
Mon, 13 Dec 2010 19:31:11 +0000 (19:31 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 13 Dec 2010 19:31:11 +0000 (19:31 +0000)
commitc266600bec4b5ba0ee93ffdfeaafcab8f1295145
tree52aa2e03e9da5a039c31ab73611b54465dab89fe
parent56a2535474dd4482c432b3c75c3dab4b2f3dd1e2
In Thumb2, direct branches can be encoded as either a "short" conditional branch with a null predicate, or
as a "long" direct branch.  While the mnemonics are the same, they encode the branch offset differently, and
the Darwin assembler appears to prefer the "long" form for direct branches.  Thus, in the name of bitwise
equivalence, provide encoding and fixup support for it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121710 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMAsmBackend.cpp
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMFixupKinds.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMMCCodeEmitter.cpp
utils/TableGen/EDEmitter.cpp
utils/TableGen/X86RecognizableInstr.cpp