This is an archive of the discontinued LLVM Phabricator instance.

[Canonicalize] Fully parameterize the pass based on config options. NFC.
ClosedPublic

Authored by lattner on May 24 2021, 9:23 PM.

Details

Summary

This allows C++ clients of the Canonicalize pass to specify their own
Config option struct to control how Canonicalize works, increasing reusability.

This also allows controlling these settings for the default Canonicalize pass
using command line options. This is useful for testing and for playing with
things on the command line.

Diff Detail

Event Timeline

lattner created this revision.May 24 2021, 9:23 PM
lattner requested review of this revision.May 24 2021, 9:23 PM
This revision is now accepted and ready to land.May 25 2021, 10:51 AM

Thank you for the review!

This revision was landed with ongoing or failed builds.May 25 2021, 1:22 PM
This revision was automatically updated to reflect the committed changes.