[all-commits] [llvm/llvm-project] 407b35: [mlir][linalg] Add ods-gen helper to simplify the ...

Tobias Gysi via All-commits all-commits at lists.llvm.org
Wed Apr 20 06:19:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 407b351da2a144eb230a0c989b5cc513e0b91a12
      https://github.com/llvm/llvm-project/commit/407b351da2a144eb230a0c989b5cc513e0b91a12
  Author: gysit <gysit at google.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/mlir-linalg-ods-gen/test-linalg-ods-yaml-gen.yaml
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp

  Log Message:
  -----------
  [mlir][linalg] Add ods-gen helper to simplify the build methods.

Add a helper used to implement the build methods generated by ods-gen. The change reduces code size and compilation time since all structured op builders use the same build method. The change reduces the LinalgOps.cpp compilation time from 10.2s to 9.8s (debug build).

Depends On D123987

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list