summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-12-13 19:31:11 +0000
committerOwen Anderson <resistor@mac.com>2010-12-13 19:31:11 +0000
commit578074b2f3b5eedc7e3f391bb717ada05a1dde65 (patch)
treefd4c156c00858f68568c90c4771d4489a983eb89 /llvm/utils/TableGen/X86RecognizableInstr.cpp
parentf588c516b7e6063ea6e25e49c50bf7d16eb3592a (diff)
downloadbcm5719-llvm-578074b2f3b5eedc7e3f391bb717ada05a1dde65.tar.gz
bcm5719-llvm-578074b2f3b5eedc7e3f391bb717ada05a1dde65.zip
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. llvm-svn: 121710
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index e3cad1aaa89..ccd3efd980a 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -857,6 +857,7 @@ OperandType RecognizableInstr::typeFromString(const std::string &s,
TYPE("i32imm_pcrel", TYPE_REL32)
TYPE("SSECC", TYPE_IMM3)
TYPE("brtarget", TYPE_RELv)
+ TYPE("uncondbrtarget", TYPE_RELv)
TYPE("brtarget8", TYPE_REL8)
TYPE("f80mem", TYPE_M80FP)
TYPE("lea32mem", TYPE_LEA)
OpenPOWER on IntegriCloud