[llvm] [ARM] Fix after #153394 (PR #153561)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 14 01:59:13 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-ir
Author: Jan Patrick Lehr (jplehr)
<details>
<summary>Changes</summary>
This removes two double definitions.
---
Full diff: https://github.com/llvm/llvm-project/pull/153561.diff
1 Files Affected:
- (modified) llvm/include/llvm/IR/RuntimeLibcalls.td (-12)
``````````diff
diff --git a/llvm/include/llvm/IR/RuntimeLibcalls.td b/llvm/include/llvm/IR/RuntimeLibcalls.td
index 29eb6485c15da..9072a0aa1531f 100644
--- a/llvm/include/llvm/IR/RuntimeLibcalls.td
+++ b/llvm/include/llvm/IR/RuntimeLibcalls.td
@@ -1482,11 +1482,6 @@ def __aeabi_h2f : RuntimeLibcallImpl<FPEXT_F16_F32>; // CallingConv::ARM_AAPCS
def __gnu_f2h_ieee : RuntimeLibcallImpl<FPROUND_F32_F16>;
def __gnu_h2f_ieee : RuntimeLibcallImpl<FPEXT_F16_F32>;
-def GNUEABIHalfConvertCalls :
- LibcallImpls<(add __gnu_f2h_ieee, __gnu_h2f_ieee),
- RuntimeLibcallPredicate<[{!TT.isOSBinFormatMachO() &&
- !TT.isTargetAEABI()}]>>;
-
// In EABI, these functions have an __aeabi_ prefix, but in GNUEABI
// they have a __gnu_ prefix (which is the default).
def EABIHalfConvertCalls : LibcallImpls<(add __aeabi_f2h, __aeabi_h2f),
@@ -1509,13 +1504,6 @@ def GNUEABIHalfConvertCalls :
let CallingConv = ARMHalfConvertLibcallCallingConv;
}
-// In EABI, these functions have an __aeabi_ prefix, but in GNUEABI
-// they have a __gnu_ prefix (which is the default).
-def EABIHalfConvertCalls : LibcallImpls<(add __aeabi_f2h, __aeabi_h2f),
- isTargetAEABIAndAAPCS_ABI> {
- let CallingConv = ARM_AAPCS;
-}
-
def WindowARMDivRemCalls : LibcallImpls<
(add __rt_sdiv, __rt_sdiv64, __rt_udiv, __rt_udiv64),
isOSWindows> {
``````````
</details>
https://github.com/llvm/llvm-project/pull/153561
More information about the llvm-commits
mailing list