Unconditional branch instruction encoding fix. Needs to use ABI, not AXI, to get the proper opcode bits.

llvm-svn: 57262
This commit is contained in:
Jim Grosbach 2008-10-07 21:08:09 +00:00
parent b53acd8caa
commit f311fe142c
1 changed files with 1 additions and 1 deletions

View File

@ -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 {