[all-commits] [llvm/llvm-project] 64205a: [SPIR-V] Map SPIR-V friendly work-item function to...

Wenju He via All-commits all-commits at lists.llvm.org
Thu Jul 17 17:08:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64205adc3bfdaab0f35f7909de59dadd20ef6e6a
      https://github.com/llvm/llvm-project/commit/64205adc3bfdaab0f35f7909de59dadd20ef6e6a
  Author: Wenju He <wenju.he at intel.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M clang/lib/Headers/__clang_spirv_builtins.h
    M clang/test/Headers/spirv_ids.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
    M llvm/test/CodeGen/SPIRV/transcoding/builtin_calls.ll

  Log Message:
  -----------
  [SPIR-V] Map SPIR-V friendly work-item function to built-in variables (#148567)

The mapping ensures the function is lowered to SPIR-V built-in variables
in SPIR-V. This can fix pre-commit CI fail in https://github.com/intel/llvm/pull/19359

Also add BuiltIn to SPIR-V Builtin function name in __clang_spirv_builtins.h to align with
https://github.com/llvm/llvm-project/blob/main/llvm/docs/SPIRVUsage.rst#builtin-variables



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list