Skip to content

[mlir][ods] Allow parameters to be default constructible #60178

@Mogball

Description

@Mogball

Attribute and type parameters in custom parsers are populated with FailureOr<T> & because the parser does not assume they are default constructible. This is cumbersome and ugly. Parameters in TableGen should be markable as defaultConstructible so that we can pass a T & instead.

Metadata

Metadata

Assignees

Labels

mlir:coreMLIR Core Infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions