This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize][NFC] Add vector-bufferize pass and remove obsolete patterns
ClosedPublic

Authored by springerm on Feb 10 2022, 7:54 AM.

Details

Summary

This is towards removing the remaining dialect conversion patterns from Linalg/Transforms/Bufferize.cpp. Some of these patterns are for vector ops, which should have been in the vector dialect in the first place.

This commit removes the bufferization patterns for transfer_read and transfer_write. In existing code, vector-bufferize is used, which bufferizes those ops using BufferizableOpInterface.

Diff Detail

Event Timeline

springerm created this revision.Feb 10 2022, 7:54 AM
springerm requested review of this revision.Feb 10 2022, 7:54 AM
aartbik added inline comments.Feb 10 2022, 8:55 AM
mlir/test/Integration/Dialect/SparseTensor/taco/tools/mlir_pytaco_utils.py
160

apologies, another revision just crossed, changing this to the sparse-compiler pipeline
(so less changes required ;-), but you will have to rebase

springerm edited the summary of this revision. (Show Details)Feb 15 2022, 4:06 AM
nicolasvasilache accepted this revision.Feb 15 2022, 4:11 AM
This revision is now accepted and ready to land.Feb 15 2022, 4:11 AM
This revision was landed with ongoing or failed builds.Feb 15 2022, 4:25 AM
This revision was automatically updated to reflect the committed changes.