[compiler-rt] [cmake][compiler-rt][darwin] builtin libraries don't build for armv6m in Darwin (PR #195372)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 16:52:49 PDT 2026


================
@@ -156,7 +156,13 @@ DEFINE_COMPILERRT_FUNCTION(__aeabi_cdrcmple)
         mov r1, r3
         mov r3, ip
 
+#if defined(USE_THUMB_1)
+        push {lr}
+        bl __aeabi_cdcmple
+        pop {pc}
----------------
jroelofs wrote:

regs are 32 bit, but AAPCS wants the stack to be 8-byte aligned

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


More information about the llvm-commits mailing list