This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ods] Make OpBuilder and OperationState optional
ClosedPublic

Authored by jpienaar on Sep 21 2020, 3:12 PM.

Details

Summary

The OpBuilder is required to start with OpBuilder and OperationState, so remove
the need for the user to specify it. To make it simpler to update callers,
retain the legacy behavior for now and skip injecting OpBuilder/OperationState
when params start with OpBuilder.

Related to bug 47442.

Diff Detail

Event Timeline

jpienaar created this revision.Sep 21 2020, 3:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2020, 3:12 PM
jpienaar requested review of this revision.Sep 21 2020, 3:12 PM
lattner accepted this revision.Sep 21 2020, 5:00 PM

Super awesome -- and a great way to stage this in. Thank you for taking this!

This revision is now accepted and ready to land.Sep 21 2020, 5:00 PM
This revision was automatically updated to reflect the committed changes.