[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp RegAllocIterativeScan.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Aug 27 11:01:31 PDT 2004



Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.88 -> 1.89
RegAllocIterativeScan.cpp updated: 1.12 -> 1.13
---
Log message:

Back out this change as it broke the build last night. This should be
investicated further as the linearscan variants don't really need
LiveVariables...


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

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.88 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.89
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.88	Thu Aug 26 23:51:13 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Fri Aug 27 13:01:21 2004
@@ -13,6 +13,7 @@
 
 #define DEBUG_TYPE "regalloc"
 #include "llvm/Function.h"
+#include "llvm/CodeGen/LiveVariables.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/CodeGen/Passes.h"
@@ -66,6 +67,7 @@
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.addRequired<LiveIntervals>();
+      AU.addRequired<LiveVariables>();
       MachineFunctionPass::getAnalysisUsage(AU);
     }
 


Index: llvm/lib/CodeGen/RegAllocIterativeScan.cpp
diff -u llvm/lib/CodeGen/RegAllocIterativeScan.cpp:1.12 llvm/lib/CodeGen/RegAllocIterativeScan.cpp:1.13
--- llvm/lib/CodeGen/RegAllocIterativeScan.cpp:1.12	Thu Aug 26 23:51:13 2004
+++ llvm/lib/CodeGen/RegAllocIterativeScan.cpp	Fri Aug 27 13:01:21 2004
@@ -19,6 +19,7 @@
 
 #define DEBUG_TYPE "regalloc"
 #include "llvm/Function.h"
+#include "llvm/CodeGen/LiveVariables.h"
 #include "llvm/CodeGen/MachineFunctionPass.h"
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/CodeGen/Passes.h"
@@ -68,6 +69,7 @@
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
       AU.addRequired<LiveIntervals>();
+      AU.addRequired<LiveVariables>();
       MachineFunctionPass::getAnalysisUsage(AU);
     }
 






More information about the llvm-commits mailing list