Skip to content

Commit 7e59223

Browse files
committed
[test] %clang_cc1: remove redundant actions
ParseFrontendArgs takes the last OPT_Action_Group option. The other actions are overridden.
1 parent 624c9fc commit 7e59223

36 files changed

+100
-102
lines changed

clang/test/AST/arithmetic-fence-builtin.c

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,31 @@
2020
// RUN: | FileCheck %s --strict-whitespace --check-prefixes=CHECK,CHECK2
2121
//
2222
// Tests with serialization:
23-
// RUN: %clang_cc1 -ast-dump -triple i386-pc-linux-gnu -emit-pch -o %t %s
23+
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -emit-pch -o %t %s
2424
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -include-pch %t -ast-dump-all /dev/null \
2525
// RUN: | FileCheck %s --strict-whitespace
2626
//
27-
// RUN: %clang_cc1 -ast-dump -triple aarch64-unknown-linux-gnu -emit-pch -o %t %s
27+
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -emit-pch -o %t %s
2828
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -include-pch %t -ast-dump-all /dev/null \
2929
// RUN: | FileCheck %s --strict-whitespace
3030
//
31-
// RUN: %clang_cc1 -ast-dump -triple i386-pc-linux-gnu -DFAST -mreassociate %s \
31+
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -DFAST -mreassociate %s \
3232
// RUN: -emit-pch -o %t
3333
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -include-pch %t -ast-dump-all /dev/null \
3434
// RUN: | FileCheck %s --strict-whitespace --check-prefixes=CHECK,CHECK1
3535
//
36-
// RUN: %clang_cc1 -ast-dump -triple aarch64-unknown-linux-gnu -DFAST -mreassociate %s \
36+
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -DFAST -mreassociate %s \
3737
// RUN: -emit-pch -o %t
3838
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -include-pch %t -ast-dump-all /dev/null \
3939
// RUN: | FileCheck %s --strict-whitespace --check-prefixes=CHECK,CHECK1
4040
//
41-
// RUN: %clang_cc1 -ast-dump -triple i386-pc-linux-gnu -DFAST -mreassociate %s \
42-
// RUN: -fprotect-parens \
43-
// RUN: -emit-pch -o %t
41+
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -DFAST -mreassociate %s \
42+
// RUN: -fprotect-parens -emit-pch -o %t
4443
// RUN: %clang_cc1 -triple i386-pc-linux-gnu -include-pch %t -ast-dump-all /dev/null -fprotect-parens\
4544
// RUN: | FileCheck %s --strict-whitespace --check-prefixes=CHECK,CHECK2
4645
//
47-
// RUN: %clang_cc1 -ast-dump -triple aarch64-unknown-linux-gnu -DFAST -mreassociate %s \
48-
// RUN: -fprotect-parens \
49-
// RUN: -emit-pch -o %t
46+
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -DFAST -mreassociate %s \
47+
// RUN: -fprotect-parens -emit-pch -o %t
5048
// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -include-pch %t -ast-dump-all /dev/null -fprotect-parens\
5149
// RUN: | FileCheck %s --strict-whitespace --check-prefixes=CHECK,CHECK2
5250

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -o %t.1.ast %S/Inputs/exprs1.c
22
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-pch -o %t.2.ast %S/Inputs/exprs2.c
3-
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-obj -o /dev/null -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s
3+
// RUN: %clang_cc1 -triple %itanium_abi_triple -o /dev/null -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s
44
// expected-no-diagnostics
55

clang/test/CXX/module/module.private.frag/p1.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// RUN: mkdir %t
33
// RUN: split-file %s %t
44

5-
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/parta.cppm -o %t/mod-parta.pcm -fsyntax-only -verify
6-
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/impl.cppm -o %t/mod-impl.pcm -fsyntax-only -verify
7-
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %t/primary.cppm -o %t/mod.pcm -fsyntax-only -verify
5+
// RUN: %clang_cc1 -std=c++20 %t/parta.cppm -o %t/mod-parta.pcm -fsyntax-only -verify
6+
// RUN: %clang_cc1 -std=c++20 %t/impl.cppm -o %t/mod-impl.pcm -fsyntax-only -verify
7+
// RUN: %clang_cc1 -std=c++20 %t/primary.cppm -o %t/mod.pcm -fsyntax-only -verify
88

