These patterns devectorize scalar transfers such as vector<f32> or vector<1xf32>.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This looks great! Would it make sense to also add support for single insert + transfer write?
Comment Actions
I think this should be handled by another canonicalization. If an insert into a vector<1xf32>, the IR can be rewritten to a broadcast of the scalar, at which point this pattern applies.