aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-03-24 03:54:03 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-03-24 03:54:03 +0000
commit9c4f7268c6f149e0d81c7c1d24d73d944c1909ef (patch)
tree11cf10f6ad97c84336e1ec7c3f16738b70cd8ecc
parent97fb99bc540c1b5611d85d09191f4c5311cf075a (diff)
Destroy MethodLiveVarInfo after register allocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1976 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/RegAlloc/PhyRegAlloc.cpp1
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index 1fbe5258b2..b6a8ae1f25 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 1fbe5258b2..b6a8ae1f25 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);
}
};
}