================
@@ -0,0 +1,45 @@
+// REQUIRES: aarch64-registered-target
+
+// DEFINE: %{optimize} = opt -passes=mem2reg -S
+
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_sve                        
-fclangir -emit-cir -disable-O0-optnone -o - %s                | FileCheck %s 
--check-prefixes=C,CIR %}
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_sve -DSVE_OVERLOADED_FORMS 
-fclangir -emit-cir -disable-O0-optnone -o - %s                | FileCheck %s 
--check-prefixes=C,CIR %}
+
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_sve                        
-fclangir -emit-llvm -disable-O0-optnone -o -        %s | %{optimize} | 
FileCheck %s --check-prefixes=C,LLVM %}
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_sve -DSVE_OVERLOADED_FORMS 
-fclangir -emit-llvm -disable-O0-optnone -o -        %s | %{optimize} | 
FileCheck %s --check-prefixes=C,LLVM %}
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_sve -DSVE_OVERLOADED_FORMS 
-fclangir -emit-llvm -disable-O0-optnone -o - -x c++ %s | %{optimize} | 
FileCheck %s --check-prefixes=CPP,LLVM %}
+
+// RUN:                   %clang_cc1_cg_arm64_sve                              
    -emit-llvm -disable-O0-optnone -o -        %s | %{optimize} | FileCheck %s 
--check-prefixes=C,LLVM
+// RUN:                   %clang_cc1_cg_arm64_sve -DSVE_OVERLOADED_FORMS       
    -emit-llvm -disable-O0-optnone -o -        %s | %{optimize} | FileCheck %s 
--check-prefixes=C,LLVM
+// RUN:                   %clang_cc1_cg_arm64_sve -DSVE_OVERLOADED_FORMS       
    -emit-llvm -disable-O0-optnone -o - -x c++ %s | %{optimize} | FileCheck %s 
--check-prefixes=CPP,LLVM
+
----------------
iamvickynguyen wrote:

Note: when https://github.com/llvm/llvm-project/pull/227657 is merged, add 
`%clang_cc1_cg_arm64_sme`. May have another PR to address this.

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

Reply via email to