[PATCH] D30247: Epilog loop vectorization

Ashutosh Nema via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 00:58:38 PST 2017


ashutosh.nema updated this revision to Diff 90657.
ashutosh.nema added a comment.

This change includes:

a) Code refactoring.

b) Removed call to loop vectorizer’s legality before widening epilog loop as legality is already proven for scalar loop while generating first vector version, it’s not required to prove again as scalar body has not changed. Epilog vectorization will depend on already computed legality.

c) Added tests.


Repository:
  rL LLVM

https://reviews.llvm.org/D30247

Files:
  include/llvm/Transforms/Utils/LoopVersioning.h
  lib/Transforms/Utils/LoopVersioning.cpp
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/epilogvec1.ll
  test/Transforms/LoopVectorize/epilogvec2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30247.90657.patch
Type: text/x-patch
Size: 34546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170306/40610404/attachment.bin>


More information about the llvm-commits mailing list