[llvm] [AMDGPU][MC] Allow null where 128b or larger dst reg is expected (PR #115200)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 02:59:41 PST 2024


================
@@ -809,6 +809,10 @@ def SReg_32 : SIRegisterClass<"AMDGPU", [i32, f32, i16, f16, bf16, v2i16, v2f16,
   let BaseClassOrder = 32;
 }
 
+def SGPR_NULL128 : SIReg<"null">;
----------------
jayfoad wrote:

Nit: is there a good reason why this definition is so different from SGPR_NULL64? Maybe they can be commoned up a bit?

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


More information about the llvm-commits mailing list