This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Support conversion of extract op from vector<1xT> type
ClosedPublic

Authored by ThomasRaoux on Apr 19 2021, 9:29 PM.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Apr 19 2021, 9:29 PM
ThomasRaoux requested review of this revision.Apr 19 2021, 9:29 PM
antiagainst requested changes to this revision.Apr 20 2021, 5:33 AM
antiagainst added inline comments.
mlir/test/Conversion/VectorToSPIRV/simple.mlir
38

Should we actually create another function to host this so that we can return the value to really CHECK against it?

This revision now requires changes to proceed.Apr 20 2021, 5:33 AM
ThomasRaoux added inline comments.
mlir/test/Conversion/VectorToSPIRV/simple.mlir
38

Moved it to a different function and check that the extract is replaced by the scalar source.

antiagainst accepted this revision.Apr 20 2021, 9:10 AM
This revision is now accepted and ready to land.Apr 20 2021, 9:10 AM