From 7c06c0aeee7d8d84d5af27bd5bc43535f87d7b93 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Fri, 27 Aug 2004 18:01:21 +0000 Subject: [PATCH] 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 --- lib/CodeGen/RegAllocIterativeScan.cpp | 2 ++ lib/CodeGen/RegAllocLinearScan.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/CodeGen/RegAllocIterativeScan.cpp b/lib/CodeGen/RegAllocIterativeScan.cpp index 764c884fafe..ef57a689894 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(); + AU.addRequired(); MachineFunctionPass::getAnalysisUsage(AU); } diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index b9af3970e0e..4b878d964f6 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(); + AU.addRequired(); MachineFunctionPass::getAnalysisUsage(AU); }