mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
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
This commit is contained in:
parent
cbc47b8934
commit
76e9661b6c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user