spirv-llvm-translator
« Back to VersTracker
Description:
Tool and a library for bi-directional translation between SPIR-V and LLVM IR
Type: Formula  |  Latest Version: 21.1.3@0  |  Tracked Since: Nov 1, 2025
Links: Homepage  |  @KhronosGroup  |  formulae.brew.sh
Category: Developer tools
Tags: spirv llvm gpu compiler translation opencl
Install: brew install spirv-llvm-translator
About:
The SPIRV-LLVM-Translator is a critical infrastructure tool that enables interoperability between LLVM-based compilers and Vulkan/OpenGL runtimes. It provides a robust library for converting LLVM Intermediate Representation into the SPIR-V binary format required by modern graphics APIs, and vice versa. This bi-directional translation is essential for leveraging high-level language features in GPU compute and graphics workloads.
Key Features:
  • Bi-directional translation between LLVM IR and SPIR-V
  • Library and command-line tool interfaces
  • Support for latest SPIR-V and LLVM versions
  • Integration with Clang and LLVM build pipelines
Use Cases:
  • Compiling OpenCL or SYCL code to SPIR-V for GPU execution
  • Enabling cross-vendor GPU compute in LLVM-based toolchains
  • Integrating SPIR-V support into custom compiler frameworks
Alternatives:
  • LLVM-SPIRV-Backend – Direct LLVM backend for SPIR-V, but translator is more mature and widely used
Version History
Detected Version Rev Change Commit
Nov 1, 2025 3:00am 0 VERSION_BUMP 07174c7d
Oct 1, 2025 4:08am 0 VERSION_BUMP d2d22f30
Oct 1, 2025 3:02am 0 VERSION_BUMP b47936ad