summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitefd40bce75bcabd17554a92686692217a9ae6e6b (patch)
tree2bb0cbb8eecb0529a660c1063161eb2760e3c3bc /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parentc561fc37319ba8d8ac620ca10d4252e002c28910 (diff)
downloadbcm5719-llvm-efd40bce75bcabd17554a92686692217a9ae6e6b.tar.gz
bcm5719-llvm-efd40bce75bcabd17554a92686692217a9ae6e6b.zip
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... llvm-svn: 16074
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index b9af3970e0e..4b878d964f6 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud