aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other/optimize-options.ll
blob: 22dd842cab069605182c0d3aa7cee9a923a2ca00 (plain)
1
2
3
4
5
6
7
8
;RUN: opt -S -O1 -debug-pass=Arguments %s 2>&1 | FileCheck %s
;RUN: opt -S -O2 -debug-pass=Arguments %s 2>&1 | FileCheck %s
;RUN: opt -S -Os -debug-pass=Arguments %s 2>&1 | FileCheck %s
;RUN: opt -S -Oz -debug-pass=Arguments %s 2>&1 | FileCheck %s
;RUN: opt -S -O3 -debug-pass=Arguments %s 2>&1 | FileCheck %s

; Just check that we get a non-empty set of passes for each -O option.
;CHECK: Pass Arguments: {{.*}} -print-module