diff --git a/clang/test/CodeGen/aarch64-bf16-lane-intrinsics.c b/clang/test/CodeGen/aarch64-bf16-lane-intrinsics.c --- a/clang/test/CodeGen/aarch64-bf16-lane-intrinsics.c +++ b/clang/test/CodeGen/aarch64-bf16-lane-intrinsics.c @@ -1,7 +1,7 @@ // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py // RUN: %clang_cc1 -triple aarch64 -target-feature +neon -target-feature +bf16 \ // RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -passes=mem2reg | FileCheck --check-prefix=CHECK-LE %s -// RUN: %clang_cc1 -triple aarch64_be-arm-none-eabi -target-feature +neon -target-feature +bf16 \ +// RUN: %clang_cc1 -triple aarch64_be -target-feature +neon -target-feature +bf16 \ // RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -passes=mem2reg | FileCheck --check-prefix=CHECK-BE %s // REQUIRES: aarch64-registered-target || arm-registered-target diff --git a/clang/test/CodeGen/aarch64-branch-protection-attr.c b/clang/test/CodeGen/aarch64-branch-protection-attr.c --- a/clang/test/CodeGen/aarch64-branch-protection-attr.c +++ b/clang/test/CodeGen/aarch64-branch-protection-attr.c @@ -1,5 +1,5 @@ // REQUIRES: aarch64-registered-target -// RUN: %clang_cc1 -triple aarch64-unknown-unknown-eabi -emit-llvm -target-cpu generic -target-feature +v8.5a %s -o - \ +// RUN: %clang_cc1 -triple aarch64 -emit-llvm -target-cpu generic -target-feature +v8.5a %s -o - \ // RUN: | FileCheck %s --check-prefix=CHECK __attribute__ ((target("branch-protection=none"))) diff --git a/clang/test/CodeGen/codemodels.c b/clang/test/CodeGen/codemodels.c --- a/clang/test/CodeGen/codemodels.c +++ b/clang/test/CodeGen/codemodels.c @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-NOMODEL -// RUN: %clang_cc1 -triple aarch64-unknown-none-eabi -emit-llvm -mcmodel=tiny %s -o - | FileCheck %s -check-prefix=CHECK-TINY +// RUN: %clang_cc1 -triple aarch64 -emit-llvm -mcmodel=tiny %s -o - | FileCheck %s -check-prefix=CHECK-TINY // RUN: %clang_cc1 -emit-llvm -mcmodel=small %s -o - | FileCheck %s -check-prefix=CHECK-SMALL // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=kernel %s -o - | FileCheck %s -check-prefix=CHECK-KERNEL // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -mcmodel=medium %s -o - | FileCheck %s -check-prefix=CHECK-MEDIUM diff --git a/clang/test/CodeGenCXX/bitfield-layout.cpp b/clang/test/CodeGenCXX/bitfield-layout.cpp --- a/clang/test/CodeGenCXX/bitfield-layout.cpp +++ b/clang/test/CodeGenCXX/bitfield-layout.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - -O3 | FileCheck -check-prefix=CHECK -check-prefix=CHECK-LP64 %s // RUN: %clang_cc1 %s -triple=i386-apple-darwin10 -emit-llvm -o - -O3 | FileCheck %s -// RUN: %clang_cc1 %s -triple=aarch64_be-none-eabi -emit-llvm -o - -O3 | FileCheck %s +// RUN: %clang_cc1 %s -triple=aarch64_be -emit-llvm -o - -O3 | FileCheck %s // RUN: %clang_cc1 %s -triple=thumbv7_be-none-eabi -emit-llvm -o - -O3 | FileCheck %s // RUN: %clang_cc1 %s -triple=x86_64-unknown-unknown -emit-llvm -o - -O3 -std=c++11 | FileCheck -check-prefix=CHECK -check-prefix=CHECK-LP64 %s diff --git a/clang/test/Driver/aarch64-features.c b/clang/test/Driver/aarch64-features.c --- a/clang/test/Driver/aarch64-features.c +++ b/clang/test/Driver/aarch64-features.c @@ -32,7 +32,7 @@ // RUN: %clang --target=arm64-unknown-linux -rtlib=compiler-rt \ // RUN: -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-OUTLINE-ATOMICS-ON %s -// RUN: %clang --target=aarch64--none-eabi -rtlib=compiler-rt \ +// RUN: %clang --target=aarch64 -rtlib=compiler-rt \ // RUN: -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-OUTLINE-ATOMICS-OFF %s // RUN: %clang --target=aarch64-apple-darwin -rtlib=compiler-rt \ diff --git a/clang/test/Driver/aarch64-security-options.c b/clang/test/Driver/aarch64-security-options.c --- a/clang/test/Driver/aarch64-security-options.c +++ b/clang/test/Driver/aarch64-security-options.c @@ -1,33 +1,33 @@ // Check the -msign-return-address= option, which has a required argument to // select scope. -// RUN: %clang --target=aarch64--none-eabi -c %s -### -msign-return-address=none 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -msign-return-address=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=RA-OFF --check-prefix=KEY --check-prefix=BTE-OFF --check-prefix=WARN -// RUN: %clang --target=aarch64--none-eabi -c %s -### -msign-return-address=non-leaf 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -msign-return-address=non-leaf 2>&1 | \ // RUN: FileCheck %s --check-prefix=RA-NON-LEAF --check-prefix=KEY-A --check-prefix=BTE-OFF --check-prefix=WARN -// RUN: %clang --target=aarch64--none-eabi -c %s -### -msign-return-address=all 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -msign-return-address=all 2>&1 | \ // RUN: FileCheck %s --check-prefix=RA-ALL --check-prefix=KEY-A --check-prefix=BTE-OFF --check-prefix=WARN // -mbranch-protection with standard -// RUN: %clang --target=aarch64--none-eabi -c %s -### -mbranch-protection=standard 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=standard 2>&1 | \ // RUN: FileCheck %s --check-prefix=RA-NON-LEAF --check-prefix=KEY-A --check-prefix=BTE-ON --check-prefix=WARN // If the -msign-return-address and -mbranch-protection are both used, the // right-most one controls return address signing. -// RUN: %clang --target=aarch64--none-eabi -c %s -### -msign-return-address=non-leaf -mbranch-protection=none 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -msign-return-address=non-leaf -mbranch-protection=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=CONFLICT --check-prefix=WARN -// RUN: %clang --target=aarch64--none-eabi -c %s -### -mbranch-protection=pac-ret -msign-return-address=none 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=pac-ret -msign-return-address=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=CONFLICT --check-prefix=WARN -// RUN: %clang --target=aarch64--none-eabi -c %s -### -msign-return-address=foo 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -msign-return-address=foo 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-RA-PROTECTION --check-prefix=WARN -// RUN: %clang --target=aarch64--none-eabi -c %s -### -mbranch-protection=bar 2>&1 | \ +// RUN: %clang --target=aarch64 -c %s -### -mbranch-protection=bar 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-BP-PROTECTION --check-prefix=WARN -// RUN: %clang --target=aarch64--none-eabi -### -o /dev/null -mbranch-protection=standard /dev/null 2>&1 | \ +// RUN: %clang --target=aarch64 -### -o /dev/null -mbranch-protection=standard /dev/null 2>&1 | \ // RUN: FileCheck --allow-empty %s --check-prefix=LINKER-DRIVER // WARN-NOT: warning: ignoring '-mbranch-protection=' option because the 'aarch64' architecture does not support it [-Wbranch-protection] diff --git a/clang/test/Driver/arm-wchar_t-defaults.c b/clang/test/Driver/arm-wchar_t-defaults.c --- a/clang/test/Driver/arm-wchar_t-defaults.c +++ b/clang/test/Driver/arm-wchar_t-defaults.c @@ -6,10 +6,10 @@ // RUN: %clang -### -target armv7eb-unknown-none-eabi -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-UNSIGNED %s // RUN: %clang -### -target armv7eb-unknown-none-eabi -mthumb -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-SHORT %s // RUN: %clang -### -target armv7eb-unknown-none-eabi -mthumb -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-UNSIGNED %s -// RUN: %clang -### -target aarch64-unknown-none-eabi -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-SHORT %s -// RUN: %clang -### -target aarch64-unknown-none-eabi -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-UNSIGNED %s -// RUN: %clang -### -target aarch64_be-unknown-none-eabi -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-SHORT %s -// RUN: %clang -### -target aarch64_be-unknown-none-eabi -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-UNSIGNED %s +// RUN: %clang -### -target aarch64 -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-SHORT %s +// RUN: %clang -### -target aarch64 -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-UNSIGNED %s +// RUN: %clang -### -target aarch64_be -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-SHORT %s +// RUN: %clang -### -target aarch64_be -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-UNSIGNED %s // RUN: %clang -### -target armv7-unknown-netbsd -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-SHORT %s // RUN: %clang -### -target armv7-unknown-netbsd -fno-short-wchar -c %s -o /dev/null 2>&1 | FileCheck -check-prefix CHECK-LONG-SIGNED %s diff --git a/clang/test/Driver/sls-hardening-options.c b/clang/test/Driver/sls-hardening-options.c --- a/clang/test/Driver/sls-hardening-options.c +++ b/clang/test/Driver/sls-hardening-options.c @@ -1,91 +1,91 @@ // Check the -mharden-sls= option, which has a required argument to select // scope. -// RUN: %clang -target aarch64--none-eabi -c %s -### 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=none 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=blr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=blr -mharden-sls=none 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=blr -mharden-sls=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=blr -mharden-sls=none 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-OFF --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=blr -mharden-sls=retbr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=blr -mharden-sls=retbr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=blr -mharden-sls=retbr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-OFF --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr,blr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr,blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr,blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=all 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=all 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=all 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr,blr,retbr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr,blr,retbr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr,blr,retbr 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT-OFF -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr,blr,r 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr,blr,r 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr,blr,r 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=none,blr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=none,blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=none,blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=all,-blr 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=all,-blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=all,-blr 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr,blr,nocomdat 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr,blr,nocomdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr,blr,nocomdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=all,nocomdat 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=all,nocomdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=all,nocomdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr,blr,retbr,nocomdat 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr,blr,retbr,nocomdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr,blr,retbr,nocomdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=RETBR-ON --check-prefix=BLR-ON --check-prefix=NOCOMDAT -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=retbr,comdat,r 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=retbr,comdat,r 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=retbr,comdat,r 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=none,comdat 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=none,comdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=none,comdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC -// RUN: %clang -target aarch64--none-eabi -c %s -### -mharden-sls=all,-comdat 2>&1 | \ +// RUN: %clang -target aarch64 -c %s -### -mharden-sls=all,-comdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC // RUN: %clang -target armv7a--none-eabi -c %s -### -mharden-sls=all,-comdat 2>&1 | \ // RUN: FileCheck %s --check-prefix=BAD-SLS-SPEC diff --git a/clang/test/Preprocessor/init-arm.c b/clang/test/Preprocessor/init-arm.c --- a/clang/test/Preprocessor/init-arm.c +++ b/clang/test/Preprocessor/init-arm.c @@ -1381,8 +1381,6 @@ // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s // RUN: %clang_cc1 -E -dM -ffreestanding -triple=arm-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s -// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabi < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s -// RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-eabihf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s // RUN: %clang_cc1 -E -dM -ffreestanding -triple=aarch64-none-elf < /dev/null | FileCheck -match-full-lines -check-prefix ARM-NONE-EABI %s // ARM-NONE-EABI: #define __ELF__ 1 diff --git a/clang/test/Sema/aarch64-sve-alias-attribute.c b/clang/test/Sema/aarch64-sve-alias-attribute.c --- a/clang/test/Sema/aarch64-sve-alias-attribute.c +++ b/clang/test/Sema/aarch64-sve-alias-attribute.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -aux-triple aarch64-none-unknown-eabi -target-feature +sve -fopenmp-is-device -fopenmp -verify -fsyntax-only %s +// RUN: %clang_cc1 -triple aarch64-unknown-linux-gnu -aux-triple aarch64 -target-feature +sve -fopenmp-is-device -fopenmp -verify -fsyntax-only %s static __inline__ __attribute__((__clang_arm_builtin_alias(__builtin_sve_svabd_n_f64_m))) // expected-no-diagnostics void diff --git a/llvm/test/Analysis/MemorySSA/pr43320.ll b/llvm/test/Analysis/MemorySSA/pr43320.ll --- a/llvm/test/Analysis/MemorySSA/pr43320.ll +++ b/llvm/test/Analysis/MemorySSA/pr43320.ll @@ -2,7 +2,7 @@ ; REQUIRES: asserts target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" -target triple = "aarch64-unknown-none-eabi" +target triple = "aarch64" ; CHECK-LABEL: @e() define void @e() { diff --git a/llvm/test/CodeGen/AArch64/arm64-aapcs-be.ll b/llvm/test/CodeGen/AArch64/arm64-aapcs-be.ll --- a/llvm/test/CodeGen/AArch64/arm64-aapcs-be.ll +++ b/llvm/test/CodeGen/AArch64/arm64-aapcs-be.ll @@ -1,5 +1,5 @@ -; RUN: llc -mtriple=aarch64_be-none-eabi -fast-isel=false < %s | FileCheck %s -; RUN: llc -mtriple=aarch64_be-none-eabi -fast-isel=true < %s | FileCheck %s +; RUN: llc -mtriple=aarch64_be -fast-isel=false < %s | FileCheck %s +; RUN: llc -mtriple=aarch64_be -fast-isel=true < %s | FileCheck %s ; Check narrow argument passing via stack - callee end define i32 @test_narrow_args_callee(i64 %x0, i64 %x1, i64 %x2, i64 %x3, i64 %x4, i64 %x5, i64 %x6, i64 %x7, i8 %c, i16 %s) #0 { diff --git a/llvm/test/CodeGen/AArch64/arm64-big-endian-varargs.ll b/llvm/test/CodeGen/AArch64/arm64-big-endian-varargs.ll --- a/llvm/test/CodeGen/AArch64/arm64-big-endian-varargs.ll +++ b/llvm/test/CodeGen/AArch64/arm64-big-endian-varargs.ll @@ -3,7 +3,7 @@ ; Vararg saving must save Q registers using the equivalent of STR/STP. target datalayout = "E-m:e-i64:64-i128:128-n32:64-S128" -target triple = "aarch64_be-arm-none-eabi" +target triple = "aarch64_be" %struct.__va_list = type { ptr, ptr, ptr, i32, i32 } diff --git a/llvm/test/CodeGen/AArch64/arm64-ld-from-st.ll b/llvm/test/CodeGen/AArch64/arm64-ld-from-st.ll --- a/llvm/test/CodeGen/AArch64/arm64-ld-from-st.ll +++ b/llvm/test/CodeGen/AArch64/arm64-ld-from-st.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2 -; RUN: llc < %s -mtriple aarch64--none-eabi -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple aarch64 -verify-machineinstrs | FileCheck %s define i64 @Str64Ldr64(ptr nocapture %P, i64 %v, i64 %n) { ; CHECK-LABEL: Str64Ldr64: diff --git a/llvm/test/CodeGen/AArch64/arm64-narrow-st-merge.ll b/llvm/test/CodeGen/AArch64/arm64-narrow-st-merge.ll --- a/llvm/test/CodeGen/AArch64/arm64-narrow-st-merge.ll +++ b/llvm/test/CodeGen/AArch64/arm64-narrow-st-merge.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -mtriple aarch64--none-eabi -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -mtriple aarch64--none-eabi -mattr=+strict-align -verify-machineinstrs | FileCheck %s -check-prefix=CHECK-STRICT +; RUN: llc < %s -mtriple aarch64 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple aarch64 -mattr=+strict-align -verify-machineinstrs | FileCheck %s -check-prefix=CHECK-STRICT ; CHECK-LABEL: Strh_zero ; CHECK: str wzr diff --git a/llvm/test/CodeGen/AArch64/arm64-trn.ll b/llvm/test/CodeGen/AArch64/arm64-trn.ll --- a/llvm/test/CodeGen/AArch64/arm64-trn.ll +++ b/llvm/test/CodeGen/AArch64/arm64-trn.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -mtriple=aarch64 | FileCheck %s --check-prefixes=CHECKLE -; RUN: llc < %s -mtriple=aarch64_be-none-eabi | FileCheck %s --check-prefixes=CHECKBE +; RUN: llc < %s -mtriple=aarch64_be | FileCheck %s --check-prefixes=CHECKBE define <8 x i8> @vtrni8(ptr %A, ptr %B) nounwind { ; CHECKLE-LABEL: vtrni8: diff --git a/llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll b/llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll --- a/llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll +++ b/llvm/test/CodeGen/AArch64/branch-target-enforcement-indirect-calls.ll @@ -1,5 +1,5 @@ -; RUN: llc -mtriple aarch64--none-eabi -mattr=+bti < %s | FileCheck %s -; RUN: llc -mtriple aarch64--none-eabi -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel* -mattr=+bti %s -verify-machineinstrs -o - 2>&1 | FileCheck %s --check-prefixes=CHECK,FALLBACK +; RUN: llc -mtriple aarch64 -mattr=+bti < %s | FileCheck %s +; RUN: llc -mtriple aarch64 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel* -mattr=+bti %s -verify-machineinstrs -o - 2>&1 | FileCheck %s --check-prefixes=CHECK,FALLBACK ; FALLBACK: remark: :0:0: unable to translate instruction: call: ' tail call void %p()' (in function: bti_enabled) diff --git a/llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll b/llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll --- a/llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll +++ b/llvm/test/CodeGen/AArch64/bti-branch-relaxation.ll @@ -1,6 +1,6 @@ ; RUN: llc %s -o - | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" -target triple = "aarch64-unknown-unknown-eabi" +target triple = "aarch64" ; Function Attrs: nounwind define dso_local void @f(i64 %v) local_unnamed_addr #0 { diff --git a/llvm/test/CodeGen/AArch64/combine-andintoload.ll b/llvm/test/CodeGen/AArch64/combine-andintoload.ll --- a/llvm/test/CodeGen/AArch64/combine-andintoload.ll +++ b/llvm/test/CodeGen/AArch64/combine-andintoload.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -mtriple=aarch64 -o - | FileCheck %s -; RUN: llc < %s -mtriple=aarch64_be-none-eabi -o - | FileCheck %s --check-prefix=CHECKBE +; RUN: llc < %s -mtriple=aarch64_be -o - | FileCheck %s --check-prefix=CHECKBE define i64 @load32_and16_and(ptr %p, i64 %y) { ; CHECK-LABEL: load32_and16_and: diff --git a/llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll b/llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll --- a/llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll +++ b/llvm/test/CodeGen/AArch64/machine-outliner-outline-bti.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple aarch64--none-eabi < %s | FileCheck %s +; RUN: llc -mtriple aarch64 < %s | FileCheck %s ; The BTI instruction cannot be outlined, because it needs to be the very first ; instruction executed after an indirect call. diff --git a/llvm/test/CodeGen/AArch64/stack-tagging-ex-2.ll b/llvm/test/CodeGen/AArch64/stack-tagging-ex-2.ll --- a/llvm/test/CodeGen/AArch64/stack-tagging-ex-2.ll +++ b/llvm/test/CodeGen/AArch64/stack-tagging-ex-2.ll @@ -27,7 +27,7 @@ ; RUN: opt -S -aarch64-stack-tagging %s -o - | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" -target triple = "aarch64-unknown-unknown-eabi" +target triple = "aarch64" @_ZTIi = external dso_local constant ptr diff --git a/llvm/test/CodeGen/AArch64/tme.ll b/llvm/test/CodeGen/AArch64/tme.ll --- a/llvm/test/CodeGen/AArch64/tme.ll +++ b/llvm/test/CodeGen/AArch64/tme.ll @@ -1,6 +1,6 @@ ; RUN: llc %s -verify-machineinstrs -o - | FileCheck %s -target triple = "aarch64-unknown-unknown-eabi" +target triple = "aarch64" define i64 @test_tstart() #0 { %r = tail call i64 @llvm.aarch64.tstart() diff --git a/llvm/test/DebugInfo/AArch64/big-endian.ll b/llvm/test/DebugInfo/AArch64/big-endian.ll --- a/llvm/test/DebugInfo/AArch64/big-endian.ll +++ b/llvm/test/DebugInfo/AArch64/big-endian.ll @@ -2,7 +2,7 @@ source_filename = "test/DebugInfo/AArch64/big-endian.ll" target datalayout = "E-m:e-i64:64-i128:128-n32:64-S128" -target triple = "aarch64_be--none-eabi" +target triple = "aarch64_be" @a = common global i32 0, align 4, !dbg !0 diff --git a/llvm/test/MC/AArch64/align.s b/llvm/test/MC/AArch64/align.s --- a/llvm/test/MC/AArch64/align.s +++ b/llvm/test/MC/AArch64/align.s @@ -1,5 +1,5 @@ // RUN: llvm-mc -filetype=obj -triple aarch64 %s | llvm-objdump -d - | FileCheck %s -// RUN: llvm-mc -filetype=obj -triple aarch64_be-none-eabi %s | llvm-objdump -d - | FileCheck %s +// RUN: llvm-mc -filetype=obj -triple aarch64_be %s | llvm-objdump -d - | FileCheck %s // CHECK: 0: d2800000 mov x0, #0 // CHECK: 4: d2800000 mov x0, #0 diff --git a/llvm/test/MC/AArch64/directive-arch-negative.s b/llvm/test/MC/AArch64/directive-arch-negative.s --- a/llvm/test/MC/AArch64/directive-arch-negative.s +++ b/llvm/test/MC/AArch64/directive-arch-negative.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s .arch axp64 # CHECK: error: unknown arch name diff --git a/llvm/test/MC/AArch64/directive-arch.s b/llvm/test/MC/AArch64/directive-arch.s --- a/llvm/test/MC/AArch64/directive-arch.s +++ b/llvm/test/MC/AArch64/directive-arch.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s +// RUN: llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s .arch armv8-a+crypto diff --git a/llvm/test/MC/AArch64/directive-cpu.s b/llvm/test/MC/AArch64/directive-cpu.s --- a/llvm/test/MC/AArch64/directive-cpu.s +++ b/llvm/test/MC/AArch64/directive-cpu.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s +// RUN: llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s .cpu generic fminnm d0, d0, d1 diff --git a/llvm/test/MC/AArch64/directive-variant_pcs-err.s b/llvm/test/MC/AArch64/directive-variant_pcs-err.s --- a/llvm/test/MC/AArch64/directive-variant_pcs-err.s +++ b/llvm/test/MC/AArch64/directive-variant_pcs-err.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s // CHECK: [[#@LINE+1]]:13: error: expected symbol name .variant_pcs diff --git a/llvm/test/MC/AArch64/error-location-during-layout.s b/llvm/test/MC/AArch64/error-location-during-layout.s --- a/llvm/test/MC/AArch64/error-location-during-layout.s +++ b/llvm/test/MC/AArch64/error-location-during-layout.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s .section a .space 8 diff --git a/llvm/test/MC/AArch64/error-location-ldr-pseudo.s b/llvm/test/MC/AArch64/error-location-ldr-pseudo.s --- a/llvm/test/MC/AArch64/error-location-ldr-pseudo.s +++ b/llvm/test/MC/AArch64/error-location-ldr-pseudo.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s .text // CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: expected relocatable expression diff --git a/llvm/test/MC/AArch64/error-location-post-layout.s b/llvm/test/MC/AArch64/error-location-post-layout.s --- a/llvm/test/MC/AArch64/error-location-post-layout.s +++ b/llvm/test/MC/AArch64/error-location-post-layout.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s .set v1, -undef // CHECK: 3:12: error: expression could not be evaluated diff --git a/llvm/test/MC/AArch64/error-location.s b/llvm/test/MC/AArch64/error-location.s --- a/llvm/test/MC/AArch64/error-location.s +++ b/llvm/test/MC/AArch64/error-location.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s // Note: These errors are not always emitted in the order in which the relevant // source appears, this file is carefully ordered so that that is the case. diff --git a/llvm/test/MC/AArch64/fixup-absolute-signed.s b/llvm/test/MC/AArch64/fixup-absolute-signed.s --- a/llvm/test/MC/AArch64/fixup-absolute-signed.s +++ b/llvm/test/MC/AArch64/fixup-absolute-signed.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o - | llvm-objdump --no-print-imm-hex -d - | FileCheck %s +// RUN: llvm-mc -triple aarch64 -filetype obj < %s -o - | llvm-objdump --no-print-imm-hex -d - | FileCheck %s onepart_before = 12345 twopart_before = -12345678 diff --git a/llvm/test/MC/AArch64/fixup-absolute.s b/llvm/test/MC/AArch64/fixup-absolute.s --- a/llvm/test/MC/AArch64/fixup-absolute.s +++ b/llvm/test/MC/AArch64/fixup-absolute.s @@ -1,4 +1,4 @@ -// RUN: llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o - | llvm-objdump --no-print-imm-hex -d - | FileCheck %s +// RUN: llvm-mc -triple aarch64 -filetype obj < %s -o - | llvm-objdump --no-print-imm-hex -d - | FileCheck %s onepart_before = 0x1234 twopart_before = 0x12345678 diff --git a/llvm/test/MC/AArch64/fixup-out-of-range-edge.s b/llvm/test/MC/AArch64/fixup-out-of-range-edge.s --- a/llvm/test/MC/AArch64/fixup-out-of-range-edge.s +++ b/llvm/test/MC/AArch64/fixup-out-of-range-edge.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s // COM: Edge case testing for branches and ADR[P] // CHECK-LABEL: :{{[0-9]+}}:{{[0-9]+}}: error: fixup value out of range diff --git a/llvm/test/MC/AArch64/fixup-out-of-range.s b/llvm/test/MC/AArch64/fixup-out-of-range.s --- a/llvm/test/MC/AArch64/fixup-out-of-range.s +++ b/llvm/test/MC/AArch64/fixup-out-of-range.s @@ -1,4 +1,4 @@ -// RUN: not llvm-mc -triple aarch64--none-eabi -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s +// RUN: not llvm-mc -triple aarch64 -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s // RUN: not llvm-mc -triple aarch64-windows -filetype obj < %s -o /dev/null 2>&1 | FileCheck %s -check-prefixes=CHECK,CHECK-WIN // CHECK: :[[@LINE+1]]:{{[0-9]+}}: error: fixup value out of range diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/maximize-bandwidth-invalidate.ll b/llvm/test/Transforms/LoopVectorize/AArch64/maximize-bandwidth-invalidate.ll --- a/llvm/test/Transforms/LoopVectorize/AArch64/maximize-bandwidth-invalidate.ll +++ b/llvm/test/Transforms/LoopVectorize/AArch64/maximize-bandwidth-invalidate.ll @@ -4,7 +4,7 @@ ; RUN: opt < %s -passes=loop-vectorize -vectorizer-maximize-bandwidth -S -debug-only=loop-vectorize 2>&1 -disable-output | FileCheck %s --check-prefix=COST target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" -target triple = "aarch64-none-unknown-eabi" +target triple = "aarch64" ; Check that the maximize vector bandwidth option does not give incorrect costs ; due to invalid cost decisions. The loop below has a low maximum trip count,