This is an archive of the discontinued LLVM Phabricator instance.

[mlir][IR] Manually register command line options for MLIRContext and AsmPrinter
ClosedPublic

Authored by rriddle on Apr 11 2020, 8:13 PM.

Details

Summary

This revision makes the registration of command line options for these two files manual with registerMLIRContextCLOptions and registerAsmPrinterCLOptions methods. This removes the last remaining static constructors within lib/.

Diff Detail

Event Timeline

rriddle created this revision.Apr 11 2020, 8:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2020, 8:13 PM
mehdi_amini accepted this revision.Apr 11 2020, 8:38 PM
This revision is now accepted and ready to land.Apr 11 2020, 8:38 PM
This revision was automatically updated to reflect the committed changes.