[PATCH] D110978: [SLP]Improve gathering of the scalars used in the graph.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 08:04:03 PST 2021


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:4709
         continue;
       unsigned Idx = *EEIdx;
       if (TTIRef.getNumberOfParts(VecTy) !=
----------------
Wshadow warning vs Idx @ Line 4688?


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:4744
       if (TTIRef.getNumberOfParts(EEVTy) > TTIRef.getNumberOfParts(VecTy)) {
         unsigned Idx = (Data.second / NumElts) * NumElts;
         unsigned EENumElts = EEVTy->getNumElements();
----------------
Wshadow warning vs Idx @ Line 4688?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110978



More information about the llvm-commits mailing list