[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp
    Lauro Ramos Venancio 
    lauro.venancio at gmail.com
       
    Thu May 31 11:28:18 PDT 2007
    
    
  
Changes in directory llvm/lib/CodeGen:
PrologEpilogInserter.cpp updated: 1.87 -> 1.88
---
Log message:
Fix PR1424: http://llvm.org/PR1424 .
When a function has FP, the register scavenging spill slot offset already 
was calculated.
---
Diffs of the changes:  (+1 -1)
 PrologEpilogInserter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff -u llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.87 llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.88
--- llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.87	Wed May  2 20:11:53 2007
+++ llvm/lib/CodeGen/PrologEpilogInserter.cpp	Thu May 31 13:27:58 2007
@@ -428,7 +428,7 @@
 
   // Make sure the special register scavenging spill slot is closest to the
   // stack pointer.
-  if (RS) {
+  if (RS && !RegInfo->hasFP(Fn)) {
     int SFI = RS->getScavengingFrameIndex();
     if (SFI >= 0) {
       // If stack grows down, we need to add size of find the lowest
    
    
More information about the llvm-commits
mailing list