LLVM 9.0.0 Release Notes¶
- Introduction
- Non-comprehensive list of changes in this release
- Changes to the LLVM IR
- Changes to building LLVM
- Changes to the ARM Backend
- Changes to the MIPS Target
- Changes to the PowerPC Target
- Changes to the SystemZ Target
- Changes to the X86 Target
- Changes to the AMDGPU Target
- Changes to the AVR Target
- Changes to the WebAssembly Target
- Changes to the OCaml bindings
- Changes to the C API
- Changes to the DAG infrastructure
- Changes to LLDB
- External Open Source Projects Using LLVM 9
- Additional Information
Warning
These are in-progress notes for the upcoming LLVM 9 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 9.0.0. 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 LLVM Developer’s Mailing List is a good place to send them.
Note that if you are reading this file from a Subversion 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¶
- The optimizer will now convert calls to
memcmp
into a calls tobcmp
in some circumstances. Users who are building freestanding code (not depending on the platform’s libc) without specifying-ffreestanding
may need to either pass-fno-builtin-bcmp
, or provide abcmp
function. - Two new extension points, namely
EP_FullLinkTimeOptimizationEarly
andEP_FullLinkTimeOptimizationLast
are available for plugins to specialize the legacy pass manager full LTO pipeline.
Changes to the LLVM IR¶
- Added
immarg
parameter attribute. This indicates an intrinsic parameter is required to be a simple constant. This annotation must be accurate to avoid possible miscompiles. - The 2-field form of global variables
@llvm.global_ctors
and@llvm.global_dtors
has been deleted. The third field of their element type is now mandatory. Specify i8* null to migrate from the obsoleted 2-field form. - The
byval
attribute can now take a type parameter:byval(<ty>)
. If present it must be identical to the argument’s pointee type. In the next release we intend to make this parameter mandatory in preparation for opaque pointer types. atomicrmw xchg
now allows floating point typesatomicrmw
now supportsfadd
andfsub
Changes to building LLVM¶
- Building LLVM with Visual Studio now requires version 2017 or later.
Changes to the ARM Backend¶
During this release …
Changes to the MIPS Target¶
During this release …
Changes to the PowerPC Target¶
During this release …
Changes to the SystemZ Target¶
- Support for the arch13 architecture has been added. When using the
-march=arch13
option, the compiler will generate code making use of new instructions introduced with the vector enhancement facility 2 and the miscellaneous instruction extension facility 2. The-mtune=arch13
option enables arch13 specific instruction scheduling and tuning without making use of new instructions. - Builtins for the new vector instructions have been added and can be
enabled using the
-mzvector
option. Support for these builtins is indicated by the compiler predefining the__VEC__
macro to the value10303
. - The compiler now supports and automatically generates alignment hints on vector load and store instructions.
- Various code-gen improvements, in particular related to improved instruction selection and register allocation.
Changes to the X86 Target¶
During this release …
Changes to the AMDGPU Target¶
- Function call support is now enabled by default
- Improved support for 96-bit loads and stores
- DPP combiner pass is now enabled by default
- Support for gfx10
Changes to the AVR Target¶
During this release …
Changes to the WebAssembly Target¶
During this release …
Changes to LLDB¶
- Backtraces are now color highlighting in the terminal.
- DWARF4 (debug_types) and DWARF5 (debug_info) type units are now supported.
- This release will be the last where
lldb-mi
is shipped as part of LLDB. The tool will still be available in a downstream repository on GitHub.
External Open Source Projects Using LLVM 9¶
- 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 Subversion 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 mailing lists.