[all-commits] [llvm/llvm-project] d673be: [PruneEH] Pin tests to legacy PM

aeubanks via All-commits all-commits at lists.llvm.org
Thu Oct 29 18:25:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d673beee55c56a2240527824ab99c8f578db938e
      https://github.com/llvm/llvm-project/commit/d673beee55c56a2240527824ab99c8f578db938e
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list