This is an archive of the discontinued LLVM Phabricator instance.

[mlir] somewhat decompose TestDialect.cpp
ClosedPublic

Authored by ftynse on Jul 21 2023, 5:25 AM.

Details

Summary

TestDialect.cpp along with the ODS-generated files amounts to around
100k LoC and takes a significant amount of time to compile. Factor out
the test ops related to testing the sytnax and assembly format, which
are a relatively large and well delimited group, into a separate set of
files.

Also factor out dialect interfaces into a separate file.

Diff Detail

Event Timeline

ftynse created this revision.Jul 21 2023, 5:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 5:25 AM
ftynse requested review of this revision.Jul 21 2023, 5:25 AM
nicolasvasilache accepted this revision.Jul 21 2023, 6:27 AM
This revision is now accepted and ready to land.Jul 21 2023, 6:27 AM
ftynse updated this revision to Diff 544702.Jul 27 2023, 4:27 AM

More bazel

This revision was landed with ongoing or failed builds.Jul 27 2023, 4:36 AM
This revision was automatically updated to reflect the committed changes.