LLVM 4.0.0 Release Notes¶
Warning
These are in-progress notes for the upcoming LLVM 4.0.0 release. You may prefer the LLVM 3.9 Release Notes.
Introduction¶
This document contains the release notes for the LLVM Compiler Infrastructure, release 4.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.
Non-comprehensive list of changes in this release¶
- The C API functions LLVMAddFunctionAttr, LLVMGetFunctionAttr, LLVMRemoveFunctionAttr, LLVMAddAttribute, LLVMRemoveAttribute, LLVMGetAttribute, LLVMAddInstrAttribute and LLVMRemoveInstrAttribute have been removed.
- The C API enum LLVMAttribute has been deleted.
- The definition and uses of LLVM_ATRIBUTE_UNUSED_RESULT in the LLVM source were replaced with LLVM_NODISCARD, which matches the C++17 [[nodiscard]] semantics rather than gcc’s __attribute__((warn_unused_result)).
- Minimum compiler version to build has been raised to GCC 4.8 and VS 2015.
- The Timer related APIs now expect a Name and Description. When upgrading code the previously used names should become descriptions and a short name in the style of a programming language identifier should be added.
- LLVM now handles invariant.group across different basic blocks, which makes it possible to devirtualize virtual calls inside loops.
- ... next change ...
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 X86 Target¶
During this release ...
Changes to the AMDGPU Target¶
During this release ...
Changes to the AVR Target¶
- The entire backend has been merged in-tree with all tests passing. All of the instruction selection code and the machine code backend has landed recently and is fully usable.
Changes to the OCaml bindings¶
- The attribute API was completely overhauled, following the changes to the C API.
External Open Source Projects Using LLVM 4.0.0¶
- 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.