[llvm] ARM: Start moving runtime libcall configuration out of TargetLowering (PR #142617)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 15:01:59 PDT 2025


================
@@ -31,6 +31,56 @@ static void setAArch64LibcallNames(RuntimeLibcallsInfo &Info,
   }
 }
 
+static void setARMLibcallNames(RuntimeLibcallsInfo &Info, const Triple &TT) {
+  // Register based DivRem for AEABI (RTABI 4.2)
+  if (TT.isTargetAEABI() || TT.isAndroid() || TT.isTargetGNUAEABI() ||
+      TT.isTargetMuslAEABI() || TT.isOSWindows()) {
+    if (TT.isOSWindows()) {
----------------
arsenm wrote:

I have most of a patch to replace this with tablegenerated code so I don't want to put too much effort into making it nice 

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


More information about the llvm-commits mailing list