[mlir][SCF] Fold tensor.cast feeding into scf.foreach_thread.parallel_insert_slice
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Tue, 21 Jun 2022 07:41:31 +0000 (00:41 -0700)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Tue, 21 Jun 2022 08:19:18 +0000 (01:19 -0700)
commit98dbaed1e6317de54140bedfd787f443a61600d5
tree513c421a93cdce6cf3a94b1c8515a249f6d4a0df
parent858be166708081a3d5927ea5ea187c6b8c3efdaf
[mlir][SCF] Fold tensor.cast feeding into scf.foreach_thread.parallel_insert_slice

Differential Revision: https://reviews.llvm.org/D128247
mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
mlir/lib/Dialect/SCF/IR/SCF.cpp
mlir/test/Dialect/SCF/foreach-thread-canonicalization.mlir