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 | ccdf21af1fe3cd0f2d8485e9da25e10c0cab7a9b (patch) | |
tree | 0a3d56e092c1c08ee83dd17418030ad8d0e7b76e /lib/CodeGen/RegAllocIterativeScan.cpp | |
parent | bd2efb96005c51f9088701843c5ee9032bd1ca76 (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
Diffstat (limited to 'lib/CodeGen/RegAllocIterativeScan.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocIterativeScan.cpp | 2 |
1 files changed, 2 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); } |