[X86] Directly call isShuffleFoldableLoad (NFC) (#143060)
We don't need a lambda here.
This commit is contained in:
@@ -42914,7 +42914,7 @@ static SDValue combineTargetShuffle(SDValue N, const SDLoc &DL,
|
||||
(SubOps.size() == 2 || (SubOps[2].isUndef() && SubOps[3].isUndef())))
|
||||
return SDValue();
|
||||
// Bail if any subops would have folded into the concat.
|
||||
if (any_of(SubOps, [](SDValue Op) { return isShuffleFoldableLoad(Op); }))
|
||||
if (any_of(SubOps, isShuffleFoldableLoad))
|
||||
return SDValue();
|
||||
// Concat 4x128 back to 2x256.
|
||||
if (SubOps.size() == 4) {
|
||||
|
||||
Reference in New Issue
Block a user