forked from OSchip/llvm-project
[X86] Tag MORESTACK instructions as ret scheduler class
llvm-svn: 320296
This commit is contained in:
parent
253562eb81
commit
1a030016a6
|
@ -257,15 +257,15 @@ let isPseudo = 1, SchedRW = [WriteSystem] in {
|
|||
// This is lowered into a RET instruction by MCInstLower. We need
|
||||
// this so that we don't have to have a MachineBasicBlock which ends
|
||||
// with a RET and also has successors.
|
||||
let isPseudo = 1 in {
|
||||
let isPseudo = 1, SchedRW = [WriteJumpLd] in {
|
||||
def MORESTACK_RET: I<0, Pseudo, (outs), (ins),
|
||||
"", []>;
|
||||
"", [], IIC_RET>;
|
||||
|
||||
// This instruction is lowered to a RET followed by a MOV. The two
|
||||
// instructions are not generated on a higher level since then the
|
||||
// verifier sees a MachineBasicBlock ending with a non-terminator.
|
||||
def MORESTACK_RET_RESTORE_R10 : I<0, Pseudo, (outs), (ins),
|
||||
"", []>;
|
||||
"", [], IIC_RET>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue