mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
set mayStore and mayLoad on CR pseudos
llvm-svn: 146022
This commit is contained in:
parent
fa3b46319d
commit
8589827358
@ -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
|
||||
// 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
|
||||
// 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user