Skip to content

Commit 678cdd6

Browse files
[X86] Directly call isShuffleFoldableLoad (NFC) (#143060)
We don't need a lambda here.
1 parent 4459745 commit 678cdd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42914,7 +42914,7 @@ static SDValue combineTargetShuffle(SDValue N, const SDLoc &DL,
4291442914
(SubOps.size() == 2 || (SubOps[2].isUndef() && SubOps[3].isUndef())))
4291542915
return SDValue();
4291642916
// Bail if any subops would have folded into the concat.
42917-
if (any_of(SubOps, [](SDValue Op) { return isShuffleFoldableLoad(Op); }))
42917+
if (any_of(SubOps, isShuffleFoldableLoad))
4291842918
return SDValue();
4291942919
// Concat 4x128 back to 2x256.
4292042920
if (SubOps.size() == 4) {

0 commit comments

Comments
 (0)