Destroy MethodLiveVarInfo after register allocation.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 24 Mar 2002 03:54:03 +0000 (03:54 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 24 Mar 2002 03:54:03 +0000 (03:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1976 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp

index 1fbe5258b2c48fe189154d8a22dcd5c9303656bd..b6a8ae1f25b1b7017bf27ce49e48e0167e0982cf 100644 (file)
@@ -63,6 +63,7 @@ namespace {
                                       Pass::AnalysisSet &Provided) {
       Requires.push_back(cfg::LoopInfo::ID);
       Requires.push_back(MethodLiveVarInfo::ID);
+      Destroyed.push_back(MethodLiveVarInfo::ID);
     }
   };
 }
index 1fbe5258b2c48fe189154d8a22dcd5c9303656bd..b6a8ae1f25b1b7017bf27ce49e48e0167e0982cf 100644 (file)
@@ -63,6 +63,7 @@ namespace {
                                       Pass::AnalysisSet &Provided) {
       Requires.push_back(cfg::LoopInfo::ID);
       Requires.push_back(MethodLiveVarInfo::ID);
+      Destroyed.push_back(MethodLiveVarInfo::ID);
     }
   };
 }