[X86] foldMaskedMergeImpl - pass SDLoc by const reference not value.

This commit is contained in:
Simon Pilgrim 2022-06-07 12:36:30 +01:00
parent 19647e5b3b
commit 1b6d3bdc82
1 changed files with 2 additions and 2 deletions

View File

@ -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);