[all-commits] [llvm/llvm-project] 23b826: [mlir][spirv] Fix runtime array stride when emulat...

Lei Zhang via All-commits all-commits at lists.llvm.org
Mon Apr 12 14:13:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23b8264b5255efdc7c87c189feab04520a1979d5
      https://github.com/llvm/llvm-project/commit/23b8264b5255efdc7c87c189feab04520a1979d5
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
    M mlir/test/Conversion/StandardToSPIRV/std-types-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix runtime array stride when emulating bitwidth

The stride should be calculated with the converted array element
type, not the original input type.

Reviewed By: mravishankar

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




More information about the All-commits mailing list