This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Move several static cl::opts to be pass options instead.
ClosedPublic

Authored by rriddle on Mar 21 2020, 2:51 PM.

Details

Summary

This removes the reliance on global options, and also simplifies the pass registration.

Diff Detail

Event Timeline

rriddle created this revision.Mar 21 2020, 2:51 PM

Yeah for less global constructors (and global state) :)

Thanks!

mehdi_amini accepted this revision.Mar 21 2020, 3:02 PM
This revision is now accepted and ready to land.Mar 21 2020, 3:02 PM
This revision was automatically updated to reflect the committed changes.