From 13f5971118a9bc6d3f5fdd29151f288b80e73fb6 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 5 Jun 2025 10:33:33 -0700 Subject: [PATCH] [X86] Directly call isShuffleFoldableLoad (NFC) We don't need a lambda here. --- llvm/lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index bbb9c797202e6..e929dab429de5 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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) {