This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Make JitRunnerMain main take a DialectRegistry
ClosedPublic

Authored by ftynse on Feb 10 2021, 10:21 AM.

Details

Summary

Historically, JitRunner has been registering all available dialects with the
context and depending on them without the real need. Make it take a registry
that contains only the dialects that are expected in the input and stop linking
in all dialects.

Diff Detail

Event Timeline

ftynse created this revision.Feb 10 2021, 10:21 AM
ftynse requested review of this revision.Feb 10 2021, 10:21 AM
mehdi_amini accepted this revision.Feb 10 2021, 1:46 PM
This revision is now accepted and ready to land.Feb 10 2021, 1:46 PM
This revision was landed with ongoing or failed builds.Feb 11 2021, 5:50 AM
This revision was automatically updated to reflect the committed changes.