[all-commits] [llvm/llvm-project] c7d569: [mlir][scf] Fold dim(scf.for) to dim(iter_arg)
Matthias Springer via All-commits
all-commits at lists.llvm.org
Wed Sep 8 21:52:55 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7d569b8f73d5f1ff03a65fb2b25d966d98c5a5f
https://github.com/llvm/llvm-project/commit/c7d569b8f73d5f1ff03a65fb2b25d966d98c5a5f
Author: Matthias Springer <springerm at google.com>
Date: 2021-09-09 (Thu, 09 Sep 2021)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/LoopCanonicalization.cpp
M mlir/test/Dialect/SCF/for-loop-canonicalization.mlir
Log Message:
-----------
[mlir][scf] Fold dim(scf.for) to dim(iter_arg)
Fold dim ops of scf.for results to dim ops of the respective iter args if the loop is shape preserving.
Differential Revision: https://reviews.llvm.org/D109430
More information about the All-commits
mailing list