[PATCH] D90012: [PruneEH] Pin tests to legacy PM

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 22:34:11 PDT 2020


aeubanks created this revision.
aeubanks added a reviewer: asbirlea.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
aeubanks requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90012

Files:
  llvm/test/Other/2009-03-31-CallGraph.ll
  llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll
  llvm/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll
  llvm/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll
  llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll
  llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll
  llvm/test/Transforms/JumpThreading/pr26096.ll
  llvm/test/Transforms/PruneEH/2008-06-02-Weak.ll
  llvm/test/Transforms/PruneEH/ipo-nounwind.ll
  llvm/test/Transforms/PruneEH/looptest.ll
  llvm/test/Transforms/PruneEH/musttail.ll
  llvm/test/Transforms/PruneEH/operand-bundles.ll
  llvm/test/Transforms/PruneEH/pr23971.ll
  llvm/test/Transforms/PruneEH/pr26263.ll
  llvm/test/Transforms/PruneEH/recursivetest.ll
  llvm/test/Transforms/PruneEH/seh-nounwind.ll
  llvm/test/Transforms/PruneEH/simplenoreturntest.ll
  llvm/test/Transforms/PruneEH/simpletest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90012.300167.patch
Type: text/x-patch
Size: 9121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201023/661afcc2/attachment.bin>


More information about the llvm-commits mailing list