[compiler-rt] [libunwind] [AArch64] Fix nofp regressions in compiler-rt and libunwind (PR #111235)

Alexander Richardson via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 09:17:05 PDT 2024


================
@@ -238,7 +236,8 @@ END_COMPILERRT_OUTLINE_FUNCTION(__arm_sc_memcpy)
 
 DEFINE_COMPILERRT_FUNCTION_ALIAS(__arm_sc_memmove, __arm_sc_memcpy)
 
-
+// This version uses FP registers. Use this only on targets with them
+#if defined(__aarch64__) && __ARM_FP != 0
----------------
arichardson wrote:

```suggestion
#if __ARM_FP != 0
```

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


More information about the cfe-commits mailing list