[all-commits] [llvm/llvm-project] 4ffc63: [mlir][spirv] Fix 64-bit index for MemRef bitwidth...

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue Aug 22 08:33:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ffc63ab71e501eb06664af3e3e0c410560f7ebe
      https://github.com/llvm/llvm-project/commit/4ffc63ab71e501eb06664af3e3e0c410560f7ebe
  Author: Lei Zhang <antiagainst at gmail.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRVPass.cpp
    M mlir/test/Conversion/MemRefToSPIRV/bitwidth-emulation.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix 64-bit index for MemRef bitwidth emulation

We need to use the converted index type for index offset calculation
logic; not the target bitwidth, which is typically 32-bit.

Reviewed By: kuhar

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




More information about the All-commits mailing list