llvm-project
2195fe7e - [AMDGPU] Add the support for 45-bit buffer resource (#159702)

Commit
42 days ago
[AMDGPU] Add the support for 45-bit buffer resource (#159702) On new targets like `gfx1250`, the buffer resource (V#) now uses this format: ``` base (57-bit): resource[56:0] num_records (45-bit): resource[101:57] reserved (6-bit): resource[107:102] stride (14-bit): resource[121:108] ``` This PR changes the type of `num_records` from `i32` to `i64` in both builtin and intrinsic, and also adds the support for lowering the new format. Fixes SWDEV-554034. --------- Co-authored-by: Krzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Author
Parents
Loading