[all-commits] [llvm/llvm-project] 0d9761: [mlir][SCF] Add tensor.dim(scf.foreach_thread) fol...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Nov 22 02:32:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d9761d50e738163c87d84a4328bc0a827ac8f34
      https://github.com/llvm/llvm-project/commit/0d9761d50e738163c87d84a4328bc0a827ac8f34
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/test/Dialect/SCF/canonicalize.mlir

  Log Message:
  -----------
  [mlir][SCF] Add tensor.dim(scf.foreach_thread) folding

Dim sizes of `scf.foreach_thread` op results match the dim sizes of their respective tied shared_outs operands.

Differential Revision: https://reviews.llvm.org/D138484




More information about the All-commits mailing list