This is an archive of the discontinued LLVM Phabricator instance.

[mlir][NFC] Use fold expressions instead of variadic class templates for adding operations/etc. to dialects.
ClosedPublic

Authored by rriddle on Mar 11 2020, 1:54 PM.

Details

Summary

This is much simpler, and also greatly reduces the generated template recursion stack.

Diff Detail

Event Timeline

rriddle created this revision.Mar 11 2020, 1:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2020, 1:54 PM
matthiaskramm accepted this revision.Mar 11 2020, 3:00 PM

Thanks for the fix!

This revision is now accepted and ready to land.Mar 11 2020, 3:00 PM
This revision was automatically updated to reflect the committed changes.