aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-05-29 18:35:21 +0000
committerOwen Anderson <resistor@mac.com>2008-05-29 18:35:21 +0000
commitfcc6350ac9b99d6590f5256d26bfa489b4531fb3 (patch)
treec25f44ec87502554bfd30e7c64792d2e8b5b6004
parentb372d59a113c2dae24483c03884e4e8705028021 (diff)
downloadexternal_llvm-fcc6350ac9b99d6590f5256d26bfa489b4531fb3.zip
external_llvm-fcc6350ac9b99d6590f5256d26bfa489b4531fb3.tar.gz
external_llvm-fcc6350ac9b99d6590f5256d26bfa489b4531fb3.tar.bz2
Revert part of my last patch that I didn't intend to commit yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51694 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 228c0a9..2163bae 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -58,6 +58,8 @@ void LiveIntervals::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LiveVariables>();
AU.addPreservedID(MachineLoopInfoID);
AU.addPreservedID(MachineDominatorsID);
+ AU.addPreservedID(PHIEliminationID);
+ AU.addRequiredID(PHIEliminationID);
AU.addRequiredID(TwoAddressInstructionPassID);
MachineFunctionPass::getAnalysisUsage(AU);
}