[PATCH] D31416: [Scalarizer] Handle scalar arguments in vector GEP
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 28 00:16:01 PDT 2017
uabelho created this revision.
Herald added a subscriber: wdng.
Triggered by commit r298620: "[LV] Vectorize GEPs".
If we encounter a vector GEP with scalar arguments, we splat the scalar
into a vector of appropriate size before we scatter the argument.
https://reviews.llvm.org/D31416
Files:
lib/Transforms/Scalar/Scalarizer.cpp
test/Transforms/Scalarizer/vector-gep.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31416.93216.patch
Type: text/x-patch
Size: 5548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170328/98cb9a8d/attachment.bin>
More information about the llvm-commits
mailing list