This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Add ods-gen helper to simplify the build methods.
ClosedPublic

Authored by gysit on Apr 19 2022, 6:45 AM.

Details

Summary

Add a helper used to implement the build methods generated by ods-gen. The change reduces code size and compilation time since all structured op builders use the same build method. The change reduces the LinalgOps.cpp compilation time from 10.2s to 9.8s (debug build).

Depends On D123987

Diff Detail

Event Timeline

gysit created this revision.Apr 19 2022, 6:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 6:45 AM
gysit requested review of this revision.Apr 19 2022, 6:45 AM
nicolasvasilache accepted this revision.Apr 20 2022, 2:09 AM
This revision is now accepted and ready to land.Apr 20 2022, 2:09 AM