[PATCH] D135591: [SLP]Fix insertpoint of the extractellements instructions to avoid reshuffle crash.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 09:10:28 PDT 2022


RKSimon added a subscriber: dblaikie.
RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:7677
 
-  auto &&FindFirstInst = [E, Front]() {
+  auto &&FindFirstInst = [E, Front, this]() {
     Instruction *FirstInst = Front;
----------------
At what point when extending a capture list should we just use [&]? @dblaikie was commenting on this not so long ago.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135591/new/

https://reviews.llvm.org/D135591



More information about the llvm-commits mailing list