[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)
commitfdffd87d685e56f64fedb2761a169dd087966e70
treea7cf717b8f4bf1d3094e22d48b06fa843c3d3f4a
parente8c686aa867eafa9c6e5639c515228dcb65fe807
[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.

llvm-svn: 227726
llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h [new file with mode: 0644]
llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
llvm/test/Transforms/SimplifyCFG/basictest.ll
llvm/tools/opt/PassRegistry.def
llvm/tools/opt/Passes.cpp