From b8bcb086f7d4a74c40661c5c18134533a3f69fc9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 21 May 2002 20:04:15 +0000 Subject: [PATCH] Expose CFG simplification pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2696 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 898b604da94..5161ac708ad 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -151,6 +151,14 @@ Pass *createPromoteMemoryToRegister(); Pass *createReassociatePass(); +//===----------------------------------------------------------------------===// +// +// CFG Simplification - Merge basic blocks, eliminate unreachable blocks, +// simplify terminator instructions, etc... +// +Pass *createCFGSimplificationPass(); + + //===----------------------------------------------------------------------===// // // These functions removes symbols from functions and modules.