This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Avoid template methods for parsing and printing.
ClosedPublic

Authored by gysit on Apr 19 2022, 12:59 AM.

Details

Summary

The revision avoids template methods for parsing and printing that are replicated for every named operation. Instead, the new methods take a regionBuilder argument. The revision reduces the compile time of LinalgOps.cpp from 11.2 to 10.2 seconds (debug build).

Diff Detail

Event Timeline

gysit created this revision.Apr 19 2022, 12:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 12:59 AM
gysit requested review of this revision.Apr 19 2022, 12:59 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