[all-commits] [llvm/llvm-project] a9733b: [MLIR] Adopt `DenseI64ArrayAttr` in tensor, memref...

lorenzo chelini via All-commits all-commits at lists.llvm.org
Fri Nov 25 00:43:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9733b8a5eed441d6378d0fc88630233e00a6395
      https://github.com/llvm/llvm-project/commit/a9733b8a5eed441d6378d0fc88630233e00a6395
  Author: Lorenzo Chelini <l.chelini at icloud.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/include/mlir/Dialect/Utils/StaticValueUtils.h
    M mlir/include/mlir/Interfaces/ViewLikeInterface.h
    M mlir/include/mlir/Interfaces/ViewLikeInterface.td
    M mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
    M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/lib/Dialect/MemRef/Transforms/MultiBuffer.cpp
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/lib/Dialect/Utils/StaticValueUtils.cpp
    M mlir/lib/Interfaces/ViewLikeInterface.cpp
    M mlir/python/mlir/dialects/_structured_transform_ops_ext.py
    M mlir/test/Dialect/Linalg/transform-patterns.mlir
    M mlir/test/python/dialects/transform_structured_ext.py

  Log Message:
  -----------
  [MLIR] Adopt `DenseI64ArrayAttr` in tensor, memref and linalg transform

This commit is a first step toward removing inconsistencies between dynamic
and static attributes (i64 v. index) by dropping `I64ArrayAttr` and
using `DenseI64ArrayAttr` in Tensor, Memref and Linalg Transform ops.
In Linalg Transform ops only `TileToScfForOp` and `TileOp` have been updated.

See related discussion: https://discourse.llvm.org/t/rfc-inconsistency-between-dynamic-and-static-attributes-i64-v-index/66612/1

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D138567




More information about the All-commits mailing list