[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Jul 28 21:15:46 PDT 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9RegClassInfo.cpp updated: 1.37 -> 1.38

---
Log message:

Remove mustSaveAcrossCalls flag, which isn't ever read, and its mutator,
markForSaveAcrossCalls.


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

Index: llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp:1.37 llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp:1.38
--- llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp:1.37	Sun Jul  4 07:19:56 2004
+++ llvm/lib/Target/SparcV9/SparcV9RegClassInfo.cpp	Wed Jul 28 23:15:36 2004
@@ -113,7 +113,6 @@
       //  get the live range corresponding to live var
       // since LR span across calls, must save across calls 
       //
-      LR->markForSaveAcrossCalls();       
       if (DEBUG_RA)
         std::cerr << "\n  Colored after SECOND search with col " << c;
     }
@@ -306,7 +305,6 @@
 
   if (ColorFound >= 0) {
     LR->setColor(ColorFound);         // first color found in preferred order
-    LR->markForSaveAcrossCalls();  
   } else {
     // we are here because no color could be found
     LR->markForSpill();               // no color found - must spill





More information about the llvm-commits mailing list