This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Pass] Add a new `Pass::getArgument` hook
ClosedPublic

Authored by rriddle on Apr 10 2020, 1:57 PM.

Details

Summary

This hook allows for passes to specify the command line argument without the need for registration. More concretely this will allow for generating pass crash reproducers without needing to have the passes registered. This should remove the need for production tools to register passes, leaving that solely to development tools like mlir-opt.

Diff Detail

Event Timeline

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