Size-1 vectors are converted into scalars in SPIR-V so these ops
go away entirely.
Along the way, update the pass to perform partial conversion
so that we can have more focused tests.
Differential D115517
[mlir][spirv] Support size-1 vector.insert during conversion antiagainst on Dec 10 2021, 6:37 AM. Authored by
Details Size-1 vectors are converted into scalars in SPIR-V so these ops Along the way, update the pass to perform partial conversion
Diff Detail
Event Timeline
Comment Actions I wonder if this will lead to unrealized conversion casts not being able to be eliminated since the uses might actually need a vector. Comment Actions Size-1 vector are converted to scalars by the SPIR-V type converter globally. So shouldn't be a big problem. If it happens, it's an indication a missing op conversion. |
Nit: type s/Speical/Special