llvm-6502/test/Other/optimize-options.ll
Alp Toker 04ae34b0aa Provide a test input for opt
This was only working previously due to a quirk in the way lit
concatenates script commands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194078 91177308-0d34-0410-b5e6-96231b3b80d8
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