From 04ae34b0aa918b97cc94c6ac3cf30bc19cd5471e Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Tue, 5 Nov 2013 13:57:34 +0000 Subject: 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 --- test/Other/optimize-options.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/Other/optimize-options.ll b/test/Other/optimize-options.ll index 888a78fd9d..22dd842cab 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 -- cgit v1.2.3