[PATCH] D38645: [NVPTX] Implemented wmma intrinsics and instructions.

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 11 14:05:54 PDT 2017


jlebar added a comment.

> What if the addrspacecast() is in a different basic block?

Thinking about this more, most or all of the time we should be able to pattern match on the address space of the pointer operand to the load/store, no messing around following chains of addrspacecast.

Right now we'd have to add the intrinsics to rewriteIntrinsicOperands in InferAddressSpaces, but there's a TODO in there to improve that.


https://reviews.llvm.org/D38645





More information about the llvm-commits mailing list