================
@@ -2245,3 +2245,9 @@ let ArchGuard = "defined(__aarch64__)", TargetGuard = 
"fp8,neon" in {
   def FSCALE_V128 : WInst<"vscale", "..(.S)", "QdQfQh">;
   def FSCALE_V64 : WInst<"vscale", "(.q)(.q)(.qS)", "fh">;
 }
+
+let ArchGuard = "defined(__aarch64__)", TargetGuard = "fp-armv8" in {
----------------
pvimal816a wrote:

Since all the variants of the intrinsics defined here are NEON specific, should 
not we guard this under `neon` as well? For instance what instruction would 
`vldnpq_s8_x2` lower to in absence of NEON feature?

I wonder If it indeed lowers to 128-bit variant of [LDNP (SIMD & 
FP)](https://support.arm.com/documentation/ddi0602/2026-09/SIMD-FP-Instructions/LDNP--SIMD-FP---Load-pair-of-SIMD-FP-registers--with-non-temporal-hint-?lang=en#Qt1)
 then shouldn't it be under NEON guard?

I think it would be fine to skip NEON guard for 32/64-bit variants of these 
intrinsics but for 128-bit I think they should be under NEON guard.

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

Reply via email to