[all-commits] [llvm/llvm-project] 8f397e: [mlir][memref] Fix emulate narrow types for stride...

Kunwar Grover via All-commits all-commits at lists.llvm.org
Thu Oct 5 16:22:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f397e04e5ce87fb5ff99d6659ba959c22ea926c
      https://github.com/llvm/llvm-project/commit/8f397e04e5ce87fb5ff99d6659ba959c22ea926c
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp
    M mlir/test/Dialect/MemRef/emulate-narrow-type.mlir

  Log Message:
  -----------
  [mlir][memref] Fix emulate narrow types for strided memref offset (#68181)

This patch fixes strided memref offset calculation for emulating narrow
types.

As a side effect, this patch also adds support for a 1-D subviews with
static sizes, static offsets and strides of 1 for testing. Emulate
narrow types pass was not tested for strided memrefs before this patch.




More information about the All-commits mailing list