[PATCH] D98882: [LoopVectorize] Support widening memory ops with irregular types

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 30 08:53:22 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);
----------------
Split this into a preparatory patch?


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:2812
+    assert(ScalarDataTy->isIntegerTy() &&
+           "Irregular type widening requires integer type");
+
----------------



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

https://reviews.llvm.org/D98882



More information about the llvm-commits mailing list