[all-commits] [llvm/llvm-project] 7841f5: [mlir][spirv] Add target control to UnifyAliasedRe...

Lei Zhang via All-commits all-commits at lists.llvm.org
Thu Oct 27 11:36:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7841f557ea3df1987ceb1c033e458790f5828795
      https://github.com/llvm/llvm-project/commit/7841f557ea3df1987ceb1c033e458790f5828795
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/Transforms/Passes.h
    M mlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp

  Log Message:
  -----------
  [mlir][spirv] Add target control to UnifyAliasedResourcePass

The UnifyAliasedResourcePass is actually only necessary for
targeting Apple GPUs via MoltenVK, where we need to translate
SPIR-V into MSL. The translation has limitations--no support
of aliased resources. So introducing a control to disable
this pass if targeting other platforms.

Reviewed By: kuhar

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




More information about the All-commits mailing list