[Mlir-commits] [mlir] [MLIR][TableGen] Make optional enum parser not consume the token when it is not matched (PR #188008)

Robert Konicar llvmlistbot at llvm.org
Mon Mar 23 08:47:28 PDT 2026


================
@@ -47,6 +47,16 @@ def TestEnum
   let cppNamespace = "test";
 }
 
+def TestOtherEnum
+    : I32EnumAttr<"TestOtherEnum", "another test enum", [
----------------
Jezurko wrote:

Ooops, yeah. That was the original idea. Must have accidentally modified it when fiddling around to check the behaviour. Thank for catching that! I will change it to the new enum style

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


More information about the Mlir-commits mailing list