|
1 |
| -// RUN: mlir-cpu-runner %s -argext-abi-check=false | FileCheck %s |
2 |
| -// RUN: mlir-cpu-runner %s -e foo -argext-abi-check=false | FileCheck -check-prefix=NOMAIN %s |
3 |
| -// RUN: mlir-cpu-runner %s --entry-point-result=i32 -e int32_main -argext-abi-check=false | FileCheck -check-prefix=INT32MAIN %s |
4 |
| -// RUN: mlir-cpu-runner %s --entry-point-result=i64 -e int64_main -argext-abi-check=false | FileCheck -check-prefix=INT64MAIN %s |
5 |
| -// RUN: mlir-cpu-runner %s -O3 -argext-abi-check=false | FileCheck %s |
| 1 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 2 | +// RUN: mlir-cpu-runner %s -argext-abi-check=false | FileCheck %s \ |
| 3 | +// RUN: %} %else %{ \ |
| 4 | +// RUN: mlir-cpu-runner %s | FileCheck %s \ |
| 5 | +// RUN: %} |
| 6 | + |
| 7 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 8 | +// RUN: mlir-cpu-runner %s -e foo -argext-abi-check=false | FileCheck -check-prefix=NOMAIN %s \ |
| 9 | +// RUN: %} %else %{ \ |
| 10 | +// RUN: mlir-cpu-runner %s -e foo | FileCheck -check-prefix=NOMAIN %s \ |
| 11 | +// RUN: %} |
| 12 | + |
| 13 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 14 | +// RUN: mlir-cpu-runner %s --entry-point-result=i32 -e int32_main -argext-abi-check=false | FileCheck -check-prefix=INT32MAIN %s \ |
| 15 | +// RUN: %} %else %{ \ |
| 16 | +// RUN: mlir-cpu-runner %s --entry-point-result=i32 -e int32_main | FileCheck -check-prefix=INT32MAIN %s \ |
| 17 | +// RUN: %} |
| 18 | + |
| 19 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 20 | +// RUN: mlir-cpu-runner %s --entry-point-result=i64 -e int64_main -argext-abi-check=false | FileCheck -check-prefix=INT64MAIN %s \ |
| 21 | +// RUN: %} %else %{ \ |
| 22 | +// RUN: mlir-cpu-runner %s --entry-point-result=i64 -e int64_main | FileCheck -check-prefix=INT64MAIN %s \ |
| 23 | +// RUN: %} |
| 24 | + |
| 25 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 26 | +// RUN: mlir-cpu-runner %s -O3 -argext-abi-check=false | FileCheck %s \ |
| 27 | +// RUN: %} %else %{ \ |
| 28 | +// RUN: mlir-cpu-runner %s -O3 | FileCheck %s \ |
| 29 | +// RUN: %} |
6 | 30 |
|
7 | 31 | // RUN: cp %s %t
|
8 |
| -// RUN: mlir-cpu-runner %t -dump-object-file -argext-abi-check=false | FileCheck %t |
| 32 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 33 | +// RUN: mlir-cpu-runner %t -dump-object-file -argext-abi-check=false | FileCheck %t \ |
| 34 | +// RUN: %} %else %{ \ |
| 35 | +// RUN: mlir-cpu-runner %t -dump-object-file | FileCheck %t \ |
| 36 | +// RUN: %} |
| 37 | + |
9 | 38 | // RUN: ls %t.o
|
10 | 39 | // RUN: rm %t.o
|
11 |
| - |
12 |
| -// RUN: mlir-cpu-runner %s -dump-object-file -object-filename=%T/test.o -argext-abi-check=false | FileCheck %s |
| 40 | +// RUN: %if target={{s390x-.*}} %{ \ |
| 41 | +// RUN: mlir-cpu-runner %s -dump-object-file -object-filename=%T/test.o -argext-abi-check=false | FileCheck %s \ |
| 42 | +// RUN: %} %else %{ \ |
| 43 | +// RUN: mlir-cpu-runner %s -dump-object-file -object-filename=%T/test.o | FileCheck %s \ |
| 44 | +// RUN: %} |
13 | 45 | // RUN: ls %T/test.o
|
14 | 46 | // RUN: rm %T/test.o
|
15 | 47 |
|
|
0 commit comments