For an explanation of these patches see D154153.
Commit message:
Currently the StringRefParameter parameter doesn't support default values,
this patch allows the usage of them, eg:
StringRefParameter<"description", [{"default_value"}]>
Paths
| Differential D154097
[mlir] Add a parameter for passing default values to `StringRefParameter` ClosedPublic Authored by fmorac on Jun 29 2023, 8:37 AM.
Details Summary For an explanation of these patches see D154153. Commit message:
Diff Detail
Event Timelinefmorac mentioned this in D154117: [mlir][NVVM] Adds the NVVM target attribute..Jun 29 2023, 10:51 AM fmorac added a child revision: D154117: [mlir][NVVM] Adds the NVVM target attribute..Jun 29 2023, 11:16 AM Comment Actions
Yes, I'll add it. This revision is now accepted and ready to land.Jul 10 2023, 12:50 PM Closed by commit rGa042a6502c17: [mlir] Add a parameter for passing default values to `StringRefParameter` (authored by fmorac). · Explain WhyJul 10 2023, 1:02 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 538724 mlir/include/mlir/IR/AttrTypeBase.td
mlir/test/lib/Dialect/Test/TestTypeDefs.td
mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
|