[all-commits] [llvm/llvm-project] dccb73: [mlir][MemRef] Return `0` for the canonical stride...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue May 3 02:02:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dccb73318a184752491fc1145c4ae01b828bdc3a
      https://github.com/llvm/llvm-project/commit/dccb73318a184752491fc1145c4ae01b828bdc3a
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/test/Conversion/MemRefToLLVM/memref-to-llvm.mlir

  Log Message:
  -----------
  [mlir][MemRef] Return `0` for the canonical strided layout expr of a 0d memref

There can't be any strides, and the offset for the canonical expr is
always 0. Fixes #55229.

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




More information about the All-commits mailing list