[PATCH] D113782: [SLP]Improve cost model for the shuffled extracts.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 07:08:30 PST 2021


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:5392
+    APInt CombinedDemandedElts(MaxVF, 0);
+    CombinedDemandedElts |= DemandedElts.front().zextOrSelf(MaxVF);
+    auto *VecTy = FixedVectorType::get(
----------------
RKSimon wrote:
> Why perform the OR with zero?
Replaced by an assignment instead


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113782



More information about the llvm-commits mailing list