[all-commits] [llvm/llvm-project] 7716e5: [mlir] Fixes to hoist padding

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Mar 24 04:56:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7716e5535c6b248b5faabd2d1af01415a78da8d7
      https://github.com/llvm/llvm-project/commit/7716e5535c6b248b5faabd2d1af01415a78da8d7
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-03-24 (Wed, 24 Mar 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
    M mlir/test/Dialect/Linalg/hoist-padding.mlir
    M mlir/test/lib/Transforms/TestLinalgTransforms.cpp

  Log Message:
  -----------
  [mlir] Fixes to hoist padding

Fix the BlockAndValueMapping update that was missing entries for scf.for op's blockIterArgs.
Skip cloning subtensors of the padded tensor as the logic for these is separate.
Add a filter to drop side-effecting ops.

Tests are beefed up to verify the IR is sound in all hoisting configurations for 2-level 3-D tiled matmul.

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




More information about the All-commits mailing list