1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Other/optimize-options.ll
Alp Toker c85bedbb15 Provide a test input for opt
This was only working previously due to a quirk in the way lit
concatenates script commands.

llvm-svn: 194078
2013-11-05 13:57:34 +00:00

9 lines
427 B
LLVM

;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