This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Pass] Update the PassGen to generate base classes instead of utilities
ClosedPublic

Authored by rriddle on Apr 2 2020, 10:04 PM.

Details

Summary

This is much cleaner, and fits the same structure as many other tablegen backends. This was not done originally as the CRTP in the pass classes made it overly verbose/complex.

Depends On D77350

Diff Detail

Event Timeline

rriddle created this revision.Apr 2 2020, 10:04 PM
mehdi_amini accepted this revision.Apr 3 2020, 9:32 PM

Fantastic :)

This revision is now accepted and ready to land.Apr 3 2020, 9:32 PM
This revision was automatically updated to reflect the committed changes.