Skip to content

Commit c46df85

Browse files
[SPIR-V] Add SPIRV to LLVM_ALL_TARGETS (#119653)
This commit promotes the SPIR-V backend from experimental to official status. As a result, SPIR-V will be built by default, simplifying integration and increasing accessibility for downstream projects. Discussion and RFC on Discourse: https://discourse.llvm.org/t/rfc-promoting-spir-v-to-an-official-target/83614
1 parent b7eee2c commit c46df85

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

.github/workflows/spirv-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
with:
2626
build_target: check-llvm-codegen-spirv
2727
projects:
28-
extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
28+
extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="SPIRV" -DLLVM_INCLUDE_SPIRV_TOOLS_TESTS=ON'
2929
os_list: '["ubuntu-22.04"]'

llvm/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ set(LLVM_ALL_TARGETS
486486
PowerPC
487487
RISCV
488488
Sparc
489+
SPIRV
489490
SystemZ
490491
VE
491492
WebAssembly
@@ -498,7 +499,6 @@ set(LLVM_ALL_EXPERIMENTAL_TARGETS
498499
CSKY
499500
DirectX
500501
M68k
501-
SPIRV
502502
Xtensa
503503
)
504504

llvm/Maintainers.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,11 @@ [email protected] (email), [koachan](https://github.com/koachan) (GitHub)
284284

285285
#### SPIRV backend
286286

287-
Ilia Diachkov \
288-
[email protected] (email), [iliya-diyachkov](https://github.com/iliya-diyachkov) (GitHub)
287+
Vyacheslav Levytskyy \
288+
[email protected], [email protected] (email), [VyacheslavLevytskyy](https://github.com/VyacheslavLevytskyy) (GitHub)
289+
290+
Nathan Gauër \
291+
[email protected] (email), [Keenuts](https://github.com/Keenuts) (GitHub)
289292

290293
#### SystemZ backend
291294

llvm/docs/ReleaseNotes.md

+6
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ for adding a new subsection. -->
4747
same semantics. The normalizer makes it easier to spot semantic differences
4848
when diffing two modules which have undergone different passes.
4949

50+
* The SPIR-V backend is now an official LLVM target, providing OpenCL and SYCL
51+
conformance and establishing a foundation for broader applicability to other
52+
APIs, including Vulkan, GLSL, and HLSL. This backend aims to offer a unified
53+
approach for diverse compute and graphics workloads, providing a robust
54+
alternative to the Khronos SPIR-V LLVM Translator.
55+
5056
* ...
5157

5258
<!-- If you would like to document a larger change, then you can add a

0 commit comments

Comments
 (0)