This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Force generation of tabelgen'd headers before Dialects.
AbandonedPublic

Authored by stephenneuendorffer on Mar 2 2020, 1:25 PM.

Details

Reviewers
mehdi_amini
Summary

Dialects often depend on the public interface exposed from other
dialects, by including their header files. However, these header files
are often automatically generated. In order to avoid explicitly
specifying dialect dependencies in all dialect cmakefiles, we
(conservatively) assert that all automatically generated headers
need to be built before any dialect. This avoids build errors which
are difficult to identify because of incorrectly specified dependencies
and avoids transitive dependencies between dialects to be specified
in the build system.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 2 2020, 1:25 PM

This turns out not to be necessary