LLVM News Archives


724 LLVM open-source and Linux related news articles on Phoronix since 2009.

LLVM 17.0 + Clang 17.0 Released With Many New Compiler Features
LLVM 17.0 + Clang 17.0 Released With Many New Compiler Features

The LLVM 17 compiler stack has been released as stable as LLVM 17.0.1 -- a slight mistake leaving the 17.0.0-rc tag meant the original v17.0.0 tag was skipped. This LLVM 17.0.1 stable release along with sub-projects like the Clang 17 C/C++ compiler bring many new features and improvements.

19 September 2023 - LLVM 17.0.1 - 14 Comments
LLVM Clang Now Supports -std=c23
LLVM Clang Now Supports -std=c23

LLVM/Clang developers have been working on C23 language support for some time already but to this point it's only been exposed when using the -std=c2x target or -std=gnu2x for the GNU dialect. However, with C2x having been finalized this summer as C23, the LLVM Clang 18 compiler will now honor the -std=c23 option.

11 August 2023 - C23 Target - 2 Comments
LLVM 18 Lands -march=arrowlake / arrowlake-s / lunarlake
LLVM 18 Lands -march=arrowlake / arrowlake-s / lunarlake

Going along with LLVM's recent additions around supporting new Intel instructions coming with future generation Core CPUs, the LLVM 18 Git development code has now landed support for actually honoring -march=arrowlake, -march=arrowlake-s, and -march=lunarlake targets.

28 July 2023 - LLVM Clang 18 - 1 Comment
LLVM Lands Initial Support For Fat LTO Objects
LLVM Lands Initial Support For Fat LTO Objects

In a move similar to GCC's implementation, LLVM Git landed this week initial support for fat LTO objects. This "-ffat-lto-objects" support will be found with the LLVM/Clang 17 release this autumn.

2 July 2023 - LLVM Fat LTO Objects - 4 Comments
New Patches Allow LoongArch ClangBuiltLinux Builds
New Patches Allow LoongArch ClangBuiltLinux Builds

While the upstream LLVM/Clang compiler has been building the AArch64 and x86_64 mainline Linux kernel builds for quite some time, for those interested in China's LoongArch CPU architecture it's the latest target seeing work to enable compiling the Linux kernel under Clang.

25 June 2023 - LoongArch + Clang + Linux - 3 Comments
LLVM 16.0 Released With New Intel/AMD CPU Support, More C++20 / C2X Features
LLVM 16.0 Released With New Intel/AMD CPU Support, More C++20 / C2X Features

LLVM 16 was released on Friday night as the latest half-year feature release to this open-source compiler stack. From initial AMD Zen 4 support to bringing up new Intel CPU instruction sets and processor targets for their new processors being introduced through 2024, there is a lot of exciting hardware additions in LLVM 16.0. LLVM 16.0 is also notable for faster LLD linking, Zstd compressed debug sections, stabilizing of its LoongArch target, defaulting to C++17 for Clang, and much more. Here's a look at all the exciting changes of LLVM 16.

18 March 2023 - LLVM 16.0 + Clang 16.0 - 14 Comments
Google Engineer Introduces "Light AVX" Support Within LLVM
Google Engineer Introduces "Light AVX" Support Within LLVM

Google engineer Ilya Tocar has introduced the notion of "light" AVX support within the LLVM compiler infrastructure for utilizing some benefits of Advanced Vector Extensions (AVX) but trying to avoid the power/frequency impact that AVX-512 use has on older generations of Intel processors.

25 January 2023 - Light AVX - 8 Comments
Compiling The Linux Kernel With LLVM's Clang Matured In 2022
Compiling The Linux Kernel With LLVM's Clang Matured In 2022

Over the past few years it's become possible to compile the mainline Linux kernel with LLVM/Clang compared to the long-standing dependence on using the GCC compiler. While it's been possible for 3+ years to use the mainline Linux kernel and mainline Clang for building a working x86_64 and AArch64 kernel, the process and support continues to mature.

5 January 2023 - Clang Built Linux - 19 Comments
LLVM's BOLT Flipped On By Default For Linux x86/AArch64 Test Releases

BOLT as the Facebook/Meta-developed tech for optimizing binaries in the name of greater performance by optimizing the code layout was merged to mainline LLVM at the start of the year. Now as we approach the end of the year BOLT is getting a bit of a promotion with being flipped on by default for Linux x86_64 and AArch64 test releases.

4 November 2022 - Optimizing Binaries - 8 Comments
LLVM Clang 15 Delivers Some Small x86_64 Performance Improvements But Mostly Flat

Released last month was LLVM/Clang 15 and since then a number of Phoronix readers have been inquiring about Clang 15 compiler benchmarks or there the lack of on Phoronix. I've been testing various Intel and AMD systems with Clang 15, but it hasn't been particularly exciting -- but that's not a bad thing, just that it doesn't make for particularly compelling benchmark articles.

11 October 2022 - LLVM Clang 15 - 4 Comments
Zstd Compression Being Eyed For Use Within LLVM
Zstd Compression Being Eyed For Use Within LLVM

LLVM developers are eyeing Zstandard "Zstd" use within this compiler stack as a secondary compression method to Zlib. Zstd could be used for compressing ELF debug sections, AST data structures, and other purposes within this open-source compiler stack.

25 June 2022 - Zstandard - 11 Comments
LLVM 14.0.2 Released With The Compiler Moving To Bi-Weekly Releases
LLVM 14.0.2 Released With The Compiler Moving To Bi-Weekly Releases

LLVM 14.0.1 released just earlier this month while already LLVM 14.0.2 is out today. LLVM normally sees just a single point release and traditionally happened mid-to-late in the development cycle ahead of LLVM's next major release. But now LLVM is moving to shipping point releases every two weeks.

27 April 2022 - LLVM 14.0.2 - 16 Comments
Initial SPIR-V Backend Code Lands In LLVM 15
Initial SPIR-V Backend Code Lands In LLVM 15

The long in-development work by Intel, The Khronos Group, and other organizations on a proper SPIR-V back-end for LLVM is finally seeing code in mainline. As of last night the initial pieces have landed for the LLVM SPIR-V back-end for this Khronos open standard IR used most notably by Vulkan but for OpenCL and OpenGL as well.

20 April 2022 - SPIR-V Backend, Finally!!! - 3 Comments
Clang'ing The Kernel With Different LLVM Setups Will Be Easier With Linux 5.18

Building the Linux kernel with LLVM/Clang rather than GCC has continued maturing nicely since the support was mainlined two years ago and additional LLVM/Clang functionality continues to be optionally supported by the Linux kernel. With Linux 5.18 there is an improvement around the handling of the LLVM environment variable for dealing with versioned compiler binaries or compiler installations outside of the PATH.

3 April 2022 - More Flexible LLVM - 2 Comments
LLVM Begins Landing The Initial DirectX / HLSL Target Code
LLVM Begins Landing The Initial DirectX / HLSL Target Code

Earlier this month I wrote about Microsoft engineers wanting to add DirectX and HLSL support into the upstream LLVM/Clang compiler. As of this week the very early bits of code are beginning to land in LLVM 15.0 for this Microsoft graphics effort.

28 March 2022 - DirectX Shader Compiler With LLVM - 6 Comments

724 LLVM news articles published on Phoronix.