[PATCH] D31490: Support arbitrary address space pointers in masked gather/scatter intrinsics

Elad Cohen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 04:30:29 PDT 2017


eladcohen added a comment.

In https://reviews.llvm.org/D31490#730229, @zvi wrote:

> I might have missed something, but all the examples in the langref and test-cases include only pointers to addspace(0). Maybe change/add tests and example to include non-zero address-spaces?


I have added new test-cases in test/Transforms/LoopVectorize/X86/gather_scatter.ll to check that the Loop Vectorizer can successfully create scatter/gather instructions for pointers in the non-default address space.
I'll add non-default address space examples to the langref - thanks!


https://reviews.llvm.org/D31490





More information about the llvm-commits mailing list