[all-commits] [llvm/llvm-project] 1dc48a: [mlir][spirv] Query target environment for mapping...

Stanley Winata via All-commits all-commits at lists.llvm.org
Tue Sep 20 15:30:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dc48a916a1bbf99799dbeefef26d9078e159e93
      https://github.com/llvm/llvm-project/commit/1dc48a916a1bbf99799dbeefef26d9078e159e93
  Author: Stanley Winata <stanley at nod-labs.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M mlir/lib/Conversion/MemRefToSPIRV/MapMemRefStorageClassPass.cpp
    M mlir/test/Conversion/MemRefToSPIRV/map-storage-class.mlir

  Log Message:
  -----------
  [mlir][spirv] Query target environment for mapping memory space

Checks spirv::TargetEnv from op to see if it contains either Kernel or Shader capabilities.
If it does, then it will set the memory space mapping accordingly.

Reviewed By: antiagainst

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




More information about the All-commits mailing list