forked from OSchip/llvm-project
parent
5fa90e49a9
commit
38806c3e9c
llvm/lib/Transforms/Utils
|
@ -114,12 +114,12 @@ bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// SplitCriticalEdge - If this edge is a critical edge, insert a new node to
|
/// SplitCriticalEdge - If this edge is a critical edge, insert a new node to
|
||||||
// split the critical edge. This will update DominatorTree, and DominatorFrontier
|
/// split the critical edge. This will update DominatorTree and
|
||||||
// information if it is available, thus calling this pass will not invalidate
|
/// DominatorFrontier information if it is available, thus calling this pass
|
||||||
// any of them. This returns true if the edge was split, false otherwise.
|
/// will not invalidate any of them. This returns true if the edge was split,
|
||||||
// This ensures that all edges to that dest go to one block instead of each
|
/// false otherwise. This ensures that all edges to that dest go to one block
|
||||||
// going to a different block.
|
/// instead of each going to a different block.
|
||||||
//
|
//
|
||||||
bool llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P,
|
bool llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P,
|
||||||
bool MergeIdenticalEdges) {
|
bool MergeIdenticalEdges) {
|
||||||
|
|
Loading…
Reference in New Issue