[PATCH] D113792: [SLP]Adjust GEP indices types when trying to build entries.

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 11:43:22 PST 2021


vporpo added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:3883
+      TE->setOperand(0, Operands.front());
+      // Need to cast all indices to the same type before vectorization to
+      // avoid crash.
----------------
Update comment explaining why this is done here instead of VectorizeTree() ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113792



More information about the llvm-commits mailing list