[PATCH] D19487: [LV] Reallow interleaved load groups with gaps

Matthew Simpson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 14:33:04 PDT 2016


mssimpso updated this revision to Diff 54909.
mssimpso added a comment.

Addressed Silviu's comments.

Silviu, I think this revision addresses both of your comments about the peeling. I now only peel if TC % Step is zero. If the mod is zero, we know that TC >= Step, so the subtraction should not overflow. And we also know that there wouldn't already be scalar iterations due to Step not evenly dividing TC. Thanks for the feedback!


http://reviews.llvm.org/D19487

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/interleaved-accesses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19487.54909.patch
Type: text/x-patch
Size: 7256 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160425/639760b3/attachment.bin>


More information about the llvm-commits mailing list