This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ODS] Add a C++ abstraction for OpBuilders
ClosedPublic

Authored by rriddle on Jan 7 2021, 4:31 PM.

Details

Summary

This removes the need for OpDefinitionsGen to use raw tablegen API, and will also
simplify adding builders to TypeDefs as well.

Diff Detail

Event Timeline

rriddle created this revision.Jan 7 2021, 4:31 PM
rriddle requested review of this revision.Jan 7 2021, 4:31 PM
antiagainst accepted this revision.Jan 8 2021, 1:47 PM

Looks much better. Thanks for cleaning it up!!

mlir/lib/TableGen/Operator.cpp
529

emplace_back?

This revision is now accepted and ready to land.Jan 8 2021, 1:47 PM
This revision was landed with ongoing or failed builds.Jan 11 2021, 12:08 PM
This revision was automatically updated to reflect the committed changes.
rriddle marked an inline comment as done.