This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] add show-dialects option for mlir-opt
ClosedPublic

Authored by stephenneuendorffer on Feb 19 2020, 1:28 PM.

Details

Summary

Display the list of dialects known to mlir-opt. This is useful
for ensuring that linkage has happened correctly, for instance.

Diff Detail

Event Timeline

mehdi_amini accepted this revision.Feb 19 2020, 10:03 PM
This revision is now accepted and ready to land.Feb 19 2020, 10:03 PM
stephenneuendorffer edited the summary of this revision. (Show Details)
rriddle accepted this revision.Feb 27 2020, 10:41 AM
rriddle added inline comments.
mlir/tools/mlir-opt/mlir-opt.cpp
67

Can you please sink the context into the if you avoid unnecessarily initializing it?

70

nit: Remove the trivial brace here.

This revision was automatically updated to reflect the committed changes.