[all-commits] [llvm/llvm-project] 54d81e: [mlir] Allow negative strides and offset in Stride...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Wed Sep 21 04:53:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54d81e49e3b72f6a305891fe169ecd7c6f559223
      https://github.com/llvm/llvm-project/commit/54d81e49e3b72f6a305891fe169ecd7c6f559223
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M mlir/lib/AsmParser/AttributeParser.cpp
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir
    M mlir/test/Dialect/Builtin/types.mlir
    M mlir/test/Dialect/MemRef/canonicalize.mlir
    M mlir/test/IR/invalid-builtin-types.mlir

  Log Message:
  -----------
  [mlir] Allow negative strides and offset in StridedLayoutAttr

Negative strides are useful for creating reverse-view of array. We don't have specific example for negative offset yet but will add it for consistency.

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




More information about the All-commits mailing list