[PATCH] D50665: [LV][LAA] Vectorize loop invariant values stored into loop invariant address

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 14:29:56 PDT 2018


anna created this revision.
anna added reviewers: anemet, Ayal, mkuper, mssimpso.

We are overly conservative in loop vectorizer with respect to stores to loop
invariant addresses.
More details in https://bugs.llvm.org/show_bug.cgi?id=38546
This is the first part of the fix where we start with vectorizing loop invariant
values to loop invariant addresses.


Repository:
  rL LLVM

https://reviews.llvm.org/D50665

Files:
  include/llvm/Analysis/LoopAccessAnalysis.h
  lib/Analysis/LoopAccessAnalysis.cpp
  lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  test/Transforms/LoopVectorize/invariant-store-vectorization.ll
  test/Transforms/LoopVectorize/pr31190.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50665.160448.patch
Type: text/x-patch
Size: 6642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180813/2f68bd30/attachment.bin>


More information about the llvm-commits mailing list