aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2008-10-07 21:08:09 +0000
committerJim Grosbach <grosbach@apple.com>2008-10-07 21:08:09 +0000
commit76e9661b6c46e211c1e0d5215b92d3bd219e9cff (patch)
tree25173619f62e027aa77d4c75d59c71d0d551311c
parentcbc47b89340c8ab995453f2b18ff237c1303e89d (diff)
downloadexternal_llvm-76e9661b6c46e211c1e0d5215b92d3bd219e9cff.zip
external_llvm-76e9661b6c46e211c1e0d5215b92d3bd219e9cff.tar.gz
external_llvm-76e9661b6c46e211c1e0d5215b92d3bd219e9cff.tar.bz2
Unconditional branch instruction encoding fix. Needs to use ABI, not AXI, to get the proper opcode bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57262 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 9b8bfba..3c4f8cd 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -567,7 +567,7 @@ let isBranch = 1, isTerminator = 1 in {
// B is "predicable" since it can be xformed into a Bcc.
let isBarrier = 1 in {
let isPredicable = 1 in
- def B : AXI<0xA, (outs), (ins brtarget:$target), Branch, "b $target",
+ def B : ABI<{0,1,0,1}, (outs), (ins brtarget:$target), Branch, "b $target",
[(br bb:$target)]>;
let isNotDuplicable = 1, isIndirectBranch = 1 in {