This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Only apply masking on xfer_write when needed.
ClosedPublic

Authored by hanchung on May 24 2023, 5:43 PM.

Details

Summary

If the input vector sizes are as same as tensor.pad result shape, the
masking is not needed. Otherwise, the masking is needed and the masking
operands should be as same as tensor.empty op.

Diff Detail

Event Timeline

hanchung created this revision.May 24 2023, 5:43 PM
Herald added a project: Restricted Project. · View Herald Transcript
hanchung requested review of this revision.May 24 2023, 5:43 PM
dcaballe accepted this revision.May 24 2023, 5:47 PM

Thanks for providing a quick fix!

This revision is now accepted and ready to land.May 24 2023, 5:47 PM