Skip to content

Commit 02e9441

Browse files
committed
[test] Replace -triple aarch64-arm-none-eabi with -triple aarch64
Using "eabi" for aarch64 targets is a common mistake and warned by driver (D153430). We want to avoid them for -cc1 tests as well.
1 parent 8ce2d90 commit 02e9441

16 files changed

+22
-22
lines changed

clang/test/CodeGen/aarch64-bf16-dotprod-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \
33
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -passes=mem2reg | FileCheck %s
44

55
// REQUIRES: aarch64-registered-target || arm-registered-target

clang/test/CodeGen/aarch64-bf16-getset-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \
33
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -passes=mem2reg | FileCheck %s
44

55
// REQUIRES: aarch64-registered-target || arm-registered-target

clang/test/CodeGen/aarch64-bf16-lane-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \
33
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -passes=mem2reg | FileCheck --check-prefix=CHECK-LE %s
44
// RUN: %clang_cc1 -triple aarch64_be-arm-none-eabi -target-feature +neon -target-feature +bf16 \
55
// RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -passes=mem2reg | FileCheck --check-prefix=CHECK-BE %s

clang/test/CodeGen/aarch64-bf16-ldst-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \
33
// RUN: -O2 -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK64
44
// RUN: %clang_cc1 -triple armv8.6a-arm-none-eabi -target-feature +neon -target-feature +bf16 -mfloat-abi hard \
55
// RUN: -O2 -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK32

clang/test/CodeGen/aarch64-bf16-reinterpret-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \
22
// RUN: -disable-O0-optnone -S -emit-llvm -o - %s \
33
// RUN: | opt -S -passes=mem2reg \
44
// RUN: | FileCheck %s

clang/test/CodeGen/arm-bf16-convert-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
22
// RUN: %clang_cc1 \
3-
// RUN: -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
3+
// RUN: -triple aarch64 -target-feature +neon -target-feature +bf16 \
44
// RUN: -disable-O0-optnone -emit-llvm -o - %s \
55
// RUN: | opt -S -passes=mem2reg \
66
// RUN: | FileCheck --check-prefixes=CHECK,CHECK-A64 %s

clang/test/CodeGen/arm-bf16-params-returns.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %clang_cc1 -triple armv8.6a-arm-none-eabi -target-abi aapcs -mfloat-abi hard -target-feature +bf16 -target-feature +neon -emit-llvm -O2 -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=CHECK32-HARD
22
// RUN: %clang_cc1 -triple armv8.6a-arm-none-eabi -target-abi aapcs -mfloat-abi softfp -target-feature +bf16 -target-feature +neon -emit-llvm -O2 -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=CHECK32-SOFTFP
3-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-abi aapcs -target-feature +bf16 -target-feature +neon -emit-llvm -O2 -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefixes=CHECK64,CHECK64NEON
4-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-abi aapcs -target-feature -bf16 -target-feature +neon -DNONEON -emit-llvm -O2 -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=CHECK64
3+
// RUN: %clang_cc1 -triple aarch64 -target-abi aapcs -target-feature +bf16 -target-feature +neon -emit-llvm -O2 -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefixes=CHECK64,CHECK64NEON
4+
// RUN: %clang_cc1 -triple aarch64 -target-abi aapcs -target-feature -bf16 -target-feature +neon -DNONEON -emit-llvm -O2 -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s --check-prefix=CHECK64
55

66
// REQUIRES: aarch64-registered-target || arm-registered-target
77

clang/test/CodeGen/arm-mangle-bf16.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +bf16 -emit-llvm -o - %s | FileCheck %s
2-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature -bf16 -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +bf16 -emit-llvm -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature -bf16 -emit-llvm -o - %s | FileCheck %s
33
// RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi hard -emit-llvm -o - %s | FileCheck %s
44
// RUN: %clang_cc1 -triple arm-arm-none-eabi -target-feature +bf16 -mfloat-abi softfp -emit-llvm -o - %s | FileCheck %s
55

clang/test/CodeGenCXX/fp16-mangle-arg-return.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -emit-llvm -o - -triple arm-arm-none-eabi %s | FileCheck %s
2-
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64-arm-none-eabi %s | FileCheck %s
2+
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64 %s | FileCheck %s
33

44
// Test name-mangling of __fp16 passed directly as a function argument
55
// (when that is permitted).
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/// check -faapcs-bitfield-width/-fno-aapcs-bitfield-width
22
// RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -faapcs-bitfield-width -### %s 2>&1 | FileCheck --check-prefixes=WIDTH,INVERSE-WIDTH %s
3-
// RUN: %clang -target aarch64-arm-none-eabi -march=armv8-m.main -faapcs-bitfield-width -### %s 2>&1 | FileCheck --check-prefixes=WIDTH,INVERSE-WIDTH %s
3+
// RUN: %clang --target=aarch64 -march=armv8-m.main -faapcs-bitfield-width -### %s 2>&1 | FileCheck --check-prefixes=WIDTH,INVERSE-WIDTH %s
44
// RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -fno-aapcs-bitfield-width -### %s 2>&1 | FileCheck --check-prefixes=NO-WIDTH,WIDTH %s
5-
// RUN: %clang -target aarch64-arm-none-eabi -march=armv8-m.main -fno-aapcs-bitfield-width -### %s 2>&1 | FileCheck --check-prefixes=NO-WIDTH,WIDTH %s
5+
// RUN: %clang --target=aarch64 -march=armv8-m.main -fno-aapcs-bitfield-width -### %s 2>&1 | FileCheck --check-prefixes=NO-WIDTH,WIDTH %s
66
// WIDTH-NOT: -faapcs-bitfield-width
77
// NO-WIDTH: -fno-aapcs-bitfield-width
88

99
/// check -faapcs-bitfield-load
1010
// RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -faapcs-bitfield-load -### %s 2>&1 | FileCheck --check-prefix=LOAD %s
11-
// RUN: %clang -target aarch64-arm-none-eabi -march=armv8-m.main -faapcs-bitfield-load -### %s 2>&1 | FileCheck --check-prefix=LOAD %s
11+
// RUN: %clang --target=aarch64 -march=armv8-m.main -faapcs-bitfield-load -### %s 2>&1 | FileCheck --check-prefix=LOAD %s
1212
// LOAD: -faapcs-bitfield-load
1313

1414
/// check absence of the above argument when not given
1515
// RUN: %clang -target arm-arm-none-eabi -march=armv8-m.main -### %s 2>&1 | FileCheck --check-prefixes=INVERSE-WIDTH,INVERSE-LOAD %s
16-
// RUN: %clang -target aarch64-arm-none-eabi -march=armv8-m.main -### %s 2>&1 | FileCheck --check-prefixes=INVERSE-WIDTH,INVERSE-LOAD %s
16+
// RUN: %clang --target=aarch64 -march=armv8-m.main -### %s 2>&1 | FileCheck --check-prefixes=INVERSE-WIDTH,INVERSE-LOAD %s
1717
// INVERSE-WIDTH-NOT: -fno-aapcs-bitfield-width
1818
// INVERSE-LOAD-NOT: -fno-aapcs-bitfield-load

clang/test/Sema/aarch64-bf16-ldst-intrinsics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple aarch64-arm-none-eabi -target-feature +neon -target-feature +bf16 \
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \
22
// RUN: -O2 -verify -fsyntax-only %s
33

44
// REQUIRES: aarch64-registered-target || arm-registered-target

clang/test/Sema/aarch64-neon-bf16-ranges.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify \
2-
// RUN: -triple aarch64-arm-none-eabi -target-feature +neon \
2+
// RUN: -triple aarch64 -target-feature +neon \
33
// RUN: -target-feature +bf16 %s
44

55
// REQUIRES: aarch64-registered-target || arm-registered-target

clang/test/Sema/arm-bfloat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// RUN: %clang_cc1 -fsyntax-only -verify=scalar,neon -std=c++11 \
2-
// RUN: -triple aarch64-arm-none-eabi -target-cpu cortex-a75 \
2+
// RUN: -triple aarch64 -target-cpu cortex-a75 \
33
// RUN: -target-feature +bf16 -target-feature +neon -Wno-unused %s
44
// RUN: %clang_cc1 -fsyntax-only -verify=scalar,neon -std=c++11 \
55
// RUN: -triple arm-arm-none-eabi -target-cpu cortex-a53 \
66
// RUN: -target-feature +bf16 -target-feature +neon -Wno-unused %s
77

88
// The types should be available under AArch64 even without the bf16 feature
99
// RUN: %clang_cc1 -fsyntax-only -verify=scalar -DNONEON -std=c++11 \
10-
// RUN: -triple aarch64-arm-none-eabi -target-cpu cortex-a75 \
10+
// RUN: -triple aarch64 -target-cpu cortex-a75 \
1111
// RUN: -target-feature -bf16 -target-feature +neon -Wno-unused %s
1212

1313
// REQUIRES: aarch64-registered-target || arm-registered-target

clang/test/Sema/arm-sve-target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fsyntax-only -verify -DNONEON -std=c++11 -triple aarch64-arm-none-eabi %s
1+
// RUN: %clang_cc1 -fsyntax-only -verify -DNONEON -std=c++11 -triple aarch64 %s
22

33
// A target without sve should not be able to use sve types.
44

clang/test/Sema/sugar-common-types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c99 -triple aarch64-arm-none-eabi -target-feature +bf16 -target-feature +sve
1+
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c99 -triple aarch64 -target-feature +bf16 -target-feature +sve
22

33
typedef struct N {} N;
44

clang/test/SemaOpenMP/arm-sve-acle-types.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fopenmp -fsyntax-only -triple aarch64-arm-none-eabi -target-feature +sve -verify %s
1+
// RUN: %clang_cc1 -fopenmp -fsyntax-only -triple aarch64 -target-feature +sve -verify %s
22
// expected-no-diagnostics
33

44
__SVBool_t foo(int);

0 commit comments

Comments
 (0)