[clang] [llvm] [mlir] [AMDGPU] Add a new amdgcn.load.to.lds intrinsic (PR #137425)
Krzysztof Drewniak via cfe-commits
cfe-commits at lists.llvm.org
Thu May 22 08:57:59 PDT 2025
krzysz00 wrote:
@JonChesterfield This builtin, semantically, cannot accommodate the v4i32 usage
When you have a v4i32, you need to also specify, as an additional argument, the `voffset` that gets used to index into that v4i32. This builtin doesn't have room for that, because it takes either a global pointer (which doesn't have a notion of the offset) or a buffer fat pointer (which has the offset stored in the low bits of the pointer and is, in some sense, a v5i32)
https://github.com/llvm/llvm-project/pull/137425
More information about the cfe-commits
mailing list