summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLinearScan.cpp
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 /lib/CodeGen/RegAllocLinearScan.cpp
parentbd2efb96005c51f9088701843c5ee9032bd1ca76 (diff)
downloadllvm-ccdf21af1fe3cd0f2d8485e9da25e10c0cab7a9b.tar.gz
llvm-ccdf21af1fe3cd0f2d8485e9da25e10c0cab7a9b.tar.bz2
llvm-ccdf21af1fe3cd0f2d8485e9da25e10c0cab7a9b.tar.xz
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
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}