99
//--- parta.cppm
1010
export module mod:parta;

clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// RUN: -S -ffp-exception-behavior=strict \
1212
// RUN: -o - %s | FileCheck --check-prefix=CHECK-ASM \
1313
// RUN: --check-prefix=FIXME-CHECK %s
14-
// RUN: %clang_cc1 -triple powerpcspe -S -ffp-exception-behavior=strict \
14+
// RUN: %clang_cc1 -triple powerpcspe -ffp-exception-behavior=strict \
1515
// RUN: -target-feature +vsx -fexperimental-strict-floating-point -emit-llvm \
1616
// RUN: %s -o - | FileCheck --check-prefix=CHECK-CONSTRAINED %s
1717

clang/test/CodeGen/PowerPC/builtins-ppc-vec-ins-error.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// REQUIRES: powerpc-registered-target
22

3-
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 -fsyntax-only \
3+
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 \
44
// RUN: -triple powerpc64le-unknown-unknown -emit-llvm-only -ferror-limit 10 %s -verify -D __TEST_ELT_SI
5-
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 -fsyntax-only \
5+
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 \
66
// RUN: -triple powerpc64-unknown-unknown -emit-llvm-only -ferror-limit 10 %s -verify -D __TEST_ELT_F
7-
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 -fsyntax-only \
7+
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 \
88
// RUN: -triple powerpc64le-unknown-unknown -emit-llvm-only -ferror-limit 10 %s -verify -D __TEST_ELT_SLL
9-
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 -fsyntax-only \
9+
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 \
1010
// RUN: -triple powerpc64-unknown-unknown -emit-llvm-only -ferror-limit 10 %s -verify -D __TEST_ELT_D
11-
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 -fsyntax-only \
11+
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 \
1212
// RUN: -triple powerpc64le-unknown-unknown -emit-llvm-only -ferror-limit 10 %s -verify -D __TEST_UNALIGNED_UI
13-
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 -fsyntax-only \
13+
// RUN: %clang_cc1 -flax-vector-conversions=none -target-feature +vsx -target-cpu pwr10 \
1414
// RUN: -triple powerpc64-unknown-unknown -emit-llvm-only -ferror-limit 10 %s -verify
1515

1616
#include <altivec.h>

clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init-no-parentheses.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
2-
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -S \
2+
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown \
33
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=MIXED-ERR
44
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
5-
// RUN: -faltivec-src-compat=mixed -triple powerpc64le-unknown-unknown -S \
5+
// RUN: -faltivec-src-compat=mixed -triple powerpc64le-unknown-unknown \
66
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=MIXED-ERR
77
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
8-
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -S \
8+
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown \
99
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=GCC-ERR
1010
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
11-
// RUN: -faltivec-src-compat=gcc -triple powerpc64le-unknown-unknown -S \
11+
// RUN: -faltivec-src-compat=gcc -triple powerpc64le-unknown-unknown \
1212
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=GCC-ERR
1313
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
14-
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -S \
14+
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown \
1515
// RUN: -emit-llvm %s -o - | FileCheck %s --check-prefix=XL
1616
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
17-
// RUN: -faltivec-src-compat=xl -triple powerpc64le-unknown-unknown -S \
17+
// RUN: -faltivec-src-compat=xl -triple powerpc64le-unknown-unknown \
1818
// RUN: -emit-llvm %s -o - | FileCheck %s --check-prefix=XL
1919
// RUN: not %clang -mcpu=pwr8 -faltivec-src-compat=mixed --target=powerpc-unknown-unknown \
2020
// RUN: -S -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=MIXED-ERR

clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
2-
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -S \
2+
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown \
33
// RUN: -emit-llvm %s -o - | FileCheck %s --check-prefix=MIXED
44
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
5-
// RUN: -faltivec-src-compat=mixed -triple powerpc64le-unknown-unknown -S \
5+
// RUN: -faltivec-src-compat=mixed -triple powerpc64le-unknown-unknown \
66
// RUN: -emit-llvm %s -o - | FileCheck %s --check-prefix=MIXED
77
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
8-
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -S \
8+
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown \
99
// RUN: -emit-llvm %s -o - | FileCheck %s --check-prefix=XL
1010
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
11-
// RUN: -faltivec-src-compat=xl -triple powerpc64le-unknown-unknown -S \
11+
// RUN: -faltivec-src-compat=xl -triple powerpc64le-unknown-unknown \
1212
// RUN: -emit-llvm %s -o - | FileCheck %s --check-prefix=XL
1313
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
14-
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -S \
14+
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown \
1515
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=GCC
1616
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
17-
// RUN: -faltivec-src-compat=gcc -triple powerpc64le-unknown-unknown -S \
17+
// RUN: -faltivec-src-compat=gcc -triple powerpc64le-unknown-unknown \
1818
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=GCC
1919
// RUN: %clang -mcpu=pwr8 -faltivec-src-compat=mixed --target=powerpc-unknown-unknown \
2020
// RUN: -S -emit-llvm %s -o - | FileCheck %s --check-prefix=MIXED

clang/test/CodeGen/PowerPC/vector-compat-pixel-bool-ternary.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
2-
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -S -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
2+
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
33
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
4-
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -S -emit-llvm %s -o - 2>&1| FileCheck %s --check-prefix=ERROR
4+
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -emit-llvm %s -o - 2>&1| FileCheck %s --check-prefix=ERROR
55
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
6-
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
6+
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
77
// RUN: %clang -mcpu=pwr8 -faltivec-src-compat=xl --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
88
// RUN: %clang -mcpu=pwr9 -faltivec-src-compat=xl --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
99

clang/test/CodeGen/PowerPC/vector-compat-pixel-bool.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
2-
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
2+
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
33
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
4-
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
4+
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
55
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
6-
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -S -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
6+
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
77
// RUN: %clang -mcpu=pwr8 -faltivec-src-compat=gcc --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
88
// RUN: %clang -mcpu=pwr9 -faltivec-src-compat=gcc --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
99

clang/test/CodeGen/PowerPC/vector-compat-ternary.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
2-
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
2+
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
33
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
4-
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -S -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
4+
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
55
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
6-
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
6+
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
77
// RUN: %clang -mcpu=pwr8 -faltivec-src-compat=xl --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
88
// RUN: %clang -mcpu=pwr9 -faltivec-src-compat=xl --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
99

clang/test/CodeGen/PowerPC/vector-compat.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
2-
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -S -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
2+
// RUN: -faltivec-src-compat=mixed -triple powerpc-unknown-unknown -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
33
// RUN: %clang_cc1 -target-feature +altivec -target-feature +vsx \
4-
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
4+
// RUN: -faltivec-src-compat=gcc -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
55
// RUN: not %clang_cc1 -target-feature +altivec -target-feature +vsx \
6-
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -S -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
6+
// RUN: -faltivec-src-compat=xl -triple powerpc-unknown-unknown -emit-llvm %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
77
// RUN: %clang -mcpu=pwr8 -faltivec-src-compat=gcc --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
88
// RUN: %clang -mcpu=pwr9 -faltivec-src-compat=gcc --target=powerpc-unknown-unknown -S -emit-llvm %s -o - | FileCheck %s
99

clang/test/CodeGen/aarch64-ABI-align-packed-assembly.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64-registered-target
2-
// RUN: %clang_cc1 -fsyntax-only -triple aarch64 -target-feature +neon -S -O2 -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -S -O2 -o - %s | FileCheck %s
33
#include <stdarg.h>
44
#include <arm_neon.h>
55

clang/test/CodeGen/aarch64-neon-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \
2-
// RUN: -S -disable-O0-optnone \
2+
// RUN: -disable-O0-optnone \
33
// RUN: -flax-vector-conversions=none -emit-llvm -o - %s \
44
// RUN: | opt -S -passes=mem2reg \
55
// RUN: | FileCheck %s

clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +fullfp16 \
2-
// RUN: -S -disable-O0-optnone \
2+
// RUN: -disable-O0-optnone \
33
// RUN: -emit-llvm -o - %s | opt -S -passes=mem2reg \
44
// RUN: | FileCheck --check-prefixes=COMMON,COMMONIR,UNCONSTRAINED %s
55
// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +fullfp16 \
6-
// RUN: -S -disable-O0-optnone \
6+
// RUN: -disable-O0-optnone \
77
// RUN: -ffp-exception-behavior=strict -emit-llvm -o - %s | opt -S -passes=mem2reg \
88
// RUN: | FileCheck --check-prefixes=COMMON,COMMONIR,CONSTRAINED %s
99

clang/test/CodeGen/builtins-nvptx-native-half-type-err.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: nvptx-registered-target
22
//
3-
// RUN: not %clang_cc1 -fsyntax-only -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
3+
// RUN: not %clang_cc1 -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
44
// RUN: sm_86 -target-feature +ptx72 -fcuda-is-device -x cuda -emit-llvm -o - %s 2>&1 \
55
// RUN: | FileCheck -check-prefix=CHECK_ERROR %s
66

clang/test/CodeGen/builtins-nvptx-native-half-type.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// REQUIRES: nvptx-registered-target
22
//
33
// RUN: %clang_cc1 -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
4-
// RUN: sm_75 -target-feature +ptx70 -fcuda-is-device -fnative-half-type -S \
4+
// RUN: sm_75 -target-feature +ptx70 -fcuda-is-device -fnative-half-type \
55
// RUN: -emit-llvm -o - -x cuda %s \
66
// RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK_PTX70_SM75 %s
77

88
// RUN: %clang_cc1 -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
9-
// RUN: sm_80 -target-feature +ptx70 -fcuda-is-device -fnative-half-type -S \
9+
// RUN: sm_80 -target-feature +ptx70 -fcuda-is-device -fnative-half-type \
1010
// RUN: -emit-llvm -o - -x cuda %s \
1111
// RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK_PTX70_SM80 %s
1212

@@ -16,7 +16,7 @@
1616
// RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK_PTX70_SM80 %s
1717

1818
// RUN: %clang_cc1 -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
19-
// RUN: sm_86 -target-feature +ptx72 -fcuda-is-device -fnative-half-type -S \
19+
// RUN: sm_86 -target-feature +ptx72 -fcuda-is-device -fnative-half-type \
2020
// RUN: -emit-llvm -o - -x cuda %s \
2121
// RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK_PTX72_SM86 %s
2222

@@ -26,7 +26,7 @@
2626
// RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK_PTX72_SM86 %s
2727

2828
// RUN: %clang_cc1 -ffp-contract=off -triple nvptx-unknown-unknown -target-cpu \
29-
// RUN: sm_53 -target-feature +ptx42 -fcuda-is-device -fnative-half-type -S \
29+
// RUN: sm_53 -target-feature +ptx42 -fcuda-is-device -fnative-half-type \
3030
// RUN: -emit-llvm -o - -x cuda %s \
3131
// RUN: | FileCheck -check-prefix=CHECK -check-prefix=CHECK_PTX42_SM53 %s
3232

clang/test/CodeGen/math-builtins-long.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// RUN: -fmath-errno | FileCheck %s -check-prefix=F80
33
// RUN: %clang_cc1 -triple ppc64le-unknown-unknown -w -o - -emit-llvm %s \
44
// RUN: -fmath-errno | FileCheck %s -check-prefix=PPC
5-
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -mlong-double-128 -w -S \
5+
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -mlong-double-128 -w \
66
// RUN: -o - -emit-llvm %s -fmath-errno | FileCheck %s -check-prefix=X86F128
7-
// RUN: %clang_cc1 -triple ppc64le-unknown-unknown -mabi=ieeelongdouble -w -S \
7+
// RUN: %clang_cc1 -triple ppc64le-unknown-unknown -mabi=ieeelongdouble -w \
88
// RUN: -o - -emit-llvm %s -fmath-errno | FileCheck %s -check-prefix=PPCF128
99

1010
void bar(long double);

0 commit comments

Comments
 (0)