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/CodeGen | |
| parent | c561fc37319ba8d8ac620ca10d4252e002c28910 (diff) | |
| download | llvm-efd40bce75bcabd17554a92686692217a9ae6e6b.zip llvm-efd40bce75bcabd17554a92686692217a9ae6e6b.tar.gz llvm-efd40bce75bcabd17554a92686692217a9ae6e6b.tar.bz2 | |
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')
| -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 764c884..ef57a68 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 b9af397..4b878d9 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); } |
