[llvm] [ARM] Fix after #153394 (PR #153561)
Jan Patrick Lehr via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 14 01:58:42 PDT 2025
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/153561
This removes two double definitions.
>From 179d4704058dee7dacc14fb5cc9b11379bce4a4a Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Thu, 14 Aug 2025 03:57:34 -0500
Subject: [PATCH] [ARM] Fix after 153394
This removes two double definitions.
---
llvm/include/llvm/IR/RuntimeLibcalls.td | 12 ------------
1 file changed, 12 deletions(-)
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