[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:28:19 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:
True - variable-width int + "zero-extend or truncate as needed" feels more flexible but ... yeah, not that big a deal
https://github.com/llvm/llvm-project/pull/159702
More information about the llvm-commits
mailing list