LLVM Weekly - #541, May 13th 2024
Welcome to the five hundred and forty-first issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. LLVM Weekly is brought to you by Alex Bradbury. Subscribe to future issues at http://llvmweekly.org and pass it on to anyone else you think may be interested. Please send any tips or feedback to asb@asbradbury.org, @llvmweekly or @asbradbury on Twitter, or @llvmweekly@fosstodon.org or @asb@fosstodon.org.
News and articles from around the web and events
As part of trying to catch up on my blogging backlog, I wrote a new post with notes and thoughts from the Carbon panel session at EuroLLVM last month.
Raymond Chen wrote a blog providing an informal comprison of three major implementations of std::string.
According to the LLVM calendar in the coming week there will be the following:
- Office hours with the following hosts: Aaron Ballman, Alexey Bader, Alina Sbirlea, Phoebe Wang, Johannes Doerfert.
- Online sync-ups on the following topics: Flang, alias analysis, pointer authentication, SPIR-V, libc++, new contributors, LLVM/offload, classic Flang, C/C++ language working group, loop optimisations, floating point, OpenMP, MLIR.
- For more details see the LLVM calendar, getting involved documentation on online sync ups and office hours.
On the forums
Lucile Rose Nihlen outlined Google’s plan for the LLVM presubmit infrastructure.
The 65th edition of MLIR News is now available (I guess I missed commenting on the
2^6
milestone - major credit is due to Javed Absar for carrying the torch on this).Brad Richardson shared an updated revision of the RFC on a parallel runtime interface for Fortran.
Fangrui Song posted an RFC on handling some constructs such as .if not currently supported in integrated assemblers.
Ahmed Bougacha proposed adding ptrauth constants, aiming to allow global initialisers to contain signed pointers.
There was a lot of further discussion on the idea of a ‘stack’ MLIR dialect.
LLVM commits
The DXContainer format was documented. afeedd9.
A script was added to generate elaborated IR and assembly tests, along with documentation on how to use it. aacea0d.
.option arch
in RISC-V assembly now accepts the names of experimental extensions. d70267f.LoongArch gained a ‘W’ instruction MI-level optimisation pass inspired by the equivalent one in RISC-V. e9bcd2b.
AArch64 extension information was moved to tablegen. 639a740.
A handy
APInt:clearHighBits
helper was added. 99934da.
Clang commits
clang-format learned to handle Java switch expressions. 236b3e1.
The
-fseparate-named-sections
command-line option was introduced. 8bcb073.Clang started to emit PAuth ABI compatibility tag values for AArch64 when appropriate. ad652ef.