HomePhabricator

[PruneEH] Pin tests to legacy PM

Authored by aeubanks on Oct 22 2020, 10:26 PM.

Description

[PruneEH] Pin tests to legacy PM

prune-eh will not be ported to the NPM. Instead, a combination of
function-attrs and simplifycfg should be used (as described in
https://reviews.llvm.org/D44415).

This pins most tests using -prune-eh to the legacy PM. Some of these
were testing legacy PM infra (mostly the CGPassManager). Some of these
can be tested in the NPM using function-attrs and simplifycfg.

One interesting case is simplenoreturntest.ll. function-attrs +
simplifycfg does not yet make a caller of a caller of a noreturn
function end with unreachable like prune-eh does. That can be added in
the future.

Reviewed By: asbirlea

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

Details

Committed
aeubanksOct 29 2020, 6:17 PM
Reviewer
asbirlea
Differential Revision
D90012: [PruneEH] Pin tests to legacy PM
Parents
rG9d93b150c916: [AA] Pass query info.
Branches
Unknown
Tags
Unknown