OSDN Git Service

SCCP doesn't actually preserve the CFG. It will delete and insert terminator
authorNick Lewycky <nicholas@mxc.ca>
Fri, 21 Jan 2011 08:38:09 +0000 (08:38 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 21 Jan 2011 08:38:09 +0000 (08:38 +0000)
instructions.

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

lib/Transforms/Scalar/SCCP.cpp

index b9340c7..c82e929 100644 (file)
@@ -1606,10 +1606,6 @@ namespace {
     // algorithm, and return true if the function was modified.
     //
     bool runOnFunction(Function &F);
-
-    virtual void getAnalysisUsage(AnalysisUsage &AU) const {
-      AU.setPreservesCFG();
-    }
   };
 } // end anonymous namespace