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

Matthias Springer via All-commits all-commits at lists.llvm.org
Sun May 19 02:08:44 PDT 2024


  Branch: refs/heads/users/matthias-springer/materialize_in_dest_shape
  Home:   https://github.com/llvm/llvm-project
  Commit: 150aa96a7b53ccf4d07ab954ac22570f6dd59150
      https://github.com/llvm/llvm-project/commit/150aa96a7b53ccf4d07ab954ac22570f6dd59150
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-05-19 (Sun, 19 May 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

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