[llvm] 8917d52 - [X86] createSetFPEnvNodes - pass SDLoc by reference instead of value.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 06:06:46 PDT 2024
Author: Simon Pilgrim
Date: 2024-07-17T14:05:56+01:00
New Revision: 8917d52938b907b00fced24506708b381f472890
URL: https://github.com/llvm/llvm-project/commit/8917d52938b907b00fced24506708b381f472890
DIFF: https://github.com/llvm/llvm-project/commit/8917d52938b907b00fced24506708b381f472890.diff
LOG: [X86] createSetFPEnvNodes - pass SDLoc by reference instead of value.
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 64303130922bd..881e06e5f78b4 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -27837,7 +27837,7 @@ SDValue X86TargetLowering::LowerGET_FPENV_MEM(SDValue Op,
return Chain;
}
-static SDValue createSetFPEnvNodes(SDValue Ptr, SDValue Chain, SDLoc DL,
+static SDValue createSetFPEnvNodes(SDValue Ptr, SDValue Chain, const SDLoc &DL,
EVT MemVT, MachineMemOperand *MMO,
SelectionDAG &DAG,
const X86Subtarget &Subtarget) {
More information about the llvm-commits
mailing list