[all-commits] [llvm/llvm-project] 85365b: [mlir][spirv] Fix Physical32/Physical64 support fo...

Lei Zhang via All-commits all-commits at lists.llvm.org
Sun Feb 26 22:40:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85365b16c8c34d5499232b1f302cf7d93fc0bf80
      https://github.com/llvm/llvm-project/commit/85365b16c8c34d5499232b1f302cf7d93fc0bf80
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/TargetAndABI.h
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
    M mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
    A mlir/test/Conversion/GPUToSPIRV/builtins-opencl.mlir
    A mlir/test/Conversion/GPUToSPIRV/builtins-vulkan.mlir
    R mlir/test/Conversion/GPUToSPIRV/builtins.mlir
    M mlir/test/Conversion/GPUToSPIRV/module-opencl.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix Physical32/Physical64 support for OpenCL

We use `use64bitIndex` in the option to decide the target device
address bitwidth. This makes it consistent with index type
conversion too.

Reviewed By: kuhar

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




More information about the All-commits mailing list