update file comment.
authorChris Lattner <sabre@nondot.org>
Mon, 3 Dec 2007 19:43:18 +0000 (19:43 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 3 Dec 2007 19:43:18 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44543 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SimplifyCFG.cpp

index ed51746b3ce32a5e034dd589d1ba8ebf128ff895..259f4d162668dfee8aa4ea32f8347c99da663816 100644 (file)
@@ -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..
 //
 //===----------------------------------------------------------------------===//