From: Vikram S. Adve Date: Sun, 24 Mar 2002 03:54:03 +0000 (+0000) Subject: Destroy MethodLiveVarInfo after register allocation. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9c4f7268c6f149e0d81c7c1d24d73d944c1909ef;p=oota-llvm.git Destroy MethodLiveVarInfo after register allocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1976 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 1fbe5258b2c..b6a8ae1f25b 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -63,6 +63,7 @@ namespace { Pass::AnalysisSet &Provided) { Requires.push_back(cfg::LoopInfo::ID); Requires.push_back(MethodLiveVarInfo::ID); + Destroyed.push_back(MethodLiveVarInfo::ID); } }; } diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index 1fbe5258b2c..b6a8ae1f25b 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -63,6 +63,7 @@ namespace { Pass::AnalysisSet &Provided) { Requires.push_back(cfg::LoopInfo::ID); Requires.push_back(MethodLiveVarInfo::ID); + Destroyed.push_back(MethodLiveVarInfo::ID); } }; }