[all-commits] [llvm/llvm-project] 25ee36: [SPIRV] read kernel arg attributes from fuction/mo...

Ilia Diachkov via All-commits all-commits at lists.llvm.org
Wed Oct 5 18:00:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25ee36c6b19d31bbb5554969411cee59cc6b40c1
      https://github.com/llvm/llvm-project/commit/25ee36c6b19d31bbb5554969411cee59cc6b40c1
  Author: Ilia Diachkov <ilia.diachkov at gmail.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
    A llvm/test/CodeGen/SPIRV/opencl/kernel_arg_type_function_metadata.ll
    A llvm/test/CodeGen/SPIRV/opencl/kernel_arg_type_module_metadata.ll

  Log Message:
  -----------
  [SPIRV] read kernel arg attributes from fuction/module metadata

The patch introduces reading the attributes of kernel arguments both from
function-attached and module-level metadata, during kernel arguments lowering.
Two tests are added to show the improvement.

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

Co-authored-by: Aleksandr Bezzubikov <zuban32s at gmail.com>
Co-authored-by: Michal Paszkowski <michal.paszkowski at outlook.com>
Co-authored-by: Andrey Tretyakov <andrey.tretyakov at mail.com>
Co-authored-by: Konrad Trifunovic <konrad.trifunovic at intel.com>




More information about the All-commits mailing list