[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jan 13 09:52:16 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.64 -> 1.65
---
Log message:

implement stacksave/stackrestore on PPC


---
Diffs of the changes:  (+1 -0)

 PPCISelLowering.cpp |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.64 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.65
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.64	Thu Jan 12 20:42:53 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp	Fri Jan 13 11:52:03 2006
@@ -142,6 +142,7 @@
   }
   
   setSetCCResultContents(ZeroOrOneSetCCResult);
+  setStackPointerRegisterToSaveRestore(PPC::R1);
   
   computeRegisterProperties();
 }






More information about the llvm-commits mailing list