[PM] Teach PreservedAnalyses to have an `allInSet` static factory
authorChandler Carruth <chandlerc@gmail.com>
Sun, 9 Jul 2017 07:23:27 +0000 (07:23 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 9 Jul 2017 07:23:27 +0000 (07:23 +0000)
commit9c3506547e37cb2a9ab2dd3696c3eb681fa70642
tree6c891d20fb729a1b71caee9d07b41f8cd75de11a
parentfde4723ebead58f0342ae88abd1cc5ad795a5e5b
[PM] Teach PreservedAnalyses to have an `allInSet` static factory
function template to simplify building a quick object with a set marked
as preserved.

llvm-svn: 307493
llvm/include/llvm/IR/PassManager.h
llvm/unittests/IR/PassManagerTest.cpp