[llvm-commits] [llvm] r117982 - /llvm/trunk/lib/CodeGen/MachineLICM.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Nov 1 16:59:55 PDT 2010


Author: stoklund
Date: Mon Nov  1 18:59:55 2010
New Revision: 117982

URL: http://llvm.org/viewvc/llvm-project?rev=117982&view=rev
Log:
MachineLICM should not claim to be preserving the CFG when it can split critical
edges on demand.

Modified:
    llvm/trunk/lib/CodeGen/MachineLICM.cpp

Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineLICM.cpp?rev=117982&r1=117981&r2=117982&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineLICM.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineLICM.cpp Mon Nov  1 18:59:55 2010
@@ -109,7 +109,6 @@
     const char *getPassName() const { return "Machine Instruction LICM"; }
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {
-      AU.setPreservesCFG();
       AU.addRequired<MachineLoopInfo>();
       AU.addRequired<MachineDominatorTree>();
       AU.addRequired<AliasAnalysis>();





More information about the llvm-commits mailing list