[clang] Fix "[AArch64] Implement NEON vscale intrinsics" (PR #110136)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 26 08:55:55 PDT 2024


https://github.com/Lukacma created https://github.com/llvm/llvm-project/pull/110136

This patch fixes failure of  acle_neon_fscale.c in non-aarch64 targets.

>From 32586c6e8ad4bab6bb27c85c30868ff34064f4a2 Mon Sep 17 00:00:00 2001
From: Lukacma <Marian.Lukac at arm.com>
Date: Thu, 26 Sep 2024 16:53:51 +0100
Subject: [PATCH] Update acle_neon_fscale.c

---
 .../test/CodeGen/aarch64-neon-fp8-intrinsics/acle_neon_fscale.c  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clang/test/CodeGen/aarch64-neon-fp8-intrinsics/acle_neon_fscale.c b/clang/test/CodeGen/aarch64-neon-fp8-intrinsics/acle_neon_fscale.c
index b50d30876a7c51..2fba776c30ccf1 100644
--- a/clang/test/CodeGen/aarch64-neon-fp8-intrinsics/acle_neon_fscale.c
+++ b/clang/test/CodeGen/aarch64-neon-fp8-intrinsics/acle_neon_fscale.c
@@ -1,3 +1,4 @@
+// REQUIRES: aarch64-registered-target
 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 4
 #include <arm_neon.h>
 



More information about the cfe-commits mailing list