llvm.org GIT mirror llvm / 04ae34b
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 Alp Toker 5 years ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
None ;RUN: opt -S -O1 -debug-pass=Arguments 2>&1 | FileCheck %s
1 ;RUN: opt -S -O2 -debug-pass=Arguments 2>&1 | FileCheck %s
2 ;RUN: opt -S -Os -debug-pass=Arguments 2>&1 | FileCheck %s
3 ;RUN: opt -S -Oz -debug-pass=Arguments 2>&1 | FileCheck %s
4 ;RUN: opt -S -O3 -debug-pass=Arguments 2>&1 | FileCheck %s
0 ;RUN: opt -S -O1 -debug-pass=Arguments %s 2>&1 | FileCheck %s
1 ;RUN: opt -S -O2 -debug-pass=Arguments %s 2>&1 | FileCheck %s
2 ;RUN: opt -S -Os -debug-pass=Arguments %s 2>&1 | FileCheck %s
3 ;RUN: opt -S -Oz -debug-pass=Arguments %s 2>&1 | FileCheck %s
4 ;RUN: opt -S -O3 -debug-pass=Arguments %s 2>&1 | FileCheck %s
55
6 ; Just check that we get a non-empty set of passes for each -O opton.
6 ; Just check that we get a non-empty set of passes for each -O option.
77 ;CHECK: Pass Arguments: {{.*}} -print-module