OSDN Git Service

mark adjcallstack up/down as clobbering and using the SP
authorChris Lattner <sabre@nondot.org>
Thu, 12 Oct 2006 17:56:34 +0000 (17:56 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Oct 2006 17:56:34 +0000 (17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30908 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrInfo.td

index b044d77..a61aff0 100644 (file)
@@ -276,10 +276,10 @@ def FPContractions : Predicate<"!NoExcessFPPrecision">;
 let hasCtrlDep = 1 in {
 def ADJCALLSTACKDOWN : Pseudo<(ops u16imm:$amt),
                               "${:comment} ADJCALLSTACKDOWN",
-                              [(callseq_start imm:$amt)]>;
+                              [(callseq_start imm:$amt)]>, Imp<[R1],[R1]>;
 def ADJCALLSTACKUP   : Pseudo<(ops u16imm:$amt),
                               "${:comment} ADJCALLSTACKUP",
-                              [(callseq_end imm:$amt)]>;
+                              [(callseq_end imm:$amt)]>, Imp<[R1],[R1]>;
 
 def UPDATE_VRSAVE    : Pseudo<(ops GPRC:$rD, GPRC:$rS),
                               "UPDATE_VRSAVE $rD, $rS", []>;