[PATCH] D97465: [LoopVectorize] Refine hasIrregularType predicate

LemonBoy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 04:14:33 PST 2021


LemonBoy added a subscriber: david-arm.
LemonBoy added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:381
-    auto *VectorTy = VectorType::get(Ty, VF);
-    return TypeSize::get(VF.getKnownMinValue() *
-                             DL.getTypeAllocSize(Ty).getFixedValue(),
----------------
CC @david-arm 
This slightly different formulation of the check was introduced in c5ba0d33cc060cc06a28a5d9101060afd1c0ee9a.


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

https://reviews.llvm.org/D97465



More information about the llvm-commits mailing list