]> granicus.if.org Git - llvm/commit
[PM] Make default pipeline test for the new PM strict
authorMichael Kuperstein <mkuper@google.com>
Thu, 19 Jan 2017 23:39:28 +0000 (23:39 +0000)
committerMichael Kuperstein <mkuper@google.com>
Thu, 19 Jan 2017 23:39:28 +0000 (23:39 +0000)
commit92c056e8b3851e5ded24c6eec946be24d9e49277
tree1eaacf1046896c168adc3a7b16b82a880b811622
parent1efbd52b3e5bcc03630af336bbbe0644c5005665
[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.

The test is slightly less strict than we'd like because of differences
in type pretty-printing.

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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292536 91177308-0d34-0410-b5e6-96231b3b80d8
test/Other/new-pass-manager.ll
test/Other/new-pm-defaults.ll [new file with mode: 0644]