[PATCH] D141836: [AArch64] Disable __muloti4 libcalls for AArch64

Christopher Di Bella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 25 11:54:25 PST 2023


cjdb added a comment.

In D141836#4080778 <https://reviews.llvm.org/D141836#4080778>, @echristo wrote:

> I would hypothesize that the number of platforms where compiler-rt is used to link aarch64 code is greater than the number that don't and there's work to make linking with compiler-rt (https://github.com/llvm/llvm-project/tree/main/llvm-libgcc) in order to replace uses on other platforms. In addition, while my employment meant I couldn't add this to libgcc in the past there's no reason why it couldn't be added as well. Has anyone tried?

+1 to trying to add these to libgcc instead of removing from compiler-rt. Both ChromeOS and FreeBSD use llvm-libgcc to make compiler-rt appear as if it is libgcc (but it's still compiler-rt), and this may have unintended consequences. I suspect that there are more systems that do this too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141836/new/

https://reviews.llvm.org/D141836



More information about the llvm-commits mailing list