[PATCH] D11121: Optimization for Gather/Scatter with uniform base

Elena Demikhovsky elena.demikhovsky at intel.com
Sun Jul 12 02:19:32 PDT 2015


delena created this revision.
delena added a reviewer: ab.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.

Vector 'getelementptr' with scalar base is an opportunity for gather/scatter intrinsic to generate a better sequence.
While looking for uniform base, we want to use the scalar base pointer of GEP, if exists. 

Repository:
  rL LLVM

http://reviews.llvm.org/D11121

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/X86/masked_gather_scatter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11121.29518.patch
Type: text/x-patch
Size: 8411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150712/ab7b27fe/attachment.bin>


More information about the llvm-commits mailing list