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; // CallingConv::ARM_AAPCS def __gnu_f2h_ieee : RuntimeLibcallImpl; def __gnu_h2f_ieee : RuntimeLibcallImpl; -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> {