From: Chris Lattner Date: Wed, 7 Sep 2005 17:34:39 +0000 (+0000) Subject: Fix a bug that Tzu-Chien Chiu noticed: live interval analysis does NOT X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc6e2e0a5f3ee81d85922790aaedc80740820a8b;p=oota-llvm.git Fix a bug that Tzu-Chien Chiu noticed: live interval analysis does NOT preserve livevar git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23259 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index bac4b70d75b..25642263b0d 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -62,7 +62,6 @@ namespace { void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const { - AU.addPreserved(); AU.addRequired(); AU.addPreservedID(PHIEliminationID); AU.addRequiredID(PHIEliminationID);