[compiler-rt] [AArch64][SME] Rewrite __arm_sc_memset to remove invalid instruction (PR #101522)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 06:49:25 PDT 2024


================
@@ -252,7 +252,15 @@ DEFINE_COMPILERRT_FUNCTION_ALIAS(__arm_sc_memmove, __arm_sc_memcpy)
 #define zva_val  x5
 
 DEFINE_COMPILERRT_OUTLINE_FUNCTION_UNMANGLED(__arm_sc_memset)
-        dup     v0.16B, valw
+#  ifdef __ARM_FEATURE_SVE
----------------
sdesmalen-arm wrote:

nit: why the space between the `#` and the` ifdef/else/endif` ?

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


More information about the llvm-commits mailing list