diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-12-10 10:08:21 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-12-10 10:08:21 +0000 |
commit | 1a030016a65176d37a673f91c04d5a835172ba0c (patch) | |
tree | 37d7cb8e7a1caccc82e061090d585cfb14661a39 | |
parent | 253562eb815d0dc4676ce87d1efec99c00e57ea6 (diff) | |
download | bcm5719-llvm-1a030016a65176d37a673f91c04d5a835172ba0c.tar.gz bcm5719-llvm-1a030016a65176d37a673f91c04d5a835172ba0c.zip |
[X86] Tag MORESTACK instructions as ret scheduler class
llvm-svn: 320296
-rw-r--r-- | llvm/lib/Target/X86/X86InstrCompiler.td | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86InstrCompiler.td b/llvm/lib/Target/X86/X86InstrCompiler.td index 95a18d3f0bf..d70c8be6f3c 100644 --- a/llvm/lib/Target/X86/X86InstrCompiler.td +++ b/llvm/lib/Target/X86/X86InstrCompiler.td @@ -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>; } //===----------------------------------------------------------------------===// |