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

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 21 22:22:23 PDT 2018


Ayal added inline comments.


================
Comment at: include/llvm/Analysis/VectorUtils.h:317
+    if (getNumMembers() == getFactor() ||
+        getMember(getFactor() - 1))
+      return false;
----------------
Ayal wrote:
> clang-format?
Suffice to check only `getMember(getFactor() - 1)`.

Could have simply returned it, but for the asserts.


https://reviews.llvm.org/D53420





More information about the llvm-commits mailing list