[all-commits] [llvm/llvm-project] cdc09a: [mlir][IntRangeInference] Infer values for {memref...

Krzysztof Drewniak via All-commits all-commits at lists.llvm.org
Wed Jan 29 16:44:16 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdc09a118a7107b8e13ba5a254d3d794f51f9818
      https://github.com/llvm/llvm-project/commit/cdc09a118a7107b8e13ba5a254d3d794f51f9818
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Dialect/Tensor/IR/Tensor.h
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h
    M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/lib/Interfaces/Utils/CMakeLists.txt
    M mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
    A mlir/test/Dialect/MemRef/int-range-inference.mlir
    A mlir/test/Dialect/Tensor/int-range-inference.mlir

  Log Message:
  -----------
  [mlir][IntRangeInference] Infer values for {memref,tensor}.dim (#122945)

Implement the integer range inference niterface for memref.dim and
tetnor.dim using shared code. The inference will infer the `dim` of
dynamic dimensions to [0, index_max] and take the union of all the
dimensions that the `dim` argument could be validly referring to.



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