mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-30 19:55:11 +00:00
Fix a bug I introduced in the ppc refactoring, which caused long
branches to be emitted as: bne cr0, 2 instead of: bne cr0, $+8 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119317 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a295eb34a5
commit
b8efa6b475
@ -291,6 +291,7 @@ def directbrtarget : Operand<OtherVT> {
|
|||||||
let EncoderMethod = "getDirectBrEncoding";
|
let EncoderMethod = "getDirectBrEncoding";
|
||||||
}
|
}
|
||||||
def condbrtarget : Operand<OtherVT> {
|
def condbrtarget : Operand<OtherVT> {
|
||||||
|
let PrintMethod = "printBranchOperand";
|
||||||
let EncoderMethod = "getCondBrEncoding";
|
let EncoderMethod = "getCondBrEncoding";
|
||||||
}
|
}
|
||||||
def calltarget : Operand<iPTR> {
|
def calltarget : Operand<iPTR> {
|
||||||
|
Loading…
Reference in New Issue
Block a user