[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

Evan Cheng evan.cheng at apple.com
Tue May 15 22:09:52 PDT 2007



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.116 -> 1.117
---
Log message:

Fix comments.

---
Diffs of the changes:  (+10 -4)

 TargetInstrInfo.h |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.116 llvm/include/llvm/Target/TargetInstrInfo.h:1.117
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.116	Tue May 15 20:58:56 2007
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Wed May 16 00:09:34 2007
@@ -329,10 +329,16 @@
   ///    just return false, leaving TBB/FBB null.
   /// 2. If this block ends with only an unconditional branch, it sets TBB to be
   ///    the destination block.
-  /// 3. If this block ends with an conditional branch, it returns the 'true'
-  ///    destination in TBB, the 'false' destination in FBB, and a list of
-  ///    operands that evaluate the condition.  These operands can be passed to
-  ///    other TargetInstrInfo methods to create new branches.
+  /// 3. If this block ends with an conditional branch and it falls through to
+  ///    an successor block, it sets TBB to be the branch destination block and a
+  ///    list of operands that evaluate the condition. These
+  ///    operands can be passed to other TargetInstrInfo methods to create new
+  ///    branches.
+  /// 4. If this block ends with an conditional branch and an unconditional
+  ///    block, it returns the 'true' destination in TBB, the 'false' destination
+  ///    in FBB, and a list of operands that evaluate the condition. These
+  ///    operands can be passed to other TargetInstrInfo methods to create new
+  ///    branches.
   ///
   /// Note that RemoveBranch and InsertBranch must be implemented to support
   /// cases where this method returns success.






More information about the llvm-commits mailing list