[PATCH] D97465: [LoopVectorize] Refine hasIrregularType predicate

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 11:50:53 PST 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:376
 /// element of the corresponding vector type at the given vectorization factor.
 static bool hasIrregularType(Type *Ty, const DataLayout &DL, ElementCount VF) {
   // Determine if an array of VF elements of type Ty is "bitcast compatible"
----------------
Should we remove the unused VF argument?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97465



More information about the llvm-commits mailing list