OSDN Git Service

mark call adjustments as modifying the SP
authorChris Lattner <sabre@nondot.org>
Thu, 12 Oct 2006 18:00:26 +0000 (18:00 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Oct 2006 18:00:26 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30911 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 9873e44..4cf271b 100644 (file)
@@ -95,11 +95,11 @@ def armfmdrr       : SDNode<"ARMISD::FMDRR", SDTarmfmdrr, []>;
 
 def ADJCALLSTACKUP : InstARM<(ops i32imm:$amt),
                             "!ADJCALLSTACKUP $amt",
-                            [(callseq_end imm:$amt)]>;
+                            [(callseq_end imm:$amt)]>, Imp<[R13],[R13]>;
 
 def ADJCALLSTACKDOWN : InstARM<(ops i32imm:$amt),
                                "!ADJCALLSTACKDOWN $amt",
-                               [(callseq_start imm:$amt)]>;
+                               [(callseq_start imm:$amt)]>, Imp<[R13],[R13]>;
 
 let isReturn = 1 in {
   def bx: InstARM<(ops), "bx r14", [(retflag)]>;