Skip to content

Commit

Permalink
Provide a test input for opt
Browse files Browse the repository at this point in the history
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
  • Loading branch information
atoker committed Nov 5, 2013
1 parent a83342b commit 04ae34b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/Other/optimize-options.ll
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
;RUN: opt -S -O1 -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -O2 -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -Os -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -Oz -debug-pass=Arguments 2>&1 | FileCheck %s
;RUN: opt -S -O3 -debug-pass=Arguments 2>&1 | FileCheck %s
;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 opton.
; Just check that we get a non-empty set of passes for each -O option.
;CHECK: Pass Arguments: {{.*}} -print-module

0 comments on commit 04ae34b

Please sign in to comment.