aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-11-05 13:57:34 +0000
committerAlp Toker <alp@nuanti.com>2013-11-05 13:57:34 +0000
commit04ae34b0aa918b97cc94c6ac3cf30bc19cd5471e (patch)
treef37c53917bbcd6c7af23428b6d2c4717ae8f1c4c /test
parenta83342ba3b6dffbdfb6b21cbc24b2c135f347e5d (diff)
downloadexternal_llvm-04ae34b0aa918b97cc94c6ac3cf30bc19cd5471e.zip
external_llvm-04ae34b0aa918b97cc94c6ac3cf30bc19cd5471e.tar.gz
external_llvm-04ae34b0aa918b97cc94c6ac3cf30bc19cd5471e.tar.bz2
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
Diffstat (limited to 'test')
-rw-r--r--test/Other/optimize-options.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Other/optimize-options.ll b/test/Other/optimize-options.ll
index 888a78f..22dd842 100644
--- a/test/Other/optimize-options.ll
+++ b/test/Other/optimize-options.ll
@@ -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