[llvm] [AMDGPU] Support i16 element types for tbuffer D16 load/store (PR #201420)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 09:55:24 PDT 2026


================
@@ -2354,6 +2354,7 @@ defm : MTBUF_LoadIntrinsicPat<SItbuffer_load, v4f32, "TBUFFER_LOAD_FORMAT_XYZW">
 
 let OtherPredicates = [HasUnpackedD16VMem,HasMTBUFInsts] in {
   defm : MTBUF_LoadIntrinsicPat_Common<SItbuffer_load_d16, f16,   "TBUFFER_LOAD_FORMAT_D16_X_gfx80">;
+  defm : MTBUF_LoadIntrinsicPat_Common<SItbuffer_load_d16, i16,   "TBUFFER_LOAD_FORMAT_D16_X_gfx80">;
----------------
aobolensk wrote:

@jayfoad done, thanks for the suggestions

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


More information about the llvm-commits mailing list