Skip to content

Commit

Permalink
[X86] LowerFP_TO_INT - remove duplicate SDLoc. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed May 13, 2024
1 parent b5da0cd commit 0cc6023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/X86/X86ISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21171,8 +21171,8 @@ SDValue X86TargetLowering::LowerFP_TO_INT(SDValue Op, SelectionDAG &DAG) const {
LC = RTLIB::getFPTOUINT(SrcVT, VT);

MakeLibCallOptions CallOptions;
std::pair<SDValue, SDValue> Tmp = makeLibCall(DAG, LC, VT, Src, CallOptions,
SDLoc(Op), Chain);
std::pair<SDValue, SDValue> Tmp =
makeLibCall(DAG, LC, VT, Src, CallOptions, dl, Chain);

if (IsStrict)
return DAG.getMergeValues({ Tmp.first, Tmp.second }, dl);
Expand Down

0 comments on commit 0cc6023

Please sign in to comment.