update file comment.

llvm-svn: 44543
This commit is contained in:
Chris Lattner 2007-12-03 19:43:18 +00:00
parent 9c9405f4ef
commit 19970e62e7
1 changed files with 5 additions and 2 deletions

View File

@ -7,14 +7,17 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This file implements dead code elimination and basic block merging. // This file implements dead code elimination and basic block merging, along
// Specifically: // with a collection of other peephole control flow optimizations. For example:
// //
// * Removes basic blocks with no predecessors. // * Removes basic blocks with no predecessors.
// * Merges a basic block into its predecessor if there is only one and the // * Merges a basic block into its predecessor if there is only one and the
// predecessor only has one successor. // predecessor only has one successor.
// * Eliminates PHI nodes for basic blocks with a single predecessor. // * Eliminates PHI nodes for basic blocks with a single predecessor.
// * Eliminates a basic block that only contains an unconditional branch. // * 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..
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//