Skip to content

Commit cd8c3bd

Browse files
authored
[ARM] Fix after #153394 (#153561)
This removes two double definitions.
1 parent 44e6bc6 commit cd8c3bd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

llvm/include/llvm/IR/RuntimeLibcalls.td

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,11 +1482,6 @@ def __aeabi_h2f : RuntimeLibcallImpl<FPEXT_F16_F32>; // CallingConv::ARM_AAPCS
14821482
def __gnu_f2h_ieee : RuntimeLibcallImpl<FPROUND_F32_F16>;
14831483
def __gnu_h2f_ieee : RuntimeLibcallImpl<FPEXT_F16_F32>;
14841484

1485-
def GNUEABIHalfConvertCalls :
1486-
LibcallImpls<(add __gnu_f2h_ieee, __gnu_h2f_ieee),
1487-
RuntimeLibcallPredicate<[{!TT.isOSBinFormatMachO() &&
1488-
!TT.isTargetAEABI()}]>>;
1489-
14901485
// In EABI, these functions have an __aeabi_ prefix, but in GNUEABI
14911486
// they have a __gnu_ prefix (which is the default).
14921487
def EABIHalfConvertCalls : LibcallImpls<(add __aeabi_f2h, __aeabi_h2f),
@@ -1509,13 +1504,6 @@ def GNUEABIHalfConvertCalls :
15091504
let CallingConv = ARMHalfConvertLibcallCallingConv;
15101505
}
15111506

1512-
// In EABI, these functions have an __aeabi_ prefix, but in GNUEABI
1513-
// they have a __gnu_ prefix (which is the default).
1514-
def EABIHalfConvertCalls : LibcallImpls<(add __aeabi_f2h, __aeabi_h2f),
1515-
isTargetAEABIAndAAPCS_ABI> {
1516-
let CallingConv = ARM_AAPCS;
1517-
}
1518-
15191507
def WindowARMDivRemCalls : LibcallImpls<
15201508
(add __rt_sdiv, __rt_sdiv64, __rt_udiv, __rt_udiv64),
15211509
isOSWindows> {

0 commit comments

Comments
 (0)