[PATCH] D53668: [LV] Support vectorization of interleave-groups that require an epilog under optsize using masked wide loads
Dorit Nuzman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 07:17:32 PDT 2018
dorit marked 5 inline comments as done.
dorit added a comment.
Comments addressed. Thanks!
================
Comment at: lib/Analysis/VectorUtils.cpp:520
+ unsigned HasMember = Group.getMember(j) ? 1 : 0;
+ Mask.push_back(Builder.getInt1(HasMember));
+ }
----------------
Ayal wrote:
> Could first "peel" to build a mask for all members, then replicate it VF-1 times. Not sure it's any better.
agreed. left as is.
https://reviews.llvm.org/D53668
More information about the llvm-commits
mailing list