[llvm] 1b6d3bd - [X86] foldMaskedMergeImpl - pass SDLoc by const reference not value.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 05:27:42 PDT 2022
Author: Simon Pilgrim
Date: 2022-06-07T12:36:30+01:00
New Revision: 1b6d3bdc82ba9160b4c6f0c1db4b086f79b1df4e
URL: https://github.com/llvm/llvm-project/commit/1b6d3bdc82ba9160b4c6f0c1db4b086f79b1df4e
DIFF: https://github.com/llvm/llvm-project/commit/1b6d3bdc82ba9160b4c6f0c1db4b086f79b1df4e.diff
LOG: [X86] foldMaskedMergeImpl - pass SDLoc by const reference not 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 82792564e7bde..8a8d8053ae0f1 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -47787,8 +47787,8 @@ static SDValue combineOrCmpEqZeroToCtlzSrl(SDNode *N, SelectionDAG &DAG,
}
static SDValue foldMaskedMergeImpl(SDValue And0_L, SDValue And0_R,
- SDValue And1_L, SDValue And1_R, SDLoc DL,
- SelectionDAG &DAG) {
+ SDValue And1_L, SDValue And1_R,
+ const SDLoc &DL, SelectionDAG &DAG) {
if (!isBitwiseNot(And0_L, true) || !And0_L->hasOneUse())
return SDValue();
SDValue NotOp = And0_L->getOperand(0);
More information about the llvm-commits
mailing list