Chapter 5. Changes in LLVM Toolset
LLVM Toolset has been updated from version 13.0.1 to 14.0.6 on RHEL 7, RHEL 8, and RHEL 9.
Notable changes include:
clang changes:
-
'if consteval'forC++2bis now implemented. -
On 64-bit x86, support for
AVX512-FP16instructions has been added. -
Completed support of OpenCL C 3.0 and
C++for OpenCL 2021 at experimental state. -
The
-E -Ppreprocessor output now always omits blank lines, matching GCC behavior. Previously, up to 8 consecutive blank lines could appear in the output. -
Support
-Wdeclaration-after-statementwithC99and later standards, and not just C89, matching GCC’s behavior. A notable use case is supporting style guides that forbid mixing declarations and code, but want to move to newer C standards.
For detailed information regarding the updates, see the upstream LLVM 14.0.0 Release Notes.