From 72dc5852684bd56af68b3f344b295d9ff5c3a13f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 17 Oct 2006 22:12:15 +0000 Subject: [PATCH] update comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31023 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetInstrInfo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 35be6042e0c..794117058c8 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -276,9 +276,11 @@ public: /// 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. -- 2.34.1