From 9c4f7268c6f149e0d81c7c1d24d73d944c1909ef Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sun, 24 Mar 2002 03:54:03 +0000 Subject: [PATCH] Destroy MethodLiveVarInfo after register allocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1976 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 1 + lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 1 + 2 files changed, 2 insertions(+) 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); } }; }