[clang] [Clang][AArch64]Add QCVTN builtin to SVE2.1 (PR #75454)

Kerry McLaughlin via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 14 04:04:04 PST 2023


================
@@ -0,0 +1,78 @@
+// 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 +sve2p1 -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 +sve1p1 -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
----------------
kmclaughlin-arm wrote:

This run line uses +sme2, but I think it should only be for sve2p1?

It also contains +sve1p1, which I think is meant to be +sve2p1 :)

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


More information about the cfe-commits mailing list