[Mlir-commits] [mlir] [mlir] load dialect in parser for optional parameters (PR #96667)
Mehdi Amini
llvmlistbot at llvm.org
Sun Jun 30 14:09:44 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);
----------------
joker-eph wrote:
Aren't we losing coverage for the previous fix that introduced this attribute?
https://github.com/llvm/llvm-project/pull/96667
More information about the Mlir-commits
mailing list