[all-commits] [llvm/llvm-project] 15a176: Emit OpenCL metadata when targeting SPIR-V

Shangwu Yao via All-commits all-commits at lists.llvm.org
Tue Apr 5 13:59:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15a1769631ff0b2b3e830b03e51ae5f54f08a0ab
      https://github.com/llvm/llvm-project/commit/15a1769631ff0b2b3e830b03e51ae5f54f08a0ab
  Author: Shangwu Yao <shangwuyao at gmail.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGenCUDASPIRV/kernel-cc.cu

  Log Message:
  -----------
  Emit OpenCL metadata when targeting SPIR-V

This is required for converting function calls such as get_global_id()
into SPIR-V builtins.

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




More information about the All-commits mailing list