Move StructurizeCFG out of R600 to generic Transforms.

Register it with PassManager

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault
2013-06-19 20:18:24 +00:00
parent 5a2fb058d3
commit ad966ea7a8
10 changed files with 113 additions and 70 deletions

View File

@@ -197,6 +197,12 @@ FunctionPass *createJumpThreadingPass();
//
FunctionPass *createCFGSimplificationPass();
//===----------------------------------------------------------------------===//
//
// CFG Structurization - Remove irreducible control flow
//
Pass *createStructurizeCFGPass();
//===----------------------------------------------------------------------===//
//
// BreakCriticalEdges - Break all of the critical edges in the CFG by inserting