[llvm] r175596 - Add preservation of SlotIndexes to PHIElimination.
Cameron Zwarich
zwarich at apple.com
Tue Feb 19 22:46:28 PST 2013
Author: zwarich
Date: Wed Feb 20 00:46:28 2013
New Revision: 175596
URL: http://llvm.org/viewvc/llvm-project?rev=175596&view=rev
Log:
Add preservation of SlotIndexes to PHIElimination.
Modified:
llvm/trunk/lib/CodeGen/PHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/PHIElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PHIElimination.cpp?rev=175596&r1=175595&r2=175596&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PHIElimination.cpp (original)
+++ llvm/trunk/lib/CodeGen/PHIElimination.cpp Wed Feb 20 00:46:28 2013
@@ -116,6 +116,7 @@ INITIALIZE_PASS_END(PHIElimination, "phi
void PHIElimination::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addPreserved<LiveVariables>();
+ AU.addPreserved<SlotIndexes>();
AU.addPreserved<LiveIntervals>();
AU.addPreserved<MachineDominatorTree>();
AU.addPreserved<MachineLoopInfo>();
More information about the llvm-commits
mailing list