[all-commits] [llvm/llvm-project] 9d4b20: [mlir][bufferization] Allow mixed static/dynamic s...

Matthias Springer via All-commits all-commits at lists.llvm.org
Sat Jun 1 03:05:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d4b20a44e5c55499d6fc75663a6c7149a59543f
      https://github.com/llvm/llvm-project/commit/9d4b20a44e5c55499d6fc75663a6c7149a59543f
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-01 (Sat, 01 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizationOps.td
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/test/Dialect/Bufferization/invalid.mlir
    M mlir/test/Dialect/Bufferization/ops.mlir

  Log Message:
  -----------
  [mlir][bufferization] Allow mixed static/dynamic shapes in `materialize_in_destination` op (#92681)

This commit relaxes the verifier of
`bufferization.materialize_in_destination` such that mixed
static/dynamic dimensions are allowed for the source and destination
operands. E.g., `tensor<5xf32>` and `tensor<?xf32>` are now compatible,
but it is assumed that the dynamic dimension is `5` at runtime.

This commit fixes #91265.



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