Skip to content
Commit 1b9d6914 authored by Elena Demikhovsky's avatar Elena Demikhovsky
Browse files

Optimization for Gather/Scatter with uniform base

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.

Differential Revision: http://reviews.llvm.org/D11121

llvm-svn: 246622
parent 6f5ec97d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment