[all-commits] [llvm/llvm-project] 4b0390: [mlir][linalg] Perform checks early in hoist padding.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Thu Nov 25 02:41:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b03906346a89b8c7e96b5ffe762183fb0fff7cd
      https://github.com/llvm/llvm-project/commit/4b03906346a89b8c7e96b5ffe762183fb0fff7cd
  Author: Tobias Gysi <gysit at google.com>
  Date:   2021-11-25 (Thu, 25 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp
    M mlir/test/Dialect/Linalg/pad-and-hoist.mlir

  Log Message:
  -----------
  [mlir][linalg] Perform checks early in hoist padding.

Instead of checking for unexpected operations (any operation with a region except for scf::For and `padTensorOp` or operations with a memory effect) while cloning the packing loop nest perform the checks early. Update `dropNonIndexDependencies` to check for unexpected operations. Additionally, check all of these operations have index type operands only.

Depends On D114428

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list