diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2021-07-08 14:12:19 +0200 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2021-07-09 09:47:33 +0200 |
commit | 1db2551cc1a356a67c0967f424d6158e2ea127e3 (patch) | |
tree | 011c1104c019425ca8fa3dfc5810785f95b2659f /llvm/lib/Support/Threading.cpp | |
parent | 472462c4723978db5a09c0058ddec025e6a6a94b (diff) | |
download | llvm-1db2551cc1a356a67c0967f424d6158e2ea127e3.zip llvm-1db2551cc1a356a67c0967f424d6158e2ea127e3.tar.gz llvm-1db2551cc1a356a67c0967f424d6158e2ea127e3.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions