aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-08-27 18:01:21 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-08-27 18:01:21 +0000
commitccdf21af1fe3cd0f2d8485e9da25e10c0cab7a9b (patch)
tree0a3d56e092c1c08ee83dd17418030ad8d0e7b76e
parentbd2efb96005c51f9088701843c5ee9032bd1ca76 (diff)
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... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16074 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/RegAllocIterativeScan.cpp2
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocIterativeScan.cpp b/lib/CodeGen/RegAllocIterativeScan.cpp
index 764c884faf..ef57a68989 100644
--- a/lib/CodeGen/RegAllocIterativeScan.cpp
+++ b/lib/CodeGen/RegAllocIterativeScan.cpp
@@ -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 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LiveIntervals>();
+ AU.addRequired<LiveVariables>();
MachineFunctionPass::getAnalysisUsage(AU);
}
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index b9af3970e0..4b878d964f 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -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 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LiveIntervals>();
+ AU.addRequired<LiveVariables>();
MachineFunctionPass::getAnalysisUsage(AU);
}