This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Consider target when converting one-element vector
ClosedPublic

Authored by antiagainst on Oct 18 2022, 9:18 PM.

Details

Summary

Vectors with just one element will be converted into scalars.
However, we cannot just return the element types and assume it
is supported in the target environment; we need to conver the
element type again factoring in those considerations.

Diff Detail

Event Timeline

antiagainst created this revision.Oct 18 2022, 9:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2022, 9:18 PM
antiagainst requested review of this revision.Oct 18 2022, 9:18 PM
kuhar accepted this revision.Oct 18 2022, 10:05 PM

Thanks!

This revision is now accepted and ready to land.Oct 18 2022, 10:05 PM