[llvm] b4393c7 - [X86] FP_TO_INTHelper - remove duplicate SDLoc. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 08:00:45 PDT 2024
Author: Simon Pilgrim
Date: 2024-05-13T16:00:23+01:00
New Revision: b4393c7d7ea538e92428c7769de590615509f8b4
URL: https://github.com/llvm/llvm-project/commit/b4393c7d7ea538e92428c7769de590615509f8b4
DIFF: https://github.com/llvm/llvm-project/commit/b4393c7d7ea538e92428c7769de590615509f8b4.diff
LOG: [X86] FP_TO_INTHelper - remove duplicate SDLoc. NFC.
Added:
Modified:
llvm/lib/Target/X86/X86ISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index bbea2befdcc66..9d13c043c2388 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -20113,7 +20113,7 @@ SDValue X86TargetLowering::FP_TO_INTHelper(SDValue Op, SelectionDAG &DAG,
DAG.getVTList(MVT::Other),
Ops, DstTy, MMO);
- SDValue Res = DAG.getLoad(Op.getValueType(), SDLoc(Op), FIST, StackSlot, MPI);
+ SDValue Res = DAG.getLoad(Op.getValueType(), DL, FIST, StackSlot, MPI);
Chain = Res.getValue(1);
// If we need an unsigned fixup, XOR the result with adjust.
More information about the llvm-commits
mailing list