[all-commits] [llvm/llvm-project] c37ed7: [tensor][bufferize] Use affine.apply instead of ar...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Aug 23 02:46:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c37ed7762e9f473e9497c52c7669a025965651f7
      https://github.com/llvm/llvm-project/commit/c37ed7762e9f473e9497c52c7669a025965651f7
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-08-23 (Tue, 23 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/lib/Dialect/Tensor/Transforms/CMakeLists.txt
    M mlir/test/Dialect/Tensor/bufferize.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [tensor][bufferize] Use affine.apply instead of arith.addi in PadOp lowering

Affine exprs compose better than arith ops.

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




More information about the All-commits mailing list