This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ods] OpFormat: fix type inference issues
ClosedPublic

Authored by Mogball on Aug 10 2022, 3:23 PM.

Details

Summary

This patch fixes issues with generating assembly format parsers for
operations that use the operands directive or which have unnamed
arguments or results.

This patch also fixes a function in OpAsmParser that always produced
an error when trying to resolve variadic operands with the same type.

Fixes #51841

Diff Detail

Event Timeline

Mogball created this revision.Aug 10 2022, 3:23 PM
Herald added a project: Restricted Project. · View Herald Transcript
Mogball requested review of this revision.Aug 10 2022, 3:23 PM
rriddle accepted this revision.Aug 28 2022, 10:32 PM
This revision is now accepted and ready to land.Aug 28 2022, 10:32 PM
This revision was landed with ongoing or failed builds.Aug 29 2022, 9:28 AM
This revision was automatically updated to reflect the committed changes.