LLVM Weekly - #426, February 28th 2022
Welcome to the four hundred and twenty-sixth 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, or @llvmweekly or @asbradbury on Twitter.
News and articles from around the web
Fangrui Song blogged about lld/ELF changes in LLVM 14.
The video from the January Women in Compilers and Tools January Meetup has now been posted. It features a discussion with Anna Ossowski, organised in collaboration with PyLadies London.
A recent post on the Linaro blog explains how to set up Windows on Arm for LLVM development.
George A Constantinides wrote about recent high-level synthesis work using LLVM that will be presented at the ACM FPGA conference.
The Rust Compiler Team have shared their ambitions for 2022.
On the forums
Please participate in this poll if you’re thinking about attending EuroLLVM 2022 in London UK.
As a reminder, feedback on the move to Discourse is requested to be submitted by March 7th.
Aaron Ballman shared an RFC on enabling -Wstrict-prototypes by default in C, proposing to additionally make it default to an error. Some respondents were concerned about the impact on legacy codebases (e.g. benchmarks).
Fangrui Song initiated a discussion about parallel/thread-safe algorithms, allocators, and containers in the LLVM project.
There’s been much more discussion about adding a C++ pseudo parser to clang for use in tooling, with a detailed discussions about some of the pros/cons of adding an additional parser.
LLVM GPU News #29 is out.
River Riddle posted an RFC aiming to address scalability/sustainability issues in MLIR dialect extensibility.
Discussion on adding an LLVM content-addressable storage library has continued, and as a next step a meeting has been organised for Tuesday 1st March.
Anton Korobeynikov sent a heads-up that label-based notifications are now enabled for the LLVM repo. This is an early access GitHub feature.
Rachit Nigam advertised that the 2nd Workshop on Languages, Tools, and Techniques for Accelerator Design (LATTE'22) will take place on March 1st 2022, noting it has a strong overlap with CIRCT.
“Luna” asked for advice on debugging a Clang compile command that never completes and received several suggestions.
Stephen Tozer wrote an RFC on removing the build and test discovery mechanisms from Dexter.
“lxsameer” is seeking feedback on adding clang-doc support for export to org-mode and lisp lists.
Slides from a recent Flang developers call are now available.
The inaugural meeting for the Clang C/C++ language working group has been set for Wed March 2nd at 11am ET.
LLVM commits
LLVM ‘office hours’ were documented. 7a837d3.
Demanded bits are now used to convert a multiply to a shift where possible. 21d7c3b.
Builtins/intrinsics were added for more FMA variants in the NVPTX backend. be67293.
llc for RISC-V will now use the same logic as Clang to select the ABI based on the target architecture. 4e115b7.
Clang commits
clang-format gained a new InsertBraces option, that will insert optional braces after if/elf/for/while/do. 77e60bc.
As part of the ‘pseudo parser’ work, an LR parsing table was implemented. a2fab82.
Support was added for
-ffp-eval-method
and#pragma clang fp eval_method
. 1592d88.As part of the work to add a dataflow analysis framework to Clang, a SAT solver interface and implementation were added. 53dcd9e.