diff options
author | Arthur Eubanks <aeubanks@google.com> | 2020-10-22 22:26:21 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2020-10-29 18:17:55 -0700 |
commit | d673beee55c56a2240527824ab99c8f578db938e (patch) | |
tree | 6f014ac142ea242cfed870d684636060dde63f58 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 9d93b150c9164b9c7acef8090c83eba48aea5f73 (diff) | |
download | llvm-d673beee55c56a2240527824ab99c8f578db938e.zip llvm-d673beee55c56a2240527824ab99c8f578db938e.tar.gz llvm-d673beee55c56a2240527824ab99c8f578db938e.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions