Skip to content

Commit 9df7189

Browse files
committed
[test] Replace aarch64-*-{eabi,gnueabi} with aarch64
Similar to d39b4ce Using "eabi" or "gnueabi" for aarch64 targets is a common mistake and warned by Clang Driver. We want to avoid them elsewhere as well. Just use the common "aarch64" without other triple components.
1 parent 8256804 commit 9df7189

31 files changed

+108
-115
lines changed

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-none-eabi -target-feature +neon -S -O2 -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -fsyntax-only -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-ABI-align-packed.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-none-eabi -target-feature +neon -emit-llvm -O2 -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -fsyntax-only -triple aarch64 -target-feature +neon -emit-llvm -O2 -o - %s | FileCheck %s
33
#include <stdarg.h>
44
#include <arm_neon.h>
55

clang/test/CodeGen/aarch64-fix-cortex-a53-835769.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %clang -O3 -target aarch64-linux-eabi %s -S -o- \
1+
// RUN: %clang -O3 --target=aarch64 %s -S -o- \
22
// RUN: | FileCheck --check-prefix=CHECK-NO --check-prefix=CHECK %s
3-
// RUN: %clang -O3 -target aarch64-linux-eabi -mfix-cortex-a53-835769 %s -S -o- 2>&1 \
3+
// RUN: %clang -O3 --target=aarch64 -mfix-cortex-a53-835769 %s -S -o- 2>&1 \
44
// RUN: | FileCheck --check-prefix=CHECK-YES --check-prefix=CHECK %s
5-
// RUN: %clang -O3 -target aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -S -o- 2>&1 \
5+
// RUN: %clang -O3 --target=aarch64 -mno-fix-cortex-a53-835769 %s -S -o- 2>&1 \
66
// RUN: | FileCheck --check-prefix=CHECK-NO --check-prefix=CHECK %s
77

88
// RUN: %clang -O3 --target=aarch64-linux-androideabi %s -S -o- \

clang/test/CodeGen/aarch64-ls64-inline-asm.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-eabi -target-feature +ls64 -O1 -S -emit-llvm -x c %s -o - | FileCheck %s
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +ls64 -O1 -S -emit-llvm -x c %s -o - | FileCheck %s
33

44
struct foo { unsigned long long x[8]; };
55

clang/test/CodeGen/aarch64-ls64.c

Lines changed: 2 additions & 2 deletions
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
2-
// RUN: %clang_cc1 -triple aarch64-eabi -target-feature +ls64 -S -emit-llvm -x c %s -o - | FileCheck --check-prefixes=CHECK-C %s
3-
// RUN: %clang_cc1 -triple aarch64-eabi -target-feature +ls64 -S -emit-llvm -x c++ %s -o - | FileCheck --check-prefixes=CHECK-CXX %s
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +ls64 -S -emit-llvm -x c %s -o - | FileCheck --check-prefixes=CHECK-C %s
3+
// RUN: %clang_cc1 -triple aarch64 -target-feature +ls64 -S -emit-llvm -x c++ %s -o - | FileCheck --check-prefixes=CHECK-CXX %s
44
// RUN: %clang_cc1 -triple aarch64_be-eabi -target-feature +ls64 -S -emit-llvm -x c %s -o - | FileCheck --check-prefixes=CHECK-C %s
55
// RUN: %clang_cc1 -triple aarch64_be-eabi -target-feature +ls64 -S -emit-llvm -x c++ %s -o - | FileCheck --check-prefixes=CHECK-CXX %s
66

clang/test/CodeGen/aarch64-matmul.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple aarch64-eabi -target-feature +neon -target-feature +i8mm -S -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +i8mm -S -emit-llvm %s -o - | FileCheck %s
22

33
#ifdef __ARM_FEATURE_MATMUL_INT8
44
extern "C" void arm_feature_matmulint8_defined() {}

clang/test/CodeGen/aarch64-neon-ldst-one-rcpc3.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 \
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +neon \
33
// RUN: -target-feature +rcpc3 -disable-O0-optnone -emit-llvm -o - %s \
44
// RUN: | opt -S -passes=mem2reg | FileCheck %s
55

clang/test/CodeGen/aarch64-targetattr-arch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -triple aarch64-eabi -target-feature +v8a -verify -DHAS8 -S %s -o -
2-
// RUN: %clang_cc1 -triple aarch64-eabi -target-feature +v8.1a -verify -DHAS81 -S %s -o -
3-
// RUN: %clang_cc1 -triple aarch64-eabi -target-feature +v9a -verify -DHAS9 -S %s -o -
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +v8a -verify -DHAS8 -S %s -o -
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +v8.1a -verify -DHAS81 -S %s -o -
3+
// RUN: %clang_cc1 -triple aarch64 -target-feature +v9a -verify -DHAS9 -S %s -o -
44
// REQUIRES: aarch64-registered-target
55

66
#ifdef HAS9

clang/test/CodeGen/aarch64-targetattr-crypto.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-eabi -target-feature +v8a -verify -S %s -o -
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +v8a -verify -S %s -o -
22
// REQUIRES: aarch64-registered-target
33

44
#include <arm_neon.h>

clang/test/CodeGen/aarch64-targetattr.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-eabi -S -emit-llvm %s -o - | FileCheck %s
2+
// RUN: %clang_cc1 -triple aarch64 -S -emit-llvm %s -o - | FileCheck %s
33

44
// CHECK-LABEL: @v82() #0
55
__attribute__((target("arch=armv8.2-a")))

clang/test/CodeGen/aarch64-tme.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-eabi -target-feature +tme -S -emit-llvm %s -o - | FileCheck %s
2-
// RUN: %clang_cc1 -DUSE_ACLE -triple aarch64-eabi -target-feature +tme -S -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -triple aarch64 -target-feature +tme -S -emit-llvm %s -o - | FileCheck %s
2+
// RUN: %clang_cc1 -DUSE_ACLE -triple aarch64 -target-feature +tme -S -emit-llvm %s -o - | FileCheck %s
33

44
#define A -1
55
constexpr int f() { return 65536; }

clang/test/CodeGen/arm64-mte.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test memory tagging extension intrinsics
2-
// RUN: %clang_cc1 -triple aarch64-none-linux-eabi -target-feature +mte -O3 -S -emit-llvm -o - %s | FileCheck %s
3-
// RUN: %clang_cc1 -triple aarch64-none-linux-eabi -DMTE -O3 -S -emit-llvm -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -triple aarch64 -target-feature +mte -O3 -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: %clang_cc1 -triple aarch64 -DMTE -O3 -S -emit-llvm -o - %s | FileCheck %s
44
#include <stddef.h>
55
#include <arm_acle.h>
66

clang/test/CodeGen/fp128_complex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang -target aarch64-linux-gnueabi %s -S -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang --target=aarch64 %s -S -emit-llvm -o - | FileCheck %s
22

33
_Complex long double a, b, c, d;
44
void test_fp128_compound_assign(void) {

clang/test/CodeGen/fp16-ops-strictfp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// REQUIRES: arm-registered-target
22
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK -vv -dump-input=fail
3-
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -emit-llvm -o - -triple aarch64-none-linux-gnueabi %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
3+
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -emit-llvm -o - -triple aarch64 %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
44
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - -triple x86_64-linux-gnu %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
55
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -fexperimental-strict-floating-point -emit-llvm -o - -triple arm-none-linux-gnueabi -fnative-half-type %s \
66
// RUN: | FileCheck %s --check-prefix=NATIVE-HALF --check-prefix=CHECK
7-
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -emit-llvm -o - -triple aarch64-none-linux-gnueabi -fnative-half-type %s \
7+
// RUN: %clang_cc1 -ffp-exception-behavior=maytrap -emit-llvm -o - -triple aarch64 -fnative-half-type %s \
88
// RUN: | FileCheck %s --check-prefix=NATIVE-HALF --check-prefix=CHECK
99
//
1010
// Test that the constrained intrinsics are picking up the exception

clang/test/CodeGen/fp16-ops.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// REQUIRES: arm-registered-target
22
// RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
3-
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64-none-linux-gnueabi %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
3+
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64 %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
44
// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-linux-gnu %s | FileCheck %s --check-prefix=NOTNATIVE --check-prefix=CHECK
55
// RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi -fnative-half-type %s \
66
// RUN: | FileCheck %s --check-prefix=NATIVE-HALF
7-
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64-none-linux-gnueabi -fnative-half-type %s \
7+
// RUN: %clang_cc1 -emit-llvm -o - -triple aarch64 -fnative-half-type %s \
88
// RUN: | FileCheck %s --check-prefix=NATIVE-HALF
99
// RUN: %clang_cc1 -emit-llvm -o - -x renderscript %s \
1010
// RUN: | FileCheck %s --check-prefix=NATIVE-HALF

clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple aarch64-arm-none-eabi %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple aarch64 %s -o - | FileCheck %s
22

33
struct S0 {
44
unsigned int x : 16;

clang/test/Driver/aarch64-fix-cortex-a53-835769.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %clang --target=aarch64-linux-eabi %s -### 2>&1 \
1+
// RUN: %clang --target=aarch64 %s -### 2>&1 \
22
// RUN: | FileCheck --check-prefix=CHECK-DEF %s
3-
// RUN: %clang --target=aarch64-linux-eabi -mfix-cortex-a53-835769 %s -### 2>&1 \
3+
// RUN: %clang --target=aarch64 -mfix-cortex-a53-835769 %s -### 2>&1 \
44
// RUN: | FileCheck --check-prefix=CHECK-YES %s
5-
// RUN: %clang --target=aarch64-linux-eabi -mno-fix-cortex-a53-835769 %s -### 2>&1 \
5+
// RUN: %clang --target=aarch64 -mno-fix-cortex-a53-835769 %s -### 2>&1 \
66
// RUN: | FileCheck --check-prefix=CHECK-NO %s
77

88
// RUN: %clang --target=aarch64-linux-androideabi %s -### 2>&1 \

clang/test/Driver/aarch64-mgeneral_regs_only.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Test the -mgeneral-regs-only option
22

3-
// RUN: %clang --target=aarch64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
3+
// RUN: %clang --target=aarch64 -mgeneral-regs-only %s -### 2>&1 \
44
// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s
55
// RUN: %clang --target=arm64-linux-eabi -mgeneral-regs-only %s -### 2>&1 \
66
// RUN: | FileCheck --check-prefix=CHECK-NO-FP %s

clang/test/Driver/aarch64-pauth-lr.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Check the -cc1 flags for the various forms of -mbranch-protection=pac-ret+pc.
22

3-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR
4-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+b-key 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-B-KEY
5-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+leaf 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF
6-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+bti 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-BTI
7-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+leaf+b-key+bti 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF-B-KEY-BTI
8-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR
9-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+b-key -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-B-KEY
10-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+leaf -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF
11-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+bti -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-BTI
12-
// RUN: %clang -target aarch64-arm-none-eabi -c %s -### -mbranch-protection=pac-ret+pc+leaf+b-key+bti -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF-B-KEY-BTI
3+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR
4+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+b-key 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-B-KEY
5+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+leaf 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF
6+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+bti 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-BTI
7+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+leaf+b-key+bti 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF-B-KEY-BTI
8+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR
9+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+b-key -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-B-KEY
10+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+leaf -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF
11+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+bti -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-BTI
12+
// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret+pc+leaf+b-key+bti -march=armv9.5-a 2>&1 | FileCheck %s --check-prefixes=PAUTH-LR-LEAF-B-KEY-BTI
1313

1414
// PAUTH-LR: "-msign-return-address=non-leaf" "-msign-return-address-key=a_key" "-mbranch-protection-pauth-lr"
1515
// PAUTH-LR-B-KEY: "-msign-return-address=non-leaf" "-msign-return-address-key=b_key" "-mbranch-protection-pauth-lr"

clang/test/Driver/aarch64-target-as-march.s

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22
/// via -Wa or -Xassembler are applied correctly to assembler inputs.
33

44
/// Does not apply to non assembly files
5-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.1-a \
5+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.1-a \
66
// RUN: %S/Inputs/wildcard1.c 2>&1 | FileCheck --check-prefix=TARGET-FEATURE-1 %s
7-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Xassembler -march=armv8.1-a \
7+
// RUN: %clang --target=aarch64 -### -c -Xassembler -march=armv8.1-a \
88
// RUN: %S/Inputs/wildcard1.c 2>&1 | FileCheck --check-prefix=TARGET-FEATURE-1 %s
99

1010
// TARGET-FEATURE-1-NOT: "-target-feature" "+v8.1a"
1111

1212
/// Does apply to assembler input
13-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.2-a %s 2>&1 | \
13+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.2-a %s 2>&1 | \
1414
// RUN: FileCheck --check-prefix=TARGET-FEATURE-2 %s
15-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Xassembler -march=armv8.2-a %s 2>&1 | \
15+
// RUN: %clang --target=aarch64 -### -c -Xassembler -march=armv8.2-a %s 2>&1 | \
1616
// RUN: FileCheck --check-prefix=TARGET-FEATURE-2 %s
1717

1818
// TARGET-FEATURE-2: "-target-feature" "+v8.2a"
1919

2020
/// No unused argument warnings when there are multiple values
21-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.1-a -Wa,-march=armv8.2-a %s 2>&1 | \
21+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.1-a -Wa,-march=armv8.2-a %s 2>&1 | \
2222
// RUN: FileCheck --check-prefix=UNUSED-WARNING %s
2323

2424
// UNUSED-WARNING-NOT: warning: argument unused during compilation
2525

2626
/// Last march to assembler wins
27-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.2-a -Wa,-march=armv8.1-a %s 2>&1 | \
27+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.2-a -Wa,-march=armv8.1-a %s 2>&1 | \
2828
// RUN: FileCheck --check-prefix=MULTIPLE-VALUES %s
29-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.2-a,-march=armv8.1-a %s 2>&1 | \
29+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.2-a,-march=armv8.1-a %s 2>&1 | \
3030
// RUN: FileCheck --check-prefix=MULTIPLE-VALUES %s
31-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Xassembler -march=armv8.2-a -Xassembler \
31+
// RUN: %clang --target=aarch64 -### -c -Xassembler -march=armv8.2-a -Xassembler \
3232
// RUN: -march=armv8.1-a %s 2>&1 | FileCheck --check-prefix=MULTIPLE-VALUES %s
3333

3434
// MULTIPLE-VALUES: "-target-feature" "+v8.1a
3535
// MULTIPLE-VALUES-NOT: "-target-feature" "+v8.2a
3636

3737
/// march to compiler and assembler, we choose the one suited to the input file type
38-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.3-a -march=armv8.4-a %s 2>&1 | \
38+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.3-a -march=armv8.4-a %s 2>&1 | \
3939
// RUN: FileCheck --check-prefix=TARGET-FEATURE-3 %s
40-
// RUN: %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=armv8.3-a -march=armv8.4-a \
40+
// RUN: %clang --target=aarch64 -### -c -Wa,-march=armv8.3-a -march=armv8.4-a \
4141
// RUN: %S/Inputs/wildcard1.c 2>&1 | FileCheck --check-prefix=TARGET-FEATURE-4 %s
4242

4343
// TARGET-FEATURE-3: "-target-feature" "+v8.3a"
@@ -46,9 +46,9 @@
4646
// TARGET-FEATURE-4-NOT: "-target-feature" "+v8.3a"
4747

4848
// Invalid -march settings
49-
// RUN: not %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=all %s 2>&1 | \
49+
// RUN: not %clang --target=aarch64 -### -c -Wa,-march=all %s 2>&1 | \
5050
// RUN: FileCheck --check-prefix=INVALID-ARCH-1 %s
51-
// RUN: not %clang --target=aarch64-linux-gnueabi -### -c -Wa,-march=foobar %s 2>&1 | \
51+
// RUN: not %clang --target=aarch64 -### -c -Wa,-march=foobar %s 2>&1 | \
5252
// RUN: FileCheck --check-prefix=INVALID-ARCH-2 %s
5353

5454
// INVALID-ARCH-1: error: unsupported argument 'all' to option '-march='

clang/test/Driver/arm-alignment.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
// RUN: %clang -target armv7-windows -### %s 2> %t
2323
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED-ARM < %t %s
2424

25-
// RUN: %clang -target aarch64-none-gnueabi -munaligned-access -### %s 2> %t
25+
// RUN: %clang --target=aarch64 -munaligned-access -### %s 2> %t
2626
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED-AARCH64 < %t %s
2727

28-
// RUN: %clang -target aarch64-none-gnueabi -mstrict-align -munaligned-access -### %s 2> %t
28+
// RUN: %clang --target=aarch64 -mstrict-align -munaligned-access -### %s 2> %t
2929
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED-AARCH64 < %t %s
3030

31-
// RUN: %clang -target aarch64-none-gnueabi -mno-unaligned-access -munaligned-access -### %s 2> %t
31+
// RUN: %clang --target=aarch64 -mno-unaligned-access -munaligned-access -### %s 2> %t
3232
// RUN: FileCheck --check-prefix=CHECK-UNALIGNED-AARCH64 < %t %s
3333

3434
// CHECK-UNALIGNED-ARM-NOT: "-target-feature" "+strict-align"
@@ -68,19 +68,19 @@
6868
// RUN: %clang -target armv6m-netbsd-eabi -### %s 2> %t
6969
// RUN: FileCheck --check-prefix=CHECK-ALIGNED-ARM < %t %s
7070

71-
// RUN: %clang -target aarch64-none-gnueabi -mno-unaligned-access -### %s 2> %t
71+
// RUN: %clang --target=aarch64 -mno-unaligned-access -### %s 2> %t
7272
// RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s
7373

74-
// RUN: %clang -target aarch64-none-gnueabi -mstrict-align -### %s 2> %t
74+
// RUN: %clang --target=aarch64 -mstrict-align -### %s 2> %t
7575
// RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s
7676

77-
// RUN: %clang -target aarch64-none-gnueabi -munaligned-access -mno-unaligned-access -### %s 2> %t
77+
// RUN: %clang --target=aarch64 -munaligned-access -mno-unaligned-access -### %s 2> %t
7878
// RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s
7979

80-
// RUN: %clang -target aarch64-none-gnueabi -munaligned-access -mstrict-align -### %s 2> %t
80+
// RUN: %clang --target=aarch64 -munaligned-access -mstrict-align -### %s 2> %t
8181
// RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s
8282

83-
// RUN: %clang -target aarch64-none-gnueabi -mkernel -mno-unaligned-access -### %s 2> %t
83+
// RUN: %clang --target=aarch64 -mkernel -mno-unaligned-access -### %s 2> %t
8484
// RUN: FileCheck --check-prefix=CHECK-ALIGNED-AARCH64 < %t %s
8585

8686
// RUN: %clang -target aarch64-unknown-openbsd -### %s 2> %t
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: %clang -target arm-none-gnueabi -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
22
// RUN: %clang -target arm-none-gnueabi -mno-neg-immediates -### %s 2>&1 | FileCheck %s
33

4-
// RUN: %clang -target aarch64-none-gnueabi -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
5-
// RUN: %clang -target aarch64-none-gnueabi -mno-neg-immediates -### %s 2>&1 | FileCheck %s
4+
// RUN: %clang --target=aarch64 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-DEFAULT
5+
// RUN: %clang --target=aarch64 -mno-neg-immediates -### %s 2>&1 | FileCheck %s
66

77
// CHECK: "-target-feature" "+no-neg-immediates"
88
// CHECK-DEFAULT-NOT: "+no-neg-immediates"

clang/test/Driver/linux-ld.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,10 +1750,10 @@
17501750
// RUN: --target=armv7eb-pc-linux-musleabi -mhard-float \
17511751
// RUN: | FileCheck --check-prefix=CHECK-MUSL-ARMEBHF %s
17521752
// RUN: %clang -### %s -no-pie 2>&1 \
1753-
// RUN: --target=aarch64-pc-linux-musleabi \
1753+
// RUN: --target=aarch64-pc-linux-musl \
17541754
// RUN: | FileCheck --check-prefix=CHECK-MUSL-AARCH64 %s
17551755
// RUN: %clang -### %s -no-pie 2>&1 \
1756-
// RUN: --target=aarch64_be-pc-linux-musleabi \
1756+
// RUN: --target=aarch64_be-pc-linux-musl \
17571757
// RUN: | FileCheck --check-prefix=CHECK-MUSL-AARCH64_BE %s
17581758
// CHECK-MUSL-X86: "-dynamic-linker" "/lib/ld-musl-i386.so.1"
17591759
// CHECK-MUSL-X86_64: "-dynamic-linker" "/lib/ld-musl-x86_64.so.1"

0 commit comments

Comments
 (0)