LLVM Weekly - #502, August 14th 2023

LLVM Weekly - #502, August 14th 2023

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

Welcome to the five hundred and second 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

Jakub BerĂĄnek produced a tool cargo-remark, for inspecting LLVM optimisation remarks from rustc.

The LLVM Bay Area Monthly meetup is on tonight (Mon Aug 14th).

The call for papers for the ninth annual LLVM in HPC workshop closes this Wednesday, August 16th.

According to the LLVM calendar in the coming week there will be:

  • Office hours with the following hosts: Aaron Ballman, Alexey Bader, Phoebe Wang, Johannes Doerfert, Michal Paszkowski.
  • Online sync-ups on the following topics: LLVM security group public meeting, OpenMP in LLVM, Clang C/C++ language working group, Flang, RISC-V, MLIR, LLVM embedded toolchains.
  • For more details see the LLVM calendar, getting involved documentation on online sync ups and office hours.

On the forums

LLVM commits

  • The recently added GlobalISel match table backend was overhauled and documentation on MIR patterns was added. 63afb705.

  • InstCombine has been learning its algebra, and now contracts integer x^2 + 2xy + y^2 to (x+y)^2. 0bdab96.

  • The interface for isTriviallyReMaterializable was simplified. bbb9589.

  • Generation of Arm Thumb stack accesses was improved. f83ab2b.

  • The profitability logic for function specialisation was reworked. d1b376f.

  • The proposed mapping for the RISC-V Ztso extension (support for the TSO memory model) was implemented. fcad2bb.

Clang commits

  • -std=c23 and -std=gnu23 are now accepted. 13629b1, 315d1d0, 0ce056a.

  • C intrinsics for the RISC-V vector crypto extension are now supported. 2a05a52.

  • Arguments of clang::annotate were exposed in libclang. 177ec17.

Other project commits

  • A range of PPC vector intrinsics were added to Flang. d652884, 45c0053.

  • libc’s IntegerToString API was reworked. b555912.

  • Module partitions were removed in libcxx - there is no longer a module partition per header, improving compile times when using modules. 4d4c70c.

  • A generic “convert-to-llvm” pass was introduced to MLIR. 4529797.

  • An MLIR pass was added to convert control flow to structured control flow. 3b45fe2.

  • Documentation was added for MLIR’s new GPU compilation mechanism. a7cdea7.

1 Like