[llvm] cd8c3bd - [ARM] Fix after #153394 (#153561)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 14 02:00:22 PDT 2025
Author: Jan Patrick Lehr
Date: 2025-08-14T11:00:19+02:00
New Revision: cd8c3bdf1455d01f0ec23f80c03f84fdf0706f9a
URL: https://github.com/llvm/llvm-project/commit/cd8c3bdf1455d01f0ec23f80c03f84fdf0706f9a
DIFF: https://github.com/llvm/llvm-project/commit/cd8c3bdf1455d01f0ec23f80c03f84fdf0706f9a.diff
LOG: [ARM] Fix after #153394 (#153561)
This removes two double definitions.
Added:
Modified:
llvm/include/llvm/IR/RuntimeLibcalls.td
Removed:
################################################################################
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> {
More information about the llvm-commits
mailing list