1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Other/print-passes.ll
Bjorn Pettersson 9033ba7995 [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
2021-07-09 09:47:33 +02:00

27 lines
815 B
LLVM

; RUN: opt --print-passes | FileCheck %s
; CHECK: Module passes:
; CHECK: no-op-module
; CHECK: Module analyses:
; CHECK: no-op-module
; CHECK: Module alias analyses:
; CHECK: globals-aa
; CHECK: CGSCC passes:
; CHECK: no-op-cgscc
; CHECK: CGSCC analyses:
; CHECK: no-op-cgscc
; CHECK: Function passes:
; CHECK: no-op-function
; CHECK: Function passes with params:
; CHECK: loop-unroll<O0;O1;O2;O3;full-unroll-max=N;no-partial;partial;no-peeling;peeling;no-profile-peeling;profile-peeling;no-runtime;runtime;no-upperbound;upperbound>
; CHECK: Function analyses:
; CHECK: no-op-function
; CHECK: Function alias analyses:
; CHECK: basic-aa
; CHECK: Loop passes:
; CHECK: no-op-loop
; CHECK: Loop passes with params:
; CHECK: simple-loop-unswitch<no-nontrivial;nontrivial>
; CHECK: Loop analyses:
; CHECK: no-op-loop