[NewPM] Rename 'unswitch' to 'simple-loop-unswitch' in PassRegistry
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Thu, 8 Jul 2021 12:12:19 +0000 (14:12 +0200)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Fri, 9 Jul 2021 07:47:33 +0000 (09:47 +0200)
commit1db2551cc1a356a67c0967f424d6158e2ea127e3
tree011c1104c019425ca8fa3dfc5810785f95b2659f
parent472462c4723978db5a09c0058ddec025e6a6a94b
[NewPM] Rename 'unswitch' to 'simple-loop-unswitch' in PassRegistry

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.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D105628
28 files changed:
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