aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetInstrInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-24 17:41:22 +0000
committerChris Lattner <sabre@nondot.org>2006-10-24 17:41:22 +0000
commit33644ba8d22a91b8fe0f0da3d73fc7cf38a46b06 (patch)
tree9a64802ec75792e3aa97993bb446c4c0d4d750c6 /include/llvm/Target/TargetInstrInfo.h
parentbacf9f48886c78ba7c27b8590db7c8b3ebb13acc (diff)
downloadexternal_llvm-33644ba8d22a91b8fe0f0da3d73fc7cf38a46b06.zip
external_llvm-33644ba8d22a91b8fe0f0da3d73fc7cf38a46b06.tar.gz
external_llvm-33644ba8d22a91b8fe0f0da3d73fc7cf38a46b06.tar.bz2
update comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index fefa0c6..9e269f3 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -309,8 +309,9 @@ public:
/// InsertBranch - Insert a branch into the end of the specified
/// MachineBasicBlock. This operands to this method are the same as those
- /// returned by AnalyzeBranch. This nis invoked in cases where AnalyzeBranch
- /// returns success.
+ /// returned by AnalyzeBranch. This is invoked in cases where AnalyzeBranch
+ /// returns success and when an unconditional branch (TBB is non-null, FBB is
+ /// null, Cond is empty) needs to be inserted.
virtual void InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
MachineBasicBlock *FBB,
const std::vector<MachineOperand> &Cond) const {