MachineLICM should not claim to be preserving the CFG when it can split critical
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 1 Nov 2010 23:59:55 +0000 (23:59 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 1 Nov 2010 23:59:55 +0000 (23:59 +0000)
edges on demand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117982 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineLICM.cpp

index 2308ee6010f2279607feb0c8ffc9b0984af3daa0..811c86cfd8fee79520bc43b0e20b121fb7a96e5e 100644 (file)
@@ -109,7 +109,6 @@ namespace {
     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>();