[PATCH] D86371: [CodeGenPrepare][X86] Teach optimizeGatherScatterInst to turn a splat pointer into GEP with scalar base and 0 index

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 13:24:27 PDT 2020


craig.topper updated this revision to Diff 289017.
craig.topper added a comment.

Add gather test cases


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86371/new/

https://reviews.llvm.org/D86371

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/test/CodeGen/X86/masked_gather_scatter.ll
  llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86371.289017.patch
Type: text/x-patch
Size: 14824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200831/09991a3d/attachment.bin>


More information about the llvm-commits mailing list