[llvm] AArch64: Use LibcallLoweringInfo in MachineSMEABI pass (PR #176777)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 19 10:07:23 PST 2026
================
@@ -413,14 +414,25 @@ struct MachineSMEABI : public MachineFunctionPass {
void restorePhyRegSave(const PhysRegSave &RegSave, MachineBasicBlock &MBB,
MachineBasicBlock::iterator MBBI, DebugLoc DL);
+ RTLIB::LibcallImpl getLibcallImpl(RTLIB::Libcall LC) const {
----------------
arsenm wrote:
> Okay, call it getSymbolName then. I don't really see the point of making each callsite more verbose when all they want is the symbol/libcall name.
Because libcalls do not have names, LibcallImpls do. Everything should use getLibcallImplName, which returns StringRef
https://github.com/llvm/llvm-project/pull/176777
More information about the llvm-commits
mailing list