This is an archive of the discontinued LLVM Phabricator instance.

[mlir][OpFormatGen] Add support for resolving variadic types from non-variadic
ClosedPublic

Authored by rriddle on Jul 1 2020, 5:19 PM.

Details

Summary

This enables better support for traits such as SameOperandsAndResultType, and other situations in which a variadic operand may be resolved from a non-variadic.

Diff Detail

Event Timeline

rriddle created this revision.Jul 1 2020, 5:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2020, 5:19 PM

I don't see anything else obviously wrong, but I don't particularly grok what the code is doing either.

mlir/tools/mlir-tblgen/OpFormatGen.cpp
848

variadic is misspelled

This revision is now accepted and ready to land.Jul 1 2020, 9:14 PM
rriddle updated this revision to Diff 275008.Jul 1 2020, 10:24 PM

Resolve comments

This revision was automatically updated to reflect the committed changes.