[PATCH] D51313: [LV] Fix code gen for conditionally executed uniform loads

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 11:23:13 PDT 2018


anna updated this revision to Diff 163148.
anna added a comment.

addressed review comments - we make sure that the vectorization also uses the cost decision of gather/scatter
instead of scalarizing.
Also, handles the original bug of generating incorrect code for conditional uniform loads.


Repository:
  rL LLVM

https://reviews.llvm.org/D51313

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/X86/gather_scatter.ll
  test/Transforms/LoopVectorize/X86/invariant-load-gather.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51313.163148.patch
Type: text/x-patch
Size: 64476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/a986ed4e/attachment.bin>


More information about the llvm-commits mailing list