diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-07-04 01:09:45 +0000 | 
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-07-04 01:09:45 +0000 | 
| commit | 11d08b2e22e3a078f14611e0568ec5f065367d69 (patch) | |
| tree | 631e5b6889c186a5f6888969ce995cc6bade5d47 /llvm | |
| parent | 43c555dfcd76004d56ba03fd33ebbdba09f58d47 (diff) | |
| download | bcm5719-llvm-11d08b2e22e3a078f14611e0568ec5f065367d69.tar.gz bcm5719-llvm-11d08b2e22e3a078f14611e0568ec5f065367d69.zip  | |
Fix some ascii art in a comment to not have trailing backslashes (inspiration
from IfConversion.cc), and fix some spelling and grammar in the surrounding
prose.
llvm-svn: 159699
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/CodeGen/EarlyIfConversion.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/EarlyIfConversion.cpp b/llvm/lib/CodeGen/EarlyIfConversion.cpp index e4c7ceb5477..f575b249aa1 100644 --- a/llvm/lib/CodeGen/EarlyIfConversion.cpp +++ b/llvm/lib/CodeGen/EarlyIfConversion.cpp @@ -52,21 +52,21 @@ typedef SmallSetVector<MachineBasicBlock*, 8> BlockSetVector;  //===----------------------------------------------------------------------===//  //  // The SSAIfConv class performs if-conversion on SSA form machine code after -// determining if it is possible. The class contains no heuristics, external +// determining if it is possible. The class contains no heuristics; external  // code should be used to determine when if-conversion is a good idea.  // -// SSAIfConv con convert both triangles and diamonds: +// SSAIfConv can convert both triangles and diamonds:  //  //   Triangle: Head              Diamond: Head -//              | \                       /  \ -//              |  \                     /    \ +//              | \                       /  \_ +//              |  \                     /    |  //              |  [TF]BB              FBB    TBB  //              |  /                     \    /  //              | /                       \  /  //             Tail                       Tail  //  // Instructions in the conditional blocks TBB and/or FBB are spliced into the -// Head block, and phis in the Tail black are converted to select instruction. +// Head block, and phis in the Tail block are converted to select instructions.  //  namespace {  class SSAIfConv {  | 

