OSDN Git Service

[PM] Add a collection of no-op analysis passes and switch the new pass
authorChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jan 2015 02:50:06 +0000 (02:50 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 6 Jan 2015 02:50:06 +0000 (02:50 +0000)
commit5b12a2f70388b0578ed4acf885bbca008aaa2cd9
tree1960e7470f9f9b0d5528e9e50cf042d3ac546c0c
parent2e306caf394859e3fbc3d153c7589ddf698dcc54
[PM] Add a collection of no-op analysis passes and switch the new pass
manager tests to use them and be significantly more comprehensive.

This, naturally, uncovered a bug where the CGSCC pass manager wasn't
printing analyses when they were run.

The only remaining core manipulator is I think an invalidate pass
similar to the require pass. That'll be next. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225240 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CGSCCPassManager.cpp
test/Other/new-pass-manager.ll
tools/opt/PassRegistry.def
tools/opt/Passes.cpp