Fix a bug that Tzu-Chien Chiu noticed: live interval analysis does NOT
authorChris Lattner <sabre@nondot.org>
Wed, 7 Sep 2005 17:34:39 +0000 (17:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Sep 2005 17:34:39 +0000 (17:34 +0000)
preserve livevar

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23259 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index bac4b70d75b2409c67f27ccd4610801e91a75cda..25642263b0d88512767b4ec5049b280880d2218b 100644 (file)
@@ -62,7 +62,6 @@ namespace {
 
 void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const
 {
-  AU.addPreserved<LiveVariables>();
   AU.addRequired<LiveVariables>();
   AU.addPreservedID(PHIEliminationID);
   AU.addRequiredID(PHIEliminationID);