diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-08-27 18:01:21 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-08-27 18:01:21 +0000 |
commit | efd40bce75bcabd17554a92686692217a9ae6e6b (patch) | |
tree | 2bb0cbb8eecb0529a660c1063161eb2760e3c3bc /llvm/lib | |
parent | c561fc37319ba8d8ac620ca10d4252e002c28910 (diff) | |
download | bcm5719-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')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocIterativeScan.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocIterativeScan.cpp b/llvm/lib/CodeGen/RegAllocIterativeScan.cpp index 764c884fafe..ef57a689894 100644 --- a/llvm/lib/CodeGen/RegAllocIterativeScan.cpp +++ b/llvm/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/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); } |