[all-commits] [llvm/llvm-project] a489aa: [mlir][SCF] Add scf::ForeachThread canonicalization.
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Tue Jun 21 00:55:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a489aa745b621547427602dc4995e1e9ff3fcb57
https://github.com/llvm/llvm-project/commit/a489aa745b621547427602dc4995e1e9ff3fcb57
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2022-06-21 (Tue, 21 Jun 2022)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCF.h
M mlir/include/mlir/Dialect/SCF/Utils/AffineCanonicalizationUtils.h
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/LoopCanonicalization.cpp
M mlir/lib/Dialect/SCF/Utils/AffineCanonicalizationUtils.cpp
A mlir/test/Dialect/SCF/foreach-thread-canonicalization.mlir
Log Message:
-----------
[mlir][SCF] Add scf::ForeachThread canonicalization.
This revision adds the necessary plumbing for canonicalizing scf::ForeachThread with the
`AffineOpSCFCanonicalizationPattern`.
In the process the `loopMatcher` helper is updated to take OpFoldResult instead of just values.
This allows composing various scenarios without the need for an artificial builder.
Differential Revision: https://reviews.llvm.org/D128244
More information about the All-commits
mailing list