[llvm] [SLP] Fix -Wunused-lambda-capture in #223016 (PR #223053)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 11 13:47:31 PDT 2026
================
@@ -33450,6 +33450,10 @@ bool SLPVectorizerPass::vectorizeNonVectorizableInsts(
Changed |= tryToVectorizeSequence<Value>(
Operands, OperandSorter, AreCompatibleOperands,
[this, &R, Limit](ArrayRef<Value *> Candidates, bool MaxVFOnly) {
----------------
alexey-bataev wrote:
What about just `[this, &R, Lambda=Lambda]`?
https://github.com/llvm/llvm-project/pull/223053
More information about the llvm-commits
mailing list