[PM] Port SimplifyCFG to the new pass manager.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 11:34:21 +0000 (11:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 1 Feb 2015 11:34:21 +0000 (11:34 +0000)
commit9a941b2028bb3b2d3cf9ef0be1585b44843931b5
treea35a5ec373147226e2a6a0f22b3deaed788c36d8
parent80c55f265d1a68b7f03845a3e9356447f7d258c8
[PM] Port SimplifyCFG to the new pass manager.

This should be sufficient to replace the initial (minor) function pass
pipeline in Clang with the new pass manager. I'll probably add an (off
by default) flag to do that just to ensure we can get extra testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227726 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Scalar/SimplifyCFG.h [new file with mode: 0644]
lib/Transforms/Scalar/SimplifyCFGPass.cpp
test/Transforms/SimplifyCFG/basictest.ll
tools/opt/PassRegistry.def
tools/opt/Passes.cpp