[PATCH] D98882: [LoopVectorize] Support widening memory ops with irregular types
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 8 06:49:38 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/include/llvm/IR/DataLayout.h:519
+ /// store size.
+ bool typeSizeEqualsAllocSize(Type *Ty) const {
+ return getTypeSizeInBits(Ty) == getTypeAllocSizeInBits(Ty);
----------------
lebedev.ri wrote:
> Split this into a preparatory patch?
... and replace `hasIrregularType()` in `LoopVectorize.cpp` with this check?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98882/new/
https://reviews.llvm.org/D98882
More information about the llvm-commits
mailing list