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 | 36826bb460f085c67cff21f1b2f580e3dd5c7567 (patch) | |
tree | fe654220b601ae613018333112d4d09c66045d65 /lib/Transforms | |
parent | a99e43f7a5f1dbce16bcf807b253f72beb980abe (diff) | |
download | external_llvm-36826bb460f085c67cff21f1b2f580e3dd5c7567.zip external_llvm-36826bb460f085c67cff21f1b2f580e3dd5c7567.tar.gz external_llvm-36826bb460f085c67cff21f1b2f580e3dd5c7567.tar.bz2 |
update file comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/SimplifyCFG.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/SimplifyCFG.cpp b/lib/Transforms/Scalar/SimplifyCFG.cpp index ed51746..259f4d1 100644 --- a/lib/Transforms/Scalar/SimplifyCFG.cpp +++ b/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.. // //===----------------------------------------------------------------------===// |