When all operands or results are variadic, zero values is a perfectly valid behavior
to expect, and we shouldn't force the user to provide values in this case. For example,
when creating a call or a return operation we often don't want/need to provide return
values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/lib/Transforms/TestDialectConversion.pdll | ||
---|---|---|
13 | This is more concise, and especially can see how this is better with multiple optional and not too magical. The previous form is indeed closer to ODS. |
This is more concise, and especially can see how this is better with multiple optional and not too magical. The previous form is indeed closer to ODS.