[all-commits] [llvm/llvm-project] 58d0da: [mlir][linalg] Use arrays to pass padding options.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Mon Mar 28 06:51:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58d0da885ef46e3fdb5247295da7898b377c41e1
      https://github.com/llvm/llvm-project/commit/58d0da885ef46e3fdb5247295da7898b377c41e1
  Author: gysit <gysit at google.com>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/codegen-strategy.mlir
    M mlir/test/Dialect/Linalg/pad.mlir
    M mlir/test/lib/Dialect/Linalg/CMakeLists.txt
    M mlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [mlir][linalg] Use arrays to pass padding options.

Pass the padding options using arrays instead of lambdas. In particular pass the padding value as string and use the argument parser to create the padding value. Arrays are a more natural choice that matches the current use cases and avoids converting arrays to lambdas.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list