[llvm] d8b03f2 - DAG: Use the LibcallImpl to get calling conv in ExpandDivRemLibCall (#172152)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 13 03:41:29 PST 2025
Author: Matt Arsenault
Date: 2025-12-13T11:41:24Z
New Revision: d8b03f282a50fe14511b33a907f740ba92079ace
URL: https://github.com/llvm/llvm-project/commit/d8b03f282a50fe14511b33a907f740ba92079ace
DIFF: https://github.com/llvm/llvm-project/commit/d8b03f282a50fe14511b33a907f740ba92079ace.diff
LOG: DAG: Use the LibcallImpl to get calling conv in ExpandDivRemLibCall (#172152)
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 7606bc8f4a5b6..1630dd783e821 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -2399,7 +2399,7 @@ SelectionDAGLegalize::ExpandDivRemLibCall(SDNode *Node,
TargetLowering::CallLoweringInfo CLI(DAG);
CLI.setDebugLoc(dl)
.setChain(InChain)
- .setLibCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee,
+ .setLibCallee(TLI.getLibcallImplCallingConv(LibcallImpl), RetTy, Callee,
std::move(Args))
.setSExtResult(isSigned)
.setZExtResult(!isSigned);
More information about the llvm-commits
mailing list