1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/Other/optimize-options.ll

9 lines
427 B
LLVM
Raw Normal View History

;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