[clang] [llvm] [mlir] [AMDGPU] Add the support for 45-bit buffer resource (PR #159702)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 19 11:14:18 PDT 2025
================
@@ -1431,7 +1431,7 @@ def int_amdgcn_make_buffer_rsrc : DefaultAttrsIntrinsic <
[llvm_anyptr_ty],
[llvm_anyptr_ty, // base
llvm_i16_ty, // stride (and swizzle control)
- llvm_i32_ty, // NumRecords / extent
+ llvm_i64_ty, // NumRecords / extent
----------------
krzysz00 wrote:
I'd argue this should be variadic - either `i32` or `i64` - so that we don't have to do truncations
https://github.com/llvm/llvm-project/pull/159702
More information about the llvm-commits
mailing list