So llvm.amdgcn.global.prefetch is basically a normal prefetch except that it lets you set cache control modes and has some relaxation of whether or not the memory needs to be valid.
We need an amdgpu-dialect wrapper around this so I can make it work on memrefs.
So
llvm.amdgcn.global.prefetchis basically a normal prefetch except that it lets you set cache control modes and has some relaxation of whether or not the memory needs to be valid.We need an amdgpu-dialect wrapper around this so I can make it work on memrefs.