summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-01-21 08:38:09 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-01-21 08:38:09 +0000
commitae0275e018f029eb8352ec4267f3f2b01d4d43da (patch)
tree80c4c0f09e790ae68a95ab215736dc3fa9261291 /llvm/lib
parente12c8a802fa0062deccae4ea2d034c5fb90fdccf (diff)
downloadbcm5719-llvm-ae0275e018f029eb8352ec4267f3f2b01d4d43da.tar.gz
bcm5719-llvm-ae0275e018f029eb8352ec4267f3f2b01d4d43da.zip
SCCP doesn't actually preserve the CFG. It will delete and insert terminator
instructions. llvm-svn: 123973
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index b9340c70993..c82e929b364 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/lib/Transforms/Scalar/SCCP.cpp
@@ -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
OpenPOWER on IntegriCloud