summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Utils/BasicBlockUtils.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-03 19:18:54 +0000
committerChris Lattner <sabre@nondot.org>2008-12-03 19:18:54 +0000
commit7c99f493689f05d8e87f8060d1a7b774e8fd5bbf (patch)
tree7e7197889077b0bfb8545ba4e34662232d876966 /include/llvm/Transforms/Utils/BasicBlockUtils.h
parentc54baa2d43730f1804acfb4f4e738fba72f966bd (diff)
downloadllvm-7c99f493689f05d8e87f8060d1a7b774e8fd5bbf.tar.gz
llvm-7c99f493689f05d8e87f8060d1a7b774e8fd5bbf.tar.bz2
llvm-7c99f493689f05d8e87f8060d1a7b774e8fd5bbf.tar.xz
fix a really incorrect comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/BasicBlockUtils.h')
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h
index d6140ae2a5..6dd92dd71f 100644
--- a/include/llvm/Transforms/Utils/BasicBlockUtils.h
+++ b/include/llvm/Transforms/Utils/BasicBlockUtils.h
@@ -94,10 +94,10 @@ bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
/// will not invalidate either of them. This returns true if the edge was split,
/// false otherwise.
///
-/// If MergeIdenticalEdges is true (the default), *all* edges from TI to the
+/// If MergeIdenticalEdges is true (not the default), *all* edges from TI to the
/// specified successor will be merged into the same critical edge block.
/// This is most commonly interesting with switch instructions, which may
-/// have many edges to any one destination. This ensures that all edges to that
+/// have many edges to any one destination. This ensures that all edges to that
/// dest go to one block instead of each going to a different block, but isn't
/// the standard definition of a "critical edge".
///