[llvm] 2b98880 - DAG: Fix broken patch split
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 06:07:35 PDT 2023
Author: Matt Arsenault
Date: 2023-06-30T09:07:23-04:00
New Revision: 2b988801c9ea1c610308b2c8e63423fb25834318
URL: https://github.com/llvm/llvm-project/commit/2b988801c9ea1c610308b2c8e63423fb25834318
DIFF: https://github.com/llvm/llvm-project/commit/2b988801c9ea1c610308b2c8e63423fb25834318.diff
LOG: DAG: Fix broken patch split
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 2206967e3cba5..187f3f0deab65 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -2121,7 +2121,7 @@ void SelectionDAGLegalize::ExpandFrexpLibCall(
TargetLowering::ArgListTy Args = {FPArgEntry, PtrArgEntry};
RTLIB::Libcall LC = RTLIB::getFREXP(VT);
- SDValue Call = ExpandLibCall(LC, Node, std::move(Args), false).first;
+ auto [Chain, Call] = ExpandLibCall(LC, Node, std::move(Args), false);
Results.push_back(Call);
More information about the llvm-commits
mailing list