LLVM Weekly - #457, October 3rd 2022

LLVM Weekly - #457, October 3rd 2022

If you prefer, you can read a HTML version of this email at http://llvmweekly.org/issue/457.

Welcome to the four hundred and fifty-seventh 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

The program for the 2022 LLVM Developers’ Meeting has been announced. Additionally, registration for the MLIR Summit (taking place the day after the LLVM Developers’ Meeting)is now open.

The LLVM blog features an article from Mark de Wever about text formatting in C++ using libc++.

The next LLVM Bay Area meetup will take place on Monday October 17th.

On the forums

LLVM commits

  • A new llvm::IntervalTree datastructure was added to LLVM’s ADT library. It’s optimised for holding intervals and allows for querying which ones overlap. 6584d1f.

  • The X86 backend no longer uses CostPerUse to assign different costs to registers based on the length of encoding, as this was found to reduce spills and improve performance by several percent, for only a 0.3% geomean code size increase. 189900e.

  • SimplifyLibCalls gained support for folding stpncpy. e80e134c.

  • llvm-remarkutil gained an option to print out instruction counts. a4591a6.

  • The isMaskAndCmp0FoldingBeneficial hook was implemented for the Arm target. 6602110.

  • The WebAssembly backend now uses intrinsics for the table.get and table.set instructions. 1bd1a44.

  • The basic Neoverse V2 CPU definitions were added to the AArch64 backend. fbb1194.

  • The LLVM Developer Policy was updated to document the use of the Co-author-by git tag in commit messages. 4f4c44c.

  • A new cost-benefit-based priority was added to the ModuleInliner. 4e9dd21.