[all-commits] [llvm/llvm-project] 6cc3bf: [mlir][tensor] Add canonicalization to fold consec...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Mon Sep 9 08:05:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cc3bf7d1d343f910b40cee24d4cda873a6ddd55
      https://github.com/llvm/llvm-project/commit/6cc3bf7d1d343f910b40cee24d4cda873a6ddd55
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tensor] Add canonicalization to fold consecutive tensor.pad ops (#107302)

`tensor.pad(tensor.pad)` with the same constant padding value can be
combined into a single pad that pads to the sum of the high and low
padding amounts.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list