| commit | b5fe3eb2d17b711fded1a8c2fbd05a9e4dc06a7f | [log] [tgz] |
|---|---|---|
| author | Mészáros Gergely <gergely.meszaros@intel.com> | Tue Jul 29 15:14:41 2025 +0200 |
| committer | GitHub <noreply@github.com> | Tue Jul 29 15:14:41 2025 +0200 |
| tree | fa746f21874ad028d887fd1f48f74cec5a5df140 | |
| parent | 29e02d792b8cc1bf9017a9ca90b3d9f7cff56fb6 [diff] |
[OpenCL] Add decls for cl_intel_bfloat16_conversions (#150393) These map to SPIR-V instructions, which are long supported by the llvm SPIR-V target [1] and the llvm-spirv translator [2]. Intel's offline compiler (ocloc) and OpenCL implementation trivially supports these, by having these same declarations [3] and relying on llvm-spirv to map calls to them to their corresponding SPIR-V instructions. [1]: https://github.com/llvm/llvm-project/blob/531cf8298b08eacdf670bac8c28db97a5dc8cb01/llvm/lib/Target/SPIRV/SPIRVBuiltins.td#L1546C11-L1546C27 [2]: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/blob/10c7569b3c4cb456fbfdcc86c3de45d46c7f5fa8/lib/SPIRV/OCLUtil.h#L327 [3]: https://github.com/intel/intel-graphics-compiler/blob/342c4fb729ff6a20a41e19adc8329ad18ba05660/IGC/BiFModule/Languages/OpenCL/opencl_cth_released.h#L6899
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.