[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)
commit0b576b377f8b3bc2166179b9d141c4237725fdf7
tree115be45d58536bf1f6edb3ce36e1db4c3c469a23
parentbdbdd3fd4e79589b172ee41d4694b8b6a2d6da73
[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. =]

llvm-svn: 225240
llvm/lib/Analysis/CGSCCPassManager.cpp
llvm/test/Other/new-pass-manager.ll
llvm/tools/opt/PassRegistry.def
llvm/tools/opt/Passes.cpp