[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:16:37 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:
Is the `defined(__aarch64__)` needed here? The file is in the aarch64 subdirectory so I would assume that is always true?
https://github.com/llvm/llvm-project/pull/111235
More information about the cfe-commits
mailing list