This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Expose flag to control nofold attribute when padding.
ClosedPublic

Authored by gysit on Oct 13 2021, 8:06 AM.

Details

Summary

Setting the nofold attribute enables packing an operand. At the moment, the attribute is set by default. The pack introduces a callback to control the flag.

Diff Detail

Event Timeline

gysit created this revision.Oct 13 2021, 8:06 AM
gysit requested review of this revision.Oct 13 2021, 8:06 AM

Thanks! Please rename to "nofold" to make it less surprising what the effect is; higher levels can rename to make it more intuitive what happens.

This revision is now accepted and ready to land.Oct 14 2021, 12:22 AM
gysit updated this revision to Diff 379629.Oct 14 2021, 1:55 AM

Address comment.