LLVM 12.0 Released With Alder Lake + Sapphire Rapids Support, More C++20

Written by Michael Larabel in LLVM on 15 April 2021 at 04:00 AM EDT. 2 Comments
LLVM
After the release cycle dragged on an extra month due to blocker bugs, LLVM 12 was officially tagged on Wednesday night as the latest half-year update to this open-source compiler stack.

LLVM 12 is a big feature release with support for x86-64 micro-architecture feature levels (matching the behavior of the GNU/GCC toolchain), adds support for Intel Alder Lake and Sapphire Rapids processors, provides initial support for AMD Zen 3 with "znver3" (though further tuning is still to land), continued work around C++20, POWER optimizations, Clangd is enjoying lower memory use, continued AMDGPU back-end improvements, and much more.

Clang 12 also has improvements around Windows on ARM64, OpenCL kernel language improvements, AVXVNNI / UNITR / HRESET instruction support, honoring of "-mtune" behavior on x86/x86_64, and more.

LLVM 12.0 source packages along with the various LLVM sub-projects like Clang 12, Flang 12, libcxx 12, and more can be downloaded from GitHub while awaiting the official announcement.

More benchmarks of LLVM/Clang 12 as well as comparisons against the upcoming GCC 11 compiler release will be coming up in the days ahead on Phoronix.
Related News
About The Author
Michael Larabel

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.

Popular News This Week