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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 07:34:19 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:

also can call it true instead of 1 

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


More information about the llvm-commits mailing list