OSDN Git Service

adjcallstack up/down clobbers the sp
authorChris Lattner <sabre@nondot.org>
Thu, 12 Oct 2006 18:00:14 +0000 (18:00 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Oct 2006 18:00:14 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30910 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaInstrInfo.td

index 3f897a7..921a4ad 100644 (file)
@@ -161,9 +161,9 @@ def WTF : PseudoInstAlpha<(ops variable_ops), "#wtf", [], s_pseudo>;
 
 let isLoad = 1, hasCtrlDep = 1 in {
 def ADJUSTSTACKUP : PseudoInstAlpha<(ops s64imm:$amt), "; ADJUP $amt", 
-                [(callseq_start imm:$amt)], s_pseudo>;
+                [(callseq_start imm:$amt)], s_pseudo>, Imp<[R30],[R30]>;
 def ADJUSTSTACKDOWN : PseudoInstAlpha<(ops s64imm:$amt), "; ADJDOWN $amt", 
-                [(callseq_end imm:$amt)], s_pseudo>;
+                [(callseq_end imm:$amt)], s_pseudo>, Imp<[R30],[R30]>;
 }
 def ALTENT : PseudoInstAlpha<(ops s64imm:$TARGET), "$$$TARGET..ng:\n", [], s_pseudo>;
 def PCLABEL : PseudoInstAlpha<(ops s64imm:$num), "PCMARKER_$num:\n",[], s_pseudo>;