[PATCH] D19501: Add LoadStoreVectorizer pass

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 09:34:05 PDT 2016


jlebar added a comment.

In http://reviews.llvm.org/D19501#449697, @escha wrote:

> My intuition would be -- if loading using the texture cache doesn't change the result, but rather is just a performance thing, that would seem to be something you'd set with metadata on the instruction, right?


The instruction I have in mind does (potentially) change the result -- the texture cache is noncoherent, so it's only guaranteed to give the same result as a regular load if the data we're loading hasn't been modified since the kernel started.


http://reviews.llvm.org/D19501





More information about the llvm-commits mailing list