1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Other/print-passes.ll
Arthur Eubanks 78dcef41e1 [NewPM][SimpleLoopUnswitch] Add option to not trivially unswitch
To help with debugging non-trivial unswitching issues.

Don't care about the legacy pass, nobody is using it.

If a pass's string params are empty (e.g. "simple-loop-unswitch"), don't
default to the empty constructor for the pass params. We should still
let the parser take care of it in case the parser has its own defaults.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D105933
2021-07-13 16:09:42 -07:00

27 lines
834 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<nontrivial;no-nontrivial;trivial;no-trivial>
; CHECK: Loop analyses:
; CHECK: no-op-loop