[PM] Make default pipeline test for the new PM strict
authorMichael Kuperstein <mkuper@google.com>
Thu, 19 Jan 2017 22:55:46 +0000 (22:55 +0000)
committerMichael Kuperstein <mkuper@google.com>
Thu, 19 Jan 2017 22:55:46 +0000 (22:55 +0000)
commit5a52af0f63af33ceca08ac39f04738f37bd746ea
tree8aa7d304783af4c86da9e7740b45d622b29c9bdb
parente036df47235d5f351767ffff82eb89f1e7a3b973
[PM] Make default pipeline test for the new PM strict

Use CHECK-NEXT to verify that a test breaks whenever unexpected passes,
analyses, or invalidations show up in default pipelines. The test case
is constructed so that we don't expect to invalidate anything, and needs
to be kept that way.

(Right now it does show some invalidations - all of those are intentional
and temporary.)

Differential Revision: https://reviews.llvm.org/D28887

llvm-svn: 292530
llvm/test/Other/new-pass-manager.ll
llvm/test/Other/new-pm-defaults.ll [new file with mode: 0644]