[PATCH] D19501: Add LoadStoreVectorizer pass

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 13:43:09 PDT 2016


jlebar added a comment.

Another question I have is: NVPTX has some vectorizable load instructions -- notably ld.global.nc, which means, load from the global address space using the texture cache -- that are modeled as as llvm intrinsics, so they don't get merged by this pass.  I wonder what's the portable way to teach this pass about these loads.  Like, should they be modeled in LLVM as regular load instructions with some sort of annotation, instead of as an LLVM intrinsic?


http://reviews.llvm.org/D19501





More information about the llvm-commits mailing list