[all-commits] [llvm/llvm-project] 9b5a3d: [mlir] Fix indexing of first offset operand in ops...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Wed Dec 30 08:57:47 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b5a3d67b496ce92729c61b7b2a99e8dc8d39ca3
      https://github.com/llvm/llvm-project/commit/9b5a3d67b496ce92729c61b7b2a99e8dc8d39ca3
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2020-12-30 (Wed, 30 Dec 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/include/mlir/Interfaces/ViewLikeInterface.td

  Log Message:
  -----------
  [mlir] Fix indexing of first offset operand in ops that implement OffsetSizeAndStrideOpInterface

OffsetSizeAndStrideOpInterface ops may have a varying number of operands before the first
offset operand. This revision adds a method that such ops much implement to properly specify
the position of the first offset operand.

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




More information about the All-commits mailing list