diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index d408bee19fd..8a29079835b 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -175,6 +175,14 @@ Pass *createReassociatePass(); // Pass *createCorrelatedExpressionEliminationPass(); +//===----------------------------------------------------------------------===// +// +// TailDuplication - Eliminate unconditional branches through controlled code +// duplication, creating simpler CFG structures. +// +Pass *createTailDuplicationPass(); + + //===----------------------------------------------------------------------===// // // CFG Simplification - Merge basic blocks, eliminate unreachable blocks, @@ -182,6 +190,7 @@ Pass *createCorrelatedExpressionEliminationPass(); // Pass *createCFGSimplificationPass(); + //===----------------------------------------------------------------------===// // // BreakCriticalEdges pass - Break all of the critical edges in the CFG by