[llvm] [mlir] [clang] [AMDGPU] - Add address space for strided buffers (PR #74471)

Krzysztof Drewniak via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 07:13:24 PST 2023


krzysz00 wrote:

I'm going to ask the annoying questions:
1. Isn't a strided buffer one where the field that's named something like `stride` (bits 61:48 or 63:48) is non-zero
2. And therefore it uses structured buffers and the `llvm.struct[.ptr].buffer.*` intrinsics?
3. So, with LLVM's gep, how do you tell which field you're GEPing on to?
4. Therefore, is 32-bit index length the right one?

https://github.com/llvm/llvm-project/pull/74471


More information about the cfe-commits mailing list