This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Linalg] Preserve DPS when decomposing Softmax
ClosedPublic

Authored by chelini on Jul 21 2023, 4:34 AM.

Details

Summary

Preserve destination passing style (DPS) when decomposing
linalg.Softmax; instead of creating a new empty, which may materialize
as a new buffer after bufferization, use the result directly.

Diff Detail

Event Timeline

chelini created this revision.Jul 21 2023, 4:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 4:34 AM
chelini requested review of this revision.Jul 21 2023, 4:34 AM
qcolombet accepted this revision.Jul 21 2023, 5:31 AM
This revision is now accepted and ready to land.Jul 21 2023, 5:31 AM
This revision was automatically updated to reflect the committed changes.