[PATCH] D85360: [NewPM][LoopUnswitch] Pin loop-unswitch to legacy PM or use simple-loop-unswitch

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 13:58:16 PDT 2020


aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea.
Herald added subscribers: llvm-commits, george.burgess.iv.
Herald added a project: LLVM.
aeubanks requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85360

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85360.283386.patch
Type: text/x-patch
Size: 39558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/a0b566b9/attachment.bin>


More information about the llvm-commits mailing list