forked from OSchip/llvm-project
[X86] foldMaskedMergeImpl - pass SDLoc by const reference not value.
This commit is contained in:
parent
19647e5b3b
commit
1b6d3bdc82
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue