[mlir][ods] Support using custom directives as first optional group element
This adds support for using a custom directive as the first optional group element. The first optional group element guards the parsing of the rest of the optional group. This can be done for custom directives by expecting the parse function to return an `OptionalParseResult` instead of a `ParseResult`. Depends on D159243 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D159244
Loading
Please sign in to comment