aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-07 17:34:39 +0000
committerChris Lattner <sabre@nondot.org>2005-09-07 17:34:39 +0000
commitdc6e2e0a5f3ee81d85922790aaedc80740820a8b (patch)
treefa5e14a4e4b65639ee49a158d2f754b9a236e74f /lib/CodeGen/LiveIntervalAnalysis.cpp
parentf89d78d7c7c93e83c0f19ecabc16cef4ba748d61 (diff)
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
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index bac4b70d75..25642263b0 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -62,7 +62,6 @@ namespace {
void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const
{
- AU.addPreserved<LiveVariables>();
AU.addRequired<LiveVariables>();
AU.addPreservedID(PHIEliminationID);
AU.addRequiredID(PHIEliminationID);