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

Chris Lattner sabre at nondot.org
Tue Oct 17 15:12:32 PDT 2006



Changes in directory llvm/include/llvm/Target:

TargetInstrInfo.h updated: 1.94 -> 1.95
---
Log message:

update comment


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

 TargetInstrInfo.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.94 llvm/include/llvm/Target/TargetInstrInfo.h:1.95
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.94	Fri Oct 13 16:02:27 2006
+++ llvm/include/llvm/Target/TargetInstrInfo.h	Tue Oct 17 17:12:15 2006
@@ -276,9 +276,11 @@
   /// implemented for a target).  Upon success, this returns false and returns
   /// with the following information in various cases:
   ///
-  /// 1. If this block ends with only an unconditional branch, it sets TBB to be
+  /// 1. If this block ends with no branches (it just falls through to its succ)
+  ///    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.
-  /// 2. If this block ends with an conditional branch, it returns the 'true'
+  /// 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.






More information about the llvm-commits mailing list