We are happy to announce that LLVM 17.0.2 is now released!
This includes the main LLVM project, and it’s subprojects including clang, lld, libc++, and MLIR.
Changes
This was a smaller release and just contains a bunch of fixes all over the source tree:
- René Rebe: Fix release/export.sh to export runtimes tarball, too (#67404) (b2417f51dbbd)
- Hui: [libc++] Fix
std::pair
’s pair-like constructor’s incorrect assumption (#66585) (23988a1d82d5) - Arthur Eubanks: [CodeGen] Don’t treat thread local globals as large data (#67764) (33e14ecd6aac)
- Tobias Hieta: [workflow] Fix abi checker in llvm-tests. Same fix as in 99fb0af80d16b0ff886f032441392219e1cac452 (#67957) (03f797b51df6)
- Martin Storsjö: [clang] [MinGW] Tolerate mingw specific linker options during compilation (#67891) (f6cf58eed973)
- Martin Storsjö: [LLD] [COFF] Restore the current dir as the first entry in the search path (#67857) (b338a2830a2c)
- Martin Storsjö: [LLD] [COFF] Clarify -print-search-path for the empty string element (#67856) (6a5be8e95b43)
- Matheus Izvekov: [NFC] clang-format lld/COFF/Driver.cpp and lld/Common/Filesystem.cpp (71be0aafe357)
- Martin Storsjö: [compiler-rt] Reinstate removal of CRT choice flags from CMAKE__FLAGS (#67935) (0a2d7dae6ef2)
- DianQK: [MemCpyOpt] Merge alias metadatas when replacing arguments (#67539) (098e653a5bed)
- Nikita Popov: [MemCpyOpt] Add test for #67539 (NFC) (78d201ebc3e2)
- Argyrios Kyrtzidis: [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122) (e718f3240a57)
- Shoaib Meenai: [Sema] Fix fixit cast printing inside macros (#66853) (45066b9fbc7b)
- Artem Belevich: Work around two more instances of noinline conflicts. (#66138) (87ec1f460d0e)
- Alex Langford: [lldb] Fix building LLDB standlone without framework (9da5b7a93bca)
- Alex Langford: [lldb][NFCI] Change logic to find clang resource dir in standalone builds (c056d720b534)
- Wael Yehia: [XCOFF] Do not generate the special .ref for zero-length sections (#66805) (cb23434f9e63)
- duk: Fix buildbot failure caused by D157623 (1b55dc9d94c3)
- namazso: [lld][COFF] Remove incorrect flag from EHcont table (28d81a2bfa0a)
- Tulio Magno Quites Machado Filho: workflows/release-tasks: Setup FileCheck and not for release-lit (#66799) (b7eba056b93c)
- Nikita Popov: [StackColoring] Handle fixed object index (9678f11b057c)
- Nikita Popov: [StackColoring] Handle SEH catch object stack slots conservatively (49e9ee190080)
- Nikita Popov: [X86] Add test for #66984 (NFC) (17123a60b87c)
- Nikita Popov: [SimpleLoopUnswitch] Fix exponential unswitch (2839aa915066)
- Nikita Popov: [SimpleLoopUnswitch] Fix reversed branch during condition injection (773f136d6faa)
- Antonio Frighetto: [clang] Include
expected-no-diagnostics
in newly-added test (NFC) (4362f3e4cf48) - Antonio Frighetto: [clang] Bail out when handling union access with virtual inheritance (5f1fcc43e592)
- Takuya Shimizu: [clang][Diagnostics] Fix wrong line number display (#65238) (178cf5bc8732)
- Kazu Hirata: Revert “[InlineCost] Check for conflicting target attributes early” (25a150b830f6)
- Nikita Popov: [GVN] Also remove phi nodes from VN table (PR65447) (481358974fb0)
- Nikita Popov: [GVN] Invalidate MDA when deduplicating phi nodes (9f77e96186be)
- Tobias Hieta: Bump version to 17.0.2 (a13a89402f53)
- paulwalker-arm: [SVE] Ensure SVE call operands passed via memory are correctly initialised. (#66070) (2c04bdb24677)
- Paul Walker: [SVE] Precommit test to show missing initialisation of call operand. (701620d58cdf)
Download
Find sources and binaries on GitHub.
A note on binaries
Binaries for the LLVM project are made by volunteers and will be uploaded when they have had time to test and build these binaries. They might not be available directly or not at all for each release. We suggest you use the binaries from your distribution or build your own if you rely on a specific platform or configuration.
Next release
Next release will be 17.0.3, in two weeks 17th of October. Please file issues you find in 17.0.2 in the 17.x milestone.