[all-commits] [llvm/llvm-project] bfde17: [mlir] Update the return type of `getNum{Dynamic|S...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Mon Sep 30 06:54:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bfde17834dd9bd30da8f56166cd545f566f64895
      https://github.com/llvm/llvm-project/commit/bfde17834dd9bd30da8f56166cd545f566f64895
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
    M mlir/include/mlir/IR/BuiltinTypeInterfaces.td
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp

  Log Message:
  -----------
  [mlir] Update the return type of `getNum{Dynamic|Scalable}Dims` (#110472)

Updates the return type of `getNumDynamicDims` and `getNumScalableDims`
from `int64_t` to `size_t`. This is for consistency with other
helpers/methods that return "size" and to reduce the number of
`static_cast`s in various places.



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