[llvm] ARM: Move remaining half convert libcall config into tablegen (PR #153408)

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 17:50:31 PDT 2025


================
@@ -1497,6 +1490,27 @@ def ARMHalfConvertLibcallCallingConv : LibcallCallingConv<
     (isAAPCS_ABI(TT, ABIName) ? CallingConv::ARM_AAPCS : CallingConv::ARM_APCS)}]
 >;
 
+def ARMLibgccHalfConvertCalls :
+  LibcallImpls<(add __truncsfhf2, __extendhfsf2),
+    RuntimeLibcallPredicate<[{!TT.isTargetAEABI() && TT.isOSBinFormatMachO()}]>> {
----------------
compnerd wrote:

Sadly that test coverage is missing the cases for MachO/WatchABI. Would you mind adding a few cases to ensure that that the WatchOS ABI targets are properly handled?

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


More information about the llvm-commits mailing list