Skip to content

Commit 7663236

Browse files
committed
Remove CC from other div table
1 parent 9faa10d commit 7663236

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

llvm/lib/IR/RuntimeLibcalls.cpp

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,15 @@ static void setARMLibcallNames(RuntimeLibcallsInfo &Info, const Triple &TT,
5656
const struct {
5757
const RTLIB::Libcall Op;
5858
const RTLIB::LibcallImpl Impl;
59-
const CallingConv::ID CC;
6059
} LibraryCalls[] = {
61-
{RTLIB::SDIVREM_I32, RTLIB::__aeabi_idivmod, CallingConv::ARM_AAPCS},
62-
{RTLIB::SDIVREM_I64, RTLIB::__aeabi_ldivmod, CallingConv::ARM_AAPCS},
63-
{RTLIB::UDIVREM_I32, RTLIB::__aeabi_uidivmod, CallingConv::ARM_AAPCS},
64-
{RTLIB::UDIVREM_I64, RTLIB::__aeabi_uldivmod, CallingConv::ARM_AAPCS},
60+
{RTLIB::SDIVREM_I32, RTLIB::__aeabi_idivmod},
61+
{RTLIB::SDIVREM_I64, RTLIB::__aeabi_ldivmod},
62+
{RTLIB::UDIVREM_I32, RTLIB::__aeabi_uidivmod},
63+
{RTLIB::UDIVREM_I64, RTLIB::__aeabi_uldivmod},
6564
};
6665

67-
for (const auto &LC : LibraryCalls) {
66+
for (const auto &LC : LibraryCalls)
6867
Info.setLibcallImpl(LC.Op, LC.Impl);
69-
Info.setLibcallImplCallingConv(LC.Impl, LC.CC);
70-
}
7168
}
7269
}
7370

0 commit comments

Comments
 (0)