[all-commits] [llvm/llvm-project] d0acd9: [NewPM][LoopUnswitch] Pin loop-unswitch to legacy ...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Aug 6 10:56:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d0acd97c68eceada71a96173bdff745dd4307038
      https://github.com/llvm/llvm-project/commit/d0acd97c68eceada71a96173bdff745dd4307038
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-08-06 (Thu, 06 Aug 2020)

  Changed paths:
    M llvm/test/Analysis/AliasSet/unknown-inst-tracking.ll
    M llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll
    M llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll
    M llvm/test/Analysis/MemorySSA/loop-unswitch.ll
    M llvm/test/Analysis/MemorySSA/pr39197.ll
    M llvm/test/Analysis/MemorySSA/pr40749_2.ll
    M llvm/test/Other/2007-09-10-PassManager.ll
    M llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll
    M llvm/test/Transforms/LCSSA/2007-07-12-LICM-2.ll
    M llvm/test/Transforms/LCSSA/2007-07-12-LICM-3.ll
    M llvm/test/Transforms/LCSSA/2007-07-12-LICM.ll
    M llvm/test/Transforms/LICM/2007-07-30-AliasSet.ll
    M llvm/test/Transforms/LICM/Preserve-LCSSA.ll
    M llvm/test/Transforms/LICM/pr32129.ll
    M llvm/test/Transforms/LoopDeletion/2008-05-06-Phi.ll
    M llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll
    M llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll
    M llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll
    M llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll
    M llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll
    M llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll
    M llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll
    M llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll
    M llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll
    M llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll
    M llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll
    M llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll
    M llvm/test/Transforms/LoopUnswitch/2010-11-18-LCSSA.ll
    M llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll
    M llvm/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll
    M llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll
    M llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll
    M llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll
    M llvm/test/Transforms/LoopUnswitch/2012-04-02-IndirectBr.ll
    M llvm/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll
    M llvm/test/Transforms/LoopUnswitch/2012-05-20-Phi.ll
    M llvm/test/Transforms/LoopUnswitch/2015-06-17-Metadata.ll
    M llvm/test/Transforms/LoopUnswitch/2015-09-18-Addrspace.ll
    M llvm/test/Transforms/LoopUnswitch/LIV-loop-condtion.ll
    M llvm/test/Transforms/LoopUnswitch/basictest.ll
    M llvm/test/Transforms/LoopUnswitch/callbr.ll
    M llvm/test/Transforms/LoopUnswitch/cleanuppad.ll
    M llvm/test/Transforms/LoopUnswitch/copy-metadata.ll
    M llvm/test/Transforms/LoopUnswitch/crash.ll
    M llvm/test/Transforms/LoopUnswitch/elseif-non-exponential-behavior.ll
    M llvm/test/Transforms/LoopUnswitch/exponential-behavior.ll
    M llvm/test/Transforms/LoopUnswitch/guards.ll
    M llvm/test/Transforms/LoopUnswitch/infinite-loop.ll
    M llvm/test/Transforms/LoopUnswitch/invalidate-scev.ll
    M llvm/test/Transforms/LoopUnswitch/msan.ll
    M llvm/test/Transforms/LoopUnswitch/pr32818.ll
    M llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll
    M llvm/test/Transforms/LoopUnswitch/simplify-with-nonvalness.ll
    M llvm/test/Transforms/LoopUnswitch/trivial-unswitch.ll
    M llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll
    M llvm/test/Transforms/LoopUnswitch/unswitch-select.ll

  Log Message:
  -----------
  [NewPM][LoopUnswitch] Pin loop-unswitch to legacy PM or use simple-loop-unswitch

As mentioned in
http://lists.llvm.org/pipermail/llvm-dev/2020-July/143395.html,
loop-unswitch has not been ported to the NPM. Instead people are using
simple-loop-unswitch.

Pin all tests in Transforms/LoopUnswitch to legacy PM and replace all
other uses of loop-unswitch with simple-loop-unswitch.

One test that didn't fit into the above was
2014-06-21-congruent-constant.ll which seems to only pass with
loop-unswitch. That is also pinned to legacy PM.

Now all tests containing "-loop-unswitch" anywhere in the test succeed with
NPM turned on by default.

Reviewed By: ychen

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




More information about the All-commits mailing list