[mlir][scf] support 1:N type conversion for scf.for.
authorPeiming Liu <peiming@google.com>
Thu, 20 Oct 2022 03:48:55 +0000 (03:48 +0000)
committerPeiming Liu <peiming@google.com>
Fri, 21 Oct 2022 21:11:55 +0000 (21:11 +0000)
commitd3f5f330671e718a0e28598c412d09e9a3b54273
tree28868a3818ee21c99db732d29c3f1c20f417051b
parent4153f989bab0f2f300fa8d3001ebeef7b6d9672c
[mlir][scf] support 1:N type conversion for scf.for.

scf.for used to only support 1:1 type conversion, this patch add support for 1:N type conversion.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D136314
mlir/lib/Dialect/SCF/Transforms/StructuralTypeConversions.cpp
mlir/test/Dialect/SparseTensor/scf_1_N_conversion.mlir [new file with mode: 0644]