This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Handle memory space conflicts in VectorTransferSplit patterns
ClosedPublic

Authored by qedawkins on Jul 5 2023, 8:39 AM.

Details

Summary

Currently the transfer splitting patterns will generate an invalid cast
when the source memref for a transfer op has a non-default memory space.
This is handled by first introducing a memref.memory_space_cast in
such cases.

Diff Detail

Event Timeline

qedawkins created this revision.Jul 5 2023, 8:39 AM
Herald added a project: Restricted Project. · View Herald Transcript
qedawkins requested review of this revision.Jul 5 2023, 8:39 AM
This revision is now accepted and ready to land.Jul 11 2023, 11:52 AM