Current index value generation uses fixed-length vector ops, this patch
adds an alterantive codegen path compatible with scalable vectors by
using LLVM::StepVectorOp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for making this work in scalable land!
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp | ||
---|---|---|
897 | Interesting. I don't think we should inject unrealized casts ourselves. |
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp | ||
---|---|---|
897 | An index cast does actually do the same thing. It was just a debug-induced bad though process on my side :-) Thanks! |
Interesting. I don't think we should inject unrealized casts ourselves.
What happens if you simply try to cast this from stepvty to vtp?
Does a later pass do the same then?