[PATCH] D148279: [SLP]Add final resize to ShuffleCostEstimator::finalize member function and basic add member functions.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 02:37:26 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:7053
+        CommonMask.swap(NewMask);
+      }
+    }
----------------
This looks very similar to the addMask helper - can we use that (possibly with a modification to skip the TermValue logic)?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148279



More information about the llvm-commits mailing list