[all-commits] [llvm/llvm-project] 0b3e47: [mlir][GPUToSPIRV] Use default ABI only when none ...

MaheshRavishankar via All-commits all-commits at lists.llvm.org
Thu May 14 21:49:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b3e478b10e233460073d24df527253ab5edac2a
      https://github.com/llvm/llvm-project/commit/0b3e478b10e233460073d24df527253ab5edac2a
  Author: MaheshRavishankar <ravishankarm at google.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
    M mlir/test/Conversion/GPUToSPIRV/simple.mlir

  Log Message:
  -----------
  [mlir][GPUToSPIRV] Use default ABI only when none of the arguments
have abi attributes.

To ensure there is no conflict, use the default ABI only when none of
the arguments have the spv.interface_var_abi attribute. This also
implies that if one of the arguments has a spv.interface_var_abi
attribute, all of them should have it as well.

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




More information about the All-commits mailing list