mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Make register scavenging happy by not using a reg (CR0) that isn't defined
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d2b8d7bc51
commit
ba8d51c1d7
@ -293,7 +293,7 @@ def memrix : Operand<iPTR> { // memri where the imm is shifted 2 bits.
|
||||
// PowerPC Predicate operand. 20 = (0<<5)|20 = always, CR0 is a dummy reg
|
||||
// that doesn't matter.
|
||||
def pred : PredicateOperand<OtherVT, (ops imm, CRRC),
|
||||
(ops (i32 20), CR0)> {
|
||||
(ops (i32 20), (i32 zero_reg))> {
|
||||
let PrintMethod = "printPredicateOperand";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user