[PATCH] D105628: [NewPM] Rename 'unswitch' to 'simple-loop-unswitch' in PassRegistry

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 06:24:23 PDT 2021


bjope created this revision.
bjope added reviewers: ychen, aeubanks.
Herald added subscribers: ormris, asbirlea, george.burgess.iv, hiraditya.
bjope requested review of this revision.
Herald added a project: LLVM.

It is confusing to have two ways of specifying the same pass
('simple-loop-unswitch' and 'unswitch'). This patch replaces
'unswitch' by 'simple-loop-unswitch' to get a unique identifier.

Using 'simple-loop-unswitch' instead of 'unswitch' also has the
advantage of matching how the pass is named in DEBUG_TYPE etc. So
this makes it a bit more consistent how we refer to the pass in
options such as -passes, -print-after and -debug-only.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105628

Files:
  llvm/lib/Passes/PassRegistry.def
  llvm/test/Analysis/MemorySSA/update-remove-dead-blocks.ll
  llvm/test/Other/print-before-after.ll
  llvm/test/Other/print-passes.ll
  llvm/test/Transforms/SimpleLoopUnswitch/basictest-profmd.ll
  llvm/test/Transforms/SimpleLoopUnswitch/basictest.ll
  llvm/test/Transforms/SimpleLoopUnswitch/dead-blocks-uses-in-unreachablel-blocks.ll
  llvm/test/Transforms/SimpleLoopUnswitch/delete-dead-blocks.ll
  llvm/test/Transforms/SimpleLoopUnswitch/endless-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch-nested2.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-nontrivial-unswitch2.ll
  llvm/test/Transforms/SimpleLoopUnswitch/exponential-switch-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/guards.ll
  llvm/test/Transforms/SimpleLoopUnswitch/implicit-null-checks.ll
  llvm/test/Transforms/SimpleLoopUnswitch/msan.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-redundant-switch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/not-safe-to-clone.ll
  llvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch-mssa-threshold.ll
  llvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch-update-memoryssa.ll
  llvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-iteration.ll
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-profmd.ll
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll
  llvm/test/Transforms/SimpleLoopUnswitch/update-scev.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105628.357206.patch
Type: text/x-patch
Size: 42738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210708/9a5a12b9/attachment.bin>


More information about the llvm-commits mailing list