[all-commits] [llvm/llvm-project] 3bdd7f: [mlir][Linalg] Add support to lower named ops to l...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Thu Apr 30 10:49:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bdd7fcc3404001ad919da6b9acc677199793787
      https://github.com/llvm/llvm-project/commit/3bdd7fcc3404001ad919da6b9acc677199793787
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
    M mlir/test/Dialect/Linalg/affine.mlir
    M mlir/test/Dialect/Linalg/loops.mlir
    M mlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp

  Log Message:
  -----------
  [mlir][Linalg] Add support to lower named ops to loops.

This revision adds support to allow named ops to lower to loops.
Linalg.batch_matmul successfully lowers to loops and to LLVM.

In the process, this test also activates linalg to affine loops.
However padded convolutions to not lower to affine.load atm so this revision overrides the type of underlying load / store operation.

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




More information about the All-commits mailing list