[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
Chris Lattner
sabre at nondot.org
Fri Oct 27 23:58:33 PDT 2006
Changes in directory llvm/include/llvm/Transforms/Utils:
BasicBlockUtils.h updated: 1.14 -> 1.15
---
Log message:
add option to isCriticalEdge
---
Diffs of the changes: (+2 -1)
BasicBlockUtils.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
diff -u llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h:1.14 llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h:1.15
--- llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h:1.14 Sat Oct 28 01:44:56 2006
+++ llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h Sat Oct 28 01:58:17 2006
@@ -57,7 +57,8 @@
/// Critical edges are edges from a block with multiple successors to a block
/// with multiple predecessors.
///
-bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum);
+bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
+ bool AllowIdenticalEdges = false);
/// SplitCriticalEdge - If this edge is a critical edge, insert a new node to
/// split the critical edge. This will update DominatorSet, ImmediateDominator,
More information about the llvm-commits
mailing list