mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-30 19:55:11 +00:00
set mayStore and mayLoad on CR pseudos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ad6b7d359
commit
ae37cd0a37
@ -399,12 +399,14 @@ let usesCustomInserter = 1, // Expanded after instruction selection.
|
|||||||
|
|
||||||
// SPILL_CR - Indicate that we're dumping the CR register, so we'll need to
|
// SPILL_CR - Indicate that we're dumping the CR register, so we'll need to
|
||||||
// scavenge a register for it.
|
// scavenge a register for it.
|
||||||
def SPILL_CR : Pseudo<(outs), (ins GPRC:$cond, memri:$F),
|
let mayStore = 1 in
|
||||||
|
def SPILL_CR : Pseudo<(outs), (ins CRRC:$cond, memri:$F),
|
||||||
"", []>;
|
"", []>;
|
||||||
|
|
||||||
// RESTORE_CR - Indicate that we're restoring the CR register (previously
|
// RESTORE_CR - Indicate that we're restoring the CR register (previously
|
||||||
// spilled), so we'll need to scavenge a register for it.
|
// spilled), so we'll need to scavenge a register for it.
|
||||||
def RESTORE_CR : Pseudo<(outs GPRC:$cond), (ins memri:$F),
|
let mayLoad = 1 in
|
||||||
|
def RESTORE_CR : Pseudo<(outs CRRC:$cond), (ins memri:$F),
|
||||||
"", []>;
|
"", []>;
|
||||||
|
|
||||||
let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7 in {
|
let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7 in {
|
||||||
|
Loading…
Reference in New Issue
Block a user