[llvm] [AMDGPU] Allow null operands in VImage tensor instructions (PR #200911)

Ryan Mitchell via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 06:35:48 PDT 2026


================
@@ -26,6 +26,18 @@ tensor_store_from_lds s[0:3], s[4:11] th:TH_STORE_BYPASS scope:SCOPE_SYS
 // GFX12-ERR: :[[@LINE-1]]:1: error: instruction not supported on this GPU (gfx1200): tensor_store_from_lds
 // GFX1250: tensor_store_from_lds s[0:3], s[4:11] th:TH_STORE_BYPASS scope:SCOPE_SYS ; encoding: [0x01,0x40,0x71,0xd0,0x00,0x00,0x3c,0x7c,0x00,0x04,0x7c,0x7c]
 
+tensor_store_from_lds s[0:3], s[4:11], null, null th:TH_STORE_NT_HT scope:SCOPE_DEV
----------------
RyanRio wrote:

Are we missing something about the reasoning for this in the tablegen -   

let dmask = 1; // sp3
  let dim = 1;   // sp3

@rampitec @changpeng 

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


More information about the llvm-commits mailing list