[all-commits] [llvm/llvm-project] a042a6: [mlir] Add a parameter for passing default values ...
Fabian Mora via All-commits
all-commits at lists.llvm.org
Mon Jul 10 13:02:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a042a6502c17fe9a29be191298ca76d2c5394fc8
https://github.com/llvm/llvm-project/commit/a042a6502c17fe9a29be191298ca76d2c5394fc8
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
M mlir/include/mlir/IR/AttrTypeBase.td
M mlir/test/lib/Dialect/Test/TestTypeDefs.td
M mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
Log Message:
-----------
[mlir] Add a parameter for passing default values to `StringRefParameter`
**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"}]>`
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D154097
More information about the All-commits
mailing list