[all-commits] [llvm/llvm-project] bb8209: [mlir][tensor] Make getMixedPadImpl return static ...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Wed Mar 13 08:52:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb82092de71466728630050691fa9c20796b3cbc
      https://github.com/llvm/llvm-project/commit/bb82092de71466728630050691fa9c20796b3cbc
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/test/Conversion/TensorToLinalg/tensor-ops-to-linalg.mlir
    M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
    M mlir/test/Dialect/Linalg/generalize-pad-tensor.mlir

  Log Message:
  -----------
  [mlir][tensor] Make getMixedPadImpl return static values when possible. (#85016)

If low and high are constants (i.e., not attributes), users still prefer
attributes. Otherwise, there could be failures in type inference. A
failure is introduced by
https://github.com/llvm/llvm-project/commit/60e562d11aeca8020de8d50ded7f0ba9e10e8843,
see the drop_known_unit_constant_low_high test for more details.



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