diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-03 19:43:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-03 19:43:18 +0000 |
commit | 19970e62e762dbec54f860826b48a6ca0fa34c31 (patch) | |
tree | 87cb88c3970b8df53447bbc9791217ef8b0350e2 | |
parent | 9c9405f4ef756e8218ddf03caeeab04d9752b6f6 (diff) | |
download | bcm5719-llvm-19970e62e762dbec54f860826b48a6ca0fa34c31.tar.gz bcm5719-llvm-19970e62e762dbec54f860826b48a6ca0fa34c31.zip |
update file comment.
llvm-svn: 44543
-rw-r--r-- | llvm/lib/Transforms/Scalar/SimplifyCFG.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp index ed51746b3ce..259f4d16266 100644 --- a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp +++ b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp @@ -7,14 +7,17 @@ // //===----------------------------------------------------------------------===// // -// This file implements dead code elimination and basic block merging. -// Specifically: +// This file implements dead code elimination and basic block merging, along +// with a collection of other peephole control flow optimizations. For example: // // * Removes basic blocks with no predecessors. // * Merges a basic block into its predecessor if there is only one and the // predecessor only has one successor. // * Eliminates PHI nodes for basic blocks with a single predecessor. // * Eliminates a basic block that only contains an unconditional branch. +// * Changes invoke instructions to nounwind functions to be calls. +// * Change things like "if (x) if (y)" into "if (x&y)". +// * etc.. // //===----------------------------------------------------------------------===// |