[Mlir-commits] [mlir] [MLIR][TableGen] Make optional enum parser not consume the token when it is not matched (PR #188008)
Krzysztof Drewniak
llvmlistbot at llvm.org
Mon Mar 23 08:38:36 PDT 2026
================
@@ -47,6 +47,16 @@ def TestEnum
let cppNamespace = "test";
}
+def TestOtherEnum
+ : I32EnumAttr<"TestOtherEnum", "another test enum", [
----------------
krzysz00 wrote:
Since we're also touching properties, I'd use `I32Enum` and not `I32EnumAttr` here, but I don't have strong opinions here.
https://github.com/llvm/llvm-project/pull/188008
More information about the Mlir-commits
mailing list