[clang] [AArch64][SME2] Add multi-vector builtins for cvt (PR #74450)

Dinar Temirbulatov via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 6 03:40:02 PST 2023


================
@@ -0,0 +1,242 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
+
+// REQUIRES: aarch64-registered-target
+
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +sme2 -target-feature +bf16 -S -disable-O0-optnone -Werror -Wall -emit-llvm -o - %s | opt -S -p mem2reg,instcombine,tailcallelim | FileCheck %s
+// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +sme2 -target-feature +bf16 -S -disable-O0-optnone -Werror -Wall -emit-llvm -o - -x c++ %s | opt -S -p mem2reg,instcombine,tailcallelim | FileCheck %s -check-prefix=CPP-CHECK
+// RUN: %clang_cc1  -D__SVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +sme2 -target-feature +bf16 -S -disable-O0-optnone -Werror -Wall -emit-llvm -o - %s | opt -S -p mem2reg,instcombine,tailcallelim | FileCheck %s
----------------
dtemirbulatov wrote:

I used **-target-feature +b16b16** for BF16 support, not sure now how correct now, I am waiting for Carol to resolve a correct nameing after that I can rebase my change. 

https://github.com/llvm/llvm-project/pull/74450


More information about the cfe-commits mailing list