[llvm] [AMDGPU][MC] Improve error message for missing dim operand (PR #96588)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 08:25:13 PDT 2024


================
@@ -1089,7 +1089,7 @@ def exp_vm : NamedBitOperand<"vm", "ExpVM">;
 def FORMAT : CustomOperand<i8>;
 
 def DMask : NamedIntOperand<i16, "dmask">;
-def Dim : CustomOperand<i8>;
+def Dim : CustomOperand<i8, 1>;
----------------
arsenm wrote:

Can you comment the parameter name here? I have to look to see what this does 

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


More information about the llvm-commits mailing list