Skip to content

Commit 0afa62c

Browse files
authored
[NFC] Reduce number of run steps in ppc rop-protect test. (#139607)
Test was running both -mcpu=pwrN and -mcpu=powerN compile steps for power N = 8, 9 and 10. Reduce to one run step for each form using power8 for one instance and power 10 for the other.
1 parent f1ecff8 commit 0afa62c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

clang/test/Driver/ppc-mrop-protection-support-check.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
22
// RUN: -mcpu=pwr10 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=HASROP
33
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
4-
// RUN: -mcpu=power10 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=HASROP
5-
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
6-
// RUN: -mcpu=pwr9 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=HASROP
7-
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
8-
// RUN: -mcpu=power9 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=HASROP
9-
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
10-
// RUN: -mcpu=pwr8 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=HASROP
11-
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
124
// RUN: -mcpu=power8 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=HASROP
135

146
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
157
// RUN: -mcpu=pwr7 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=NOROP
16-
// RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
17-
// RUN: -mcpu=power7 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=NOROP
188

199
// RUN: not %clang -target powerpc-unknown-linux -fsyntax-only \
2010
// RUN: -mcpu=pwr8 -mrop-protect %s 2>&1 | FileCheck %s --check-prefix=32BIT

0 commit comments

Comments
 (0)