This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Expose printer flags in AsmState
ClosedPublic

Authored by sgrechanik on Feb 15 2022, 11:28 AM.

Details

Summary

This change exposes printer flags in AsmState and AsmStateImpl. All functions
receiving AsmState as a parameter now use the flags from the AsmState instead of
taking an additional OpPrintingFlags parameter.

Diff Detail

Event Timeline

sgrechanik created this revision.Feb 15 2022, 11:28 AM
sgrechanik requested review of this revision.Feb 15 2022, 11:28 AM
rriddle accepted this revision.Feb 15 2022, 11:30 AM

Nice!

This revision is now accepted and ready to land.Feb 15 2022, 11:30 AM
This revision was automatically updated to reflect the committed changes.