VOOZH about

URL: https://www.phoronix.com/news/LLVM-22-Starts-Development

⇱ LLVM 22 Compiler Enters Development With LLVM 21 Now Branched - Phoronix


👁 Phoronix

LLVM 22 Compiler Enters Development With LLVM 21 Now Branched

Written by Michael Larabel in LLVM on 15 July 2025 at 10:40 AM EDT. 9 Comments
The LLVM 21 compiler stack was branched today as release preparations get underway for shipping this next half-year compiler release as stable in late August or early September. In turn that now opens up LLVM 22 for development.

LLVM 21 is introducing the AMD GFX1250 target for what is expected to be an APU with an RDNA4 refresh (RDNA 4.5?) while the additions for the GFX1250 target remain ongoing. There are also other AMDGPU LLVM back-end enhancements for helping their ROCm stack and other libc-for-GPU efforts. There is also now -mcpu=gb10 support for NVIDIA's GB10 Superchip, various RISC-V improvements, many RISC-V back-end enhancements, LLDB debugger improvements, and more.

👁 LLVM 22 starts


On the Clang 21 C/C++ compiler front-end side there are new LLVM optimizations around pointer arithmetic on null pointers, new C++2c feature additions, various other C++ language features added, new C warnings, additional C2y feature work, and many compiler diagnostic enhancements. Clang 21 also addresses Intel's changes to AVX10 with dropping the AVX10-256 support to now make 512-bit support unconditional for the maximum vector register size.

More details on the LLVM 21 branching today via the LLVM.org Discourse. The LLVM 21 release candidate should be out in the coming days while LLVM 21.1 stable compiler stack should be ready in roughly six weeks. LLVM/Clang 22 stable (LLVM 22.1 / Clang 22.1) in turn will be out around next March.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.