diff options
author | Wenju He <wenju.he@intel.com> | 2025-07-18 08:08:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-18 08:08:25 +0800 |
commit | 64205adc3bfdaab0f35f7909de59dadd20ef6e6a (patch) | |
tree | b4684c56cd8e0119d7fe385beabee6ebe79a804f /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | c0294f497d65da998e39882c234f157daecebfa8 (diff) | |
download | llvm-64205adc3bfdaab0f35f7909de59dadd20ef6e6a.zip llvm-64205adc3bfdaab0f35f7909de59dadd20ef6e6a.tar.gz llvm-64205adc3bfdaab0f35f7909de59dadd20ef6e6a.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions