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

Jun Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 16:04:24 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>;
----------------
jwanggit86 wrote:

Updated comment as suggested.

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


More information about the llvm-commits mailing list