[Mlir-commits] [mlir] [mlir] load dialect in parser for optional parameters (PR #96667)
Jeremy Kun
llvmlistbot at llvm.org
Wed Jul 3 10:36:40 PDT 2024
================
@@ -354,9 +354,9 @@ def TestCustomFloatAttr : Test_Attr<"TestCustomFloat"> {
def NestedPolynomialAttr : Test_Attr<"NestedPolynomialAttr"> {
let mnemonic = "nested_polynomial";
- let parameters = (ins Polynomial_IntPolynomialAttr:$poly);
+ let parameters = (ins OptionalParameter<"::mlir::polynomial::IntPolynomialAttr">:$poly);
----------------
j2kun wrote:
Fixed in https://github.com/llvm/llvm-project/pull/96667/commits/7b59a7d2e6506e44debd4a212a35b8ede4817042
https://github.com/llvm/llvm-project/pull/96667
More information about the Mlir-commits
mailing list