LLVM 22.0.0git Release NotesΒΆ

Warning

These are in-progress notes for the upcoming LLVM 22.0.0git release. Release notes for previous releases can be found on the Download Page.

IntroductionΒΆ

This document contains the release notes for the LLVM Compiler Infrastructure, release 22.0.0git. Here we describe the status of LLVM, including major improvements from the previous release, improvements in various subprojects of LLVM, and some of the current users of the code. All LLVM releases may be downloaded from the LLVM releases web site.

For more information about LLVM, including information about the latest release, please check out the main LLVM web site. If you have questions or comments, the Discourse forums is a good place to ask them.

Note that if you are reading this file from a Git checkout or the main LLVM web page, this document applies to the next release, not the current one. To see the release notes for a specific release, please see the releases page.

Non-comprehensive list of changes in this releaseΒΆ

  • …

Changes to the LLVM IRΒΆ

  • The ptrtoaddr instruction was introduced. This instruction returns the address component of a pointer type variable but unlike ptrtoint does not capture provenance (#125687).

Changes to LLVM infrastructureΒΆ

Changes to building LLVMΒΆ

Changes to TableGenΒΆ

Changes to Interprocedural OptimizationsΒΆ

  • Added -enable-machine-outliner={optimistic-pgo,conservative-pgo} to read profile data to guide the machine outliner (#154437).

Changes to VectorizersΒΆ

  • Added initial support for copyable elements in SLP, which models copyable elements as add , 0, i.e. uses identity constants for missing lanes.

  • SLP vectorizer supports initial recognition of FMA/FMAD pattern

Changes to the AArch64 BackendΒΆ

Changes to the AMDGPU BackendΒΆ

Changes to the ARM BackendΒΆ

Changes to the AVR BackendΒΆ

Changes to the DirectX BackendΒΆ

Changes to the Hexagon BackendΒΆ

Changes to the LoongArch BackendΒΆ

Changes to the MIPS BackendΒΆ

Changes to the PowerPC BackendΒΆ

Changes to the RISC-V BackendΒΆ

  • The loop vectorizer now performs tail folding by default on RISC-V, which removes the need for a scalar epilogue loop. To restore the previous behaviour use -prefer-predicate-over-epilogue=scalar-epilogue.

  • llvm-objdump now has basic support for switching between disassembling code and data using mapping symbols such as $x and $d. Switching architectures using $x with an architecture string suffix is not yet supported.

  • Ssctr and Smctr extensions are no longer experimental.

  • Add support for Zvfbfa (Additional BF16 vector compute support)

Changes to the WebAssembly BackendΒΆ

Changes to the Windows TargetΒΆ

Changes to the X86 BackendΒΆ

Changes to the OCaml bindingsΒΆ

Changes to the Python bindingsΒΆ

Changes to the C APIΒΆ

Changes to the CodeGen infrastructureΒΆ

Changes to the Metadata InfoΒΆ

Changes to the Debug InfoΒΆ

Changes to the LLVM toolsΒΆ

  • llvm-readelf now dumps all hex format values in lower-case mode.

  • Some code paths for supporting Python 2.7 in llvm-lit have been removed.

Changes to LLDBΒΆ

  • LLDB can now set breakpoints, show backtraces, and display variables when debugging Wasm with supported runtimes (WAMR and V8).

Changes to BOLTΒΆ

Changes to SanitizersΒΆ

Other ChangesΒΆ

External Open Source Projects Using LLVM 22.0.0gitΒΆ

  • A project…

Additional InformationΒΆ

A wide variety of additional information is available on the LLVM web page, in particular in the documentation section. The web page also contains versions of the API documentation which is up-to-date with the Git version of the source code. You can access versions of these documents specific to this release by going into the llvm/docs/ directory in the LLVM tree.

If you have any questions or comments about LLVM, please feel free to contact us via the Discourse forums.