[PATCH] D53420: [IAI, LV] Avoid creating a scalar epilogue due to gaps in interleave-groups when optimizing for size

Dorit Nuzman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 21 23:25:50 PDT 2018


dorit added inline comments.


================
Comment at: include/llvm/Analysis/VectorUtils.h:317
+    if (getNumMembers() == getFactor() ||
+        getMember(getFactor() - 1))
+      return false;
----------------
Ayal wrote:
> Ayal wrote:
> > clang-format?
> Suffice to check only `getMember(getFactor() - 1)`.
> 
> Could have simply returned it, but for the asserts.
right!  missed your response before the commit unfortunately. will commit separately


Repository:
  rL LLVM

https://reviews.llvm.org/D53420





More information about the llvm-commits mailing list