[NewPM] Pin tests with -debug-pass to legacy PM
authorArthur Eubanks <aeubanks@google.com>
Fri, 18 Sep 2020 20:52:11 +0000 (13:52 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 23 Sep 2020 00:54:25 +0000 (17:54 -0700)
commit61ac58e10ae1fbb18416cac20119725803b9ad6f
treea21b6c8ec76d240158c8aa44ee596a51d162caf0
parent64435a427a01a61574a59824ea0a4949a80b11e6
[NewPM] Pin tests with -debug-pass to legacy PM

-debug-pass is a legacy PM only option.

Some tests checks that the pass returned that it made a change,
which is not relevant to the NPM, since passes return PreservedAnalyses.

Some tests check that passes are freed at the proper time, which is also
not relevant to the NPM.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D87945
llvm/test/Analysis/BasicAA/phi-values-usage.ll
llvm/test/Analysis/alias-analysis-uses.ll
llvm/test/Transforms/Coroutines/smoketest.ll
llvm/test/Transforms/GVN/preserve-analysis.ll
llvm/test/Transforms/InstCombine/early_constfold_changes_IR.ll
llvm/test/Transforms/InstSimplify/remove-dead-call.ll
llvm/test/Transforms/SCCP/preserve-analysis.ll
llvm/test/Transforms/SimplifyCFG/two-entry-phi-fold-crash.ll