Author: Andrzej WarzyƄski
Date: 2026-09-03T13:14:50+01:00
New Revision: e0b632040e6c141b1540c14d1106dbe69a924f81

URL: 
https://github.com/llvm/llvm-project/commit/e0b632040e6c141b1540c14d1106dbe69a924f81
DIFF: 
https://github.com/llvm/llvm-project/commit/e0b632040e6c141b1540c14d1106dbe69a924f81.diff

LOG: [Clang][CIR] Unify RUN lines in AArch64 tests for Neon (#220538)

Makes sure that we consistently use `%clang_cc1_cg_arm64_neon` in all
tests.

Added: 
    

Modified: 
    clang/test/CodeGen/AArch64/neon/f16-getset.c
    clang/test/CodeGen/AArch64/neon/perm.c
    clang/test/CodeGen/AArch64/neon/vpaddl.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/AArch64/neon/f16-getset.c 
b/clang/test/CodeGen/AArch64/neon/f16-getset.c
index 7e4d56c4a0a40..6da9eeb528bf9 100644
--- a/clang/test/CodeGen/AArch64/neon/f16-getset.c
+++ b/clang/test/CodeGen/AArch64/neon/f16-getset.c
@@ -1,8 +1,8 @@
 // REQUIRES: aarch64-registered-target || arm-registered-target
 
-// RUN:                   %clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -target-feature +fullfp16 -disable-O0-optnone 
-flax-vector-conversions=none           -emit-llvm -o - %s | opt -S 
-passes=mem2reg,sroa | FileCheck %s --check-prefixes=ALL,LLVM
-// RUN: %if cir-enabled %{%clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -target-feature +fullfp16 -disable-O0-optnone 
-flax-vector-conversions=none -fclangir -emit-llvm -o - %s | opt -S 
-passes=mem2reg,sroa | FileCheck %s --check-prefixes=ALL,LLVM %}
-// RUN: %if cir-enabled %{%clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -target-feature +fullfp16 -disable-O0-optnone 
-flax-vector-conversions=none -fclangir -emit-cir  -o - %s |                    
           FileCheck %s --check-prefixes=ALL,CIR %}
+// RUN:                   %clang_cc1_cg_arm64_neon -target-feature +fullfp16 
-disable-O0-optnone           -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa 
| FileCheck %s --check-prefixes=ALL,LLVM
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -target-feature +fullfp16 
-disable-O0-optnone -fclangir -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa 
| FileCheck %s --check-prefixes=ALL,LLVM %}
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -target-feature +fullfp16 
-disable-O0-optnone -fclangir -emit-cir  -o - %s |                              
 FileCheck %s --check-prefixes=ALL,CIR %}
 
 #include <arm_neon.h>
 

diff  --git a/clang/test/CodeGen/AArch64/neon/perm.c 
b/clang/test/CodeGen/AArch64/neon/perm.c
index 433084af7e479..d18ce4bc4d4ee 100644
--- a/clang/test/CodeGen/AArch64/neon/perm.c
+++ b/clang/test/CodeGen/AArch64/neon/perm.c
@@ -1,8 +1,8 @@
 // REQUIRES: aarch64-registered-target || arm-registered-target
 
-// RUN:                   %clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -disable-O0-optnone -flax-vector-conversions=none         
  -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa,instcombine | FileCheck %s 
--check-prefixes=LLVM
-// RUN: %if cir-enabled %{%clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -disable-O0-optnone -flax-vector-conversions=none 
-fclangir -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa,instcombine | 
FileCheck %s --check-prefixes=LLVM %}
-// RUN: %if cir-enabled %{%clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -disable-O0-optnone -flax-vector-conversions=none 
-fclangir -emit-cir  -o - %s |                               FileCheck %s 
--check-prefixes=CIR %}
+// RUN:                   %clang_cc1_cg_arm64_neon -disable-O0-optnone 
-flax-vector-conversions=none           -emit-llvm -o - %s | opt -S 
-passes=mem2reg,sroa,instcombine | FileCheck %s --check-prefixes=LLVM
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -disable-O0-optnone 
-flax-vector-conversions=none -fclangir -emit-llvm -o - %s | opt -S 
-passes=mem2reg,sroa,instcombine | FileCheck %s --check-prefixes=LLVM %}
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -disable-O0-optnone 
-flax-vector-conversions=none -fclangir -emit-cir  -o - %s |                    
           FileCheck %s --check-prefixes=CIR %}
 
 //=============================================================================
 // NOTES

diff  --git a/clang/test/CodeGen/AArch64/neon/vpaddl.c 
b/clang/test/CodeGen/AArch64/neon/vpaddl.c
index 9b7413f96b9e3..89555c4c6b59c 100644
--- a/clang/test/CodeGen/AArch64/neon/vpaddl.c
+++ b/clang/test/CodeGen/AArch64/neon/vpaddl.c
@@ -1,8 +1,8 @@
 // REQUIRES: aarch64-registered-target || arm-registered-target
 
-// RUN:                   %clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -disable-O0-optnone -flax-vector-conversions=none         
  -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s 
--check-prefixes=LLVM
-// RUN: %if cir-enabled %{%clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -disable-O0-optnone -flax-vector-conversions=none 
-fclangir -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s 
--check-prefixes=LLVM %}
-// RUN: %if cir-enabled %{%clang_cc1 -triple arm64-none-linux-gnu 
-target-feature +neon -disable-O0-optnone -flax-vector-conversions=none 
-fclangir -emit-cir  -o - %s |                               FileCheck %s 
--check-prefixes=CIR %}
+// RUN:                   %clang_cc1_cg_arm64_neon -disable-O0-optnone         
  -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s 
--check-prefixes=LLVM
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -disable-O0-optnone 
-fclangir -emit-llvm -o - %s | opt -S -passes=mem2reg,sroa | FileCheck %s 
--check-prefixes=LLVM %}
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -disable-O0-optnone 
-fclangir -emit-cir  -o - %s |                               FileCheck %s 
--check-prefixes=CIR %}
 
 #include <arm_neon.h>
 


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to