[all-commits] [llvm/llvm-project] 259245: [gn build] Port e95c8f57cc18 (#228646)
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Sat Oct 3 09:54:46 PDT 2026
Branch: refs/heads/users/vitalybuka/spr/nfctsan-remove-redundant-contextreport_mtx
Home: https://github.com/llvm/llvm-project
Commit: 259245637e29b933bccd75c9aec0828498a0d7df
https://github.com/llvm/llvm-project/commit/259245637e29b933bccd75c9aec0828498a0d7df
Author: Nico Weber <thakis at chromium.org>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/CodeGenUtils/BUILD.gn
Log Message:
-----------
[gn build] Port e95c8f57cc18 (#228646)
Commit: cc91bfe65be0b65700fa26b01ff00a9e3528f03d
https://github.com/llvm/llvm-project/commit/cc91bfe65be0b65700fa26b01ff00a9e3528f03d
Author: Fangrui Song <i at maskray.me>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/lib/ObjCopy/ELF/ELFObject.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
A llvm/test/tools/llvm-objcopy/ELF/reloc-alloc-symtab.test
M llvm/test/tools/llvm-objcopy/ELF/reloc-no-symtab.test
Log Message:
-----------
Reland "[llvm-objcopy] Handle SHF_ALLOC relocation sections in relocatable files" (#228654)
This relands #227204, reverted by #228572 due to a UBSan failure in
compress-sections.s:
```
ELFObject.h:887:35: runtime error: load of value 190, which is not a valid value for type 'const bool'
```
--compress-sections on a relocation section creates a CompressedSection
that incorrectly keeps OriginalType SHT_RELA, so
RelocationSection::classof cast it and read
RelocationSectionBase::Dynamic. Set its OriginalType to SHT_PROGBITS,
which also fixes a TODO in Object::removeSections
Original description:
llvm-objcopy treats every SHF_ALLOC relocation section as dynamic and
requires its sh_link to refer to .dynsym. Linux livepatch modules
(ET_REL) contain SHF_ALLOC .klp.rela.* sections linked to .symtab
(SHF_ALLOC keeps them in module memory until the patched module loads),
so llvm-objcopy rejects them:
```
error: Link field value 4 in section .klp.rela.vmlinux.text is not a symbol table
```
A relocatable file has no dynamic symbol table, so treat all of its
relocation sections as static, as BFD does. Their symbol indexes are
then updated when the symbol table changes. Since SHF_ALLOC no longer
distinguishes RelocationSection from DynamicRelocationSection, record
the kind in RelocationSectionBase.
LLM-aided
Commit: 9a891dfc2c17fda49accc8c37cf4c2ddde6fa7d7
https://github.com/llvm/llvm-project/commit/9a891dfc2c17fda49accc8c37cf4c2ddde6fa7d7
Author: lntue <lntue at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M libc/CMakeLists.txt
M libc/src/__support/printf_core/CMakeLists.txt
Log Message:
-----------
[libc][cmake] Suppress -Wpsabi note on GCC and clean up resource-dir check. (#227968)
- Add `-Wno-psabi` to GCC compile options to suppress ABI change notes
for 80-bit long double unions.
- Pass `ERROR_QUIET` to clang-specific `--print-resource-dir` query in
`libc/CMakeLists.txt` so it does not output errors on GCC and MSVC.
Assisted-by: Gemini
Commit: a72683f5a2bf63c8ee6dfb3c510f298589db08fe
https://github.com/llvm/llvm-project/commit/a72683f5a2bf63c8ee6dfb3c510f298589db08fe
Author: lntue <lntue at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M libc/hdr/CMakeLists.txt
M libc/hdr/poll_macros.h
A libc/hdr/poll_overlay.h
M libc/hdr/sys_socket_macros.h
A libc/hdr/sys_socket_overlay.h
M libc/hdr/types/CMakeLists.txt
M libc/hdr/types/nfds_t.h
M libc/hdr/types/sa_family_t.h
M libc/hdr/types/socklen_t.h
M libc/hdr/types/struct_cmsghdr.h
M libc/hdr/types/struct_linger.h
M libc/hdr/types/struct_mmsghdr.h
M libc/hdr/types/struct_msghdr.h
M libc/hdr/types/struct_pollfd.h
M libc/hdr/types/struct_sockaddr.h
M libc/hdr/types/struct_sockaddr_storage.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][hdr] Add poll and socket overlay headers for GCC overlay builds. (#227961)
When building LLVM libc in overlay mode with gcc/g++, alias and macro
redirections in GNU libc headers (such as ppoll and socket functions)
cause conflict with libc header declarations.
Fixes in this PR:
- Add `poll_overlay.h` and `sys_socket_overlay.h` to wrap system headers
before libc macros and type declarations in overlay mode.
- Update proxy headers in `libc/hdr/` and `libc/hdr/types/`.
- Update CMake and Bazel build files accordingly.
Assisted-by: Gemini
Commit: 5a3a399c2773bf4d86413e1855f6be2cf35da8af
https://github.com/llvm/llvm-project/commit/5a3a399c2773bf4d86413e1855f6be2cf35da8af
Author: Amy Kwan <amy.kwan1 at ibm.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Analysis/LoopCacheAnalysis.cpp
A llvm/test/Analysis/LoopCacheAnalysis/nestedloop-cost.ll
Log Message:
-----------
[LoopCacheAnalysis] Guard against bit-width overflow in computeRefCost (#224427)
In `computeRefCost()`, the non-consecutive access path estimates the
cache cost by multiplying the trip counts across outer loop dimensions.
Each multiplication ends up calling `getExtendedType()` to obtain an
integer type twice as wide as the current one.
For a deeply-nested loop (such as the 20-dimensional array found in this
change), it is possible for the doubling to exceed `MAX_INT_BITS`, which
triggers the following assert in `IntegerType::get()`.
```
Assertion failed: NumBits <= MAX_INT_BITS && "bitwidth too large", file llvm-project/llvm/lib/IR/Type.cpp, line 340, static IntegerType *llvm::IntegerType::get(LLVMContext &, unsigned int)()
```
This change checks whether the current integer width already exceeds
`MAX_INT_BITS / 2`. If this is true, the doubled width would overflow,
so we return `CacheCostTy::getInvalid()` instead of asserting.
Commit: a58d667a73a4fe91d11a5d43d98eb0020a76e91d
https://github.com/llvm/llvm-project/commit/a58d667a73a4fe91d11a5d43d98eb0020a76e91d
Author: wenhu1024 <96782898+wenhu1024 at users.noreply.github.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
A llvm/test/CodeGen/NVPTX/lower-byval-args-icmp.ll
Log Message:
-----------
[NVPTX] Conservatively bail on unhandled byval pointer uses (#228439)
Commit: f475f085bf7ba0429d7a583a591a332eb1e56df3
https://github.com/llvm/llvm-project/commit/f475f085bf7ba0429d7a583a591a332eb1e56df3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV][P-ext] Combine repeated code. NFC (#228163)
The body of these 2 if statements are identical and the if conditions
are equivalent to checking if the VT is XLenVT.
Commit: 0015ba584055f39bc729424ae77e3f5543169543
https://github.com/llvm/llvm-project/commit/0015ba584055f39bc729424ae77e3f5543169543
Author: lntue <lntue at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/ExecuteFunctionUnix.cpp
M libc/test/src/math/smoke/AddTest.h
M libc/test/src/math/smoke/DivTest.h
M libc/test/src/math/smoke/MulTest.h
M libc/test/src/math/smoke/SubTest.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
Log Message:
-----------
[libc][test] Fix death test timeouts and dead-code elimination in math tests. (#227966)
- In `ExecuteFunctionUnix.cpp`, call `prctl(PR_SET_DUMPABLE, 0)` in
child processes to prevent external core dump handlers (such as apport)
from intercepting expected crashes during death tests, eliminating 10s
poll timeouts under parallel lit runs.
- Close `pipe_fds[0]` properly in `invoke_in_subprocess` to avoid
leaking file descriptors.
- In math smoke test templates (`AddTest.h`, `SubTest.h`, `MulTest.h`,
`DivTest.h`), assign test function results to `[[maybe_unused]] volatile
OutType res` to prevent GCC from dead-code eliminating floating point
operations in `test_inexact_results` when FMA optimization is disabled.
Assisted-by: Gemini
Commit: 39e3785197388ebfa671e1f89943b022044c938c
https://github.com/llvm/llvm-project/commit/39e3785197388ebfa671e1f89943b022044c938c
Author: Kunal Dubey <xakep8 at protonmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
M clang/test/CIR/CodeGenBuiltins/builtin-reduce-arithmetic-sve.c
M clang/test/CIR/CodeGenBuiltins/builtin-reduce-arithmetic.c
Log Message:
-----------
[CIR] Lowering for __builtin_reduce_assoc_fadd (#226095)
Added lowering for __builtin_reduce_assoc_fadd with the use of the new
implementation of CIR FastMathFlags, following same lowering path as
Classic Codegen.
Added tests for the same.
Commit: 4146a3d0ba40e0fdd675b0be2be0799a8630d4d7
https://github.com/llvm/llvm-project/commit/4146a3d0ba40e0fdd675b0be2be0799a8630d4d7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Convert mask to scalable vector in lowerVPREDUCE. (#228219)
Assisted-by: Claude
Commit: b3e41fdb7435bc2080c62b4af7362fa89891393e
https://github.com/llvm/llvm-project/commit/b3e41fdb7435bc2080c62b4af7362fa89891393e
Author: Kunal Dubey <xakep8 at protonmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/docs/HIPSupport.md
M clang/lib/CodeGen/CGException.cpp
A clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp
M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
A llvm/test/Transforms/HipStdPar/unsupported-exceptions.ll
Log Message:
-----------
[HIPStdPar] Report reachable C++ exceptions from GPU kernel (#228082)
HipStdPar removes all host functions which are unreachable but there can
be cases where some reachable function contains C++ exceptions it is
forced to device code and since GPU devices don't support C++ exceptions
it must be reported.
This change allows for any reachable C++ exception to be reported as
error.
Part of https://github.com/llvm/llvm-project/issues/221941
Commit: 0fae4df99cff6202ac9b49c2f09aa199d6c230bc
https://github.com/llvm/llvm-project/commit/0fae4df99cff6202ac9b49c2f09aa199d6c230bc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/test/CodeGen/RISCV/fold-mem-offset.ll
Log Message:
-----------
[RISCV] Make sure ADDI isn't a frame index in RISCVMergeBaseOffsetOpt::foldLargeOffset. (#228635)
Fixes #228053
Commit: d97a5ad5e813605511f6b165cce7a8006303b971
https://github.com/llvm/llvm-project/commit/d97a5ad5e813605511f6b165cce7a8006303b971
Author: Kazu Hirata <kazu at google.com>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
Log Message:
-----------
[ADT] Make protected members of DenseMapBase private (NFC) (#228651)
Neither DenseMap nor SmallDenseMap accesses these members after #227063.
This patch also moves getMemorySize into the main public section.
Assisted-by: Antigravity
Commit: 0bdb3936ad4d68e2e98bb591f094c862b65ab569
https://github.com/llvm/llvm-project/commit/0bdb3936ad4d68e2e98bb591f094c862b65ab569
Author: Fangrui Song <i at maskray.me>
Date: 2026-10-02 (Fri, 02 Oct 2026)
Changed paths:
A llvm/test/tools/llvm-objcopy/ELF/reserved-shndx.test
R llvm/test/tools/llvm-objcopy/ELF/section-index-unsupported.test
R llvm/test/tools/llvm-objcopy/ELF/unsupported-machine-specific-shndx.test
Log Message:
-----------
[llvm-objcopy,test] Reorganize reserved st_shndx tests (#228664)
Rename section-index-unsupported.test to reserved-shndx.test, fold
unsupported-machine-specific-shndx.test into it, and enhance it.
Commit: 6a61012344ec10ce7ec109d490fc201d1fa56bef
https://github.com/llvm/llvm-project/commit/6a61012344ec10ce7ec109d490fc201d1fa56bef
Author: hstk30-hw <hanwei62 at huawei.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/AArch64/scalar_to_vector.ll
Log Message:
-----------
[AArch64][SelectionDAG] Avoid fold bitcast of scalar_to_vector to anyext in big-endian (#225442)
```
int_vt (bitcast (vec_vt (scalar_to_vector elt_vt:x)))
=> int_vt (any_extend elt_vt:x)
```
This pattern not legal in big-endian, so disable in big-endian.
Fix https://github.com/llvm/llvm-project/issues/225436
Commit: 2c352018732fbae6f6ea334c8e01610def782be0
https://github.com/llvm/llvm-project/commit/2c352018732fbae6f6ea334c8e01610def782be0
Author: Deepak Shirke <deepakshirke509 at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/and-mask-variable.ll
M llvm/test/CodeGen/AArch64/fcvt-i256.ll
M llvm/test/CodeGen/AArch64/fsh.ll
M llvm/test/CodeGen/AArch64/funnel-shift.ll
M llvm/test/CodeGen/AArch64/shift-mod.ll
M llvm/test/CodeGen/AArch64/shift.ll
Log Message:
-----------
[GlobalISel] [AArch64] Extend SelectShiftMask to handle ADD/SUB mod patterns (#225842)
AArch64 shift instructions only use the low log2(ShiftWidth) bits of the
shift amount, so shifting by X+N where N == 0 mod ShiftWidth is
equivalent to shifting by X alone.
This extends both SelectionDAG (SelectShiftMask) and GlobalISel
(selectShiftMask) implementations.
Part of the incremental work tracked in #224245 to replace
tryShiftAmountMod with ComplexPattern-based isel.
Depends on #223136.
Commit: 6cd72b33224f0c3002b41e0e356eb2ab94ab3545
https://github.com/llvm/llvm-project/commit/6cd72b33224f0c3002b41e0e356eb2ab94ab3545
Author: Anonmiraj <ezzibrahimx at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/clangd/Compiler.cpp
M clang-tools-extra/clangd/index/IndexAction.cpp
M clang/docs/ReleaseNotes.md
M clang/include/clang/Basic/CommentOptions.h
M clang/include/clang/Basic/Diagnostic.h
M clang/include/clang/Basic/DiagnosticIDs.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Options/Options.td
M clang/include/clang/Sema/AnalysisBasedWarnings.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAvailability.cpp
M clang/lib/Sema/SemaDecl.cpp
A clang/test/AST/ast-dump-comment-retention.cpp
A clang/test/Sema/Inputs/documentation-system-header-doc.h
A clang/test/Sema/Inputs/documentation-system-header.h
A clang/test/Sema/warn-documentation-comment-retention.cpp
A clang/test/Sema/warn-documentation-system-header-retained.cpp
A clang/test/Sema/warn-documentation-system-header.cpp
Log Message:
-----------
Reland "[clang] Don't add documentation comments to the AST if not requested (#206363)" (#221605)
The original PR caused a huge
[regression](https://llvm-compile-time-tracker.com/compare.php?from=aa1058e34a6127df91898829b0e60cbae3111cbf&to=e046dce4a4c80610b49d67bc02c85f86b1a6353d&stat=instructions:u)
The problem was that `areAllIgnored` ends up being called once per
declared entity, and each call walks all 26 diagnostics in
`-Wdocumentation` and `-Wdocumentation-pedantic`. So now the result is
cached and it's a performance
[improvement](https://llvm-compile-time-tracker.com/compare.php?from=5d063386f51b7d9925df7db5f05ec2f0a33f63c4&to=e8f7f96262a312739a990d1747a332ba6f1859b3&stat=instructions%3Au)
again.
The cache is keyed on the diagnostic state plus whether the location is
in a system header, because both change the answer. Keying it on the
state alone is wrong: a declaration coming from a system header would
cache "off" and silence the comments in the user's own code after it.
There is a test for that.
Also, Claude noticed that a similar thing is done in
`DoEmitAvailabilityWarning`, so i moved it out in the NFC to reuse it.
closes https://github.com/llvm/llvm-project/issues/165515
Assisted-By: Opus 5.
---------
Co-authored-by: Erich Keane <ekeane at nvidia.com>
Commit: 6f88885684b09e68bb2f2fe5cc6963994c6e47bf
https://github.com/llvm/llvm-project/commit/6f88885684b09e68bb2f2fe5cc6963994c6e47bf
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M mlir/lib/Dialect/OpenMP/Transforms/HostOpFiltering.cpp
M mlir/test/Dialect/OpenMP/host-op-filtering.mlir
Log Message:
-----------
[Flang][MLIR] Fix reset for OpenMP dyn_groupprivate clause (#228177)
Commit: 382e6ffb470947cb63eb2fde99a2b9e0813e2293
https://github.com/llvm/llvm-project/commit/382e6ffb470947cb63eb2fde99a2b9e0813e2293
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
M clang/test/Analysis/Checkers/WebKit/mock-types.h
M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
Log Message:
-----------
[webkit.UncountedLambdaCapturesChecker] Treat call_once arguments as noescape (#224492)
call_once does not store the lambda in heap so consider all its
arguments as noescape.
Commit: 195c81658995a4b7531c30a12c5aef6cf2bbd671
https://github.com/llvm/llvm-project/commit/195c81658995a4b7531c30a12c5aef6cf2bbd671
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/Core.cpp
Log Message:
-----------
ORC: Fix flaky OrcLazy tests (#228619)
I've seen this fail a few too many times so just let AI deal with it. I
don't
know anything about orc, but extending lifetime of lock_guard seems
plausible.
Notify lookupInitSymbols CV while holding the mutex
The init-symbol lookup completion callback decremented Count under
LookupMutex but called CV.notify_one() after releasing it. The waiting
thread could observe Count == 0, return from lookupInitSymbols, and
destroy the stack-allocated mutex and condition variable before the
callback signalled it. With concurrent compile threads the callback runs
on a dispatcher thread, so the late notify wrote into reused stack
memory, e.g. during endSession right after deinitialize.
This caused intermittent crashes in
ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll on macOS
(#50408, #126982). MachOPlatform and ELFNixPlatform already notify their
bootstrap condition variables under the mutex for the same reason.
Co-authored-by: Claude
[noreply at anthropic.com](mailto:noreply at anthropic.com)
Co-authored-by: Claude <noreply at anthropic.com>
Commit: 09648b667cbdef23b270bca1f7f33e5620f70cb9
https://github.com/llvm/llvm-project/commit/09648b667cbdef23b270bca1f7f33e5620f70cb9
Author: Deepak Shirke <deepakshirke509 at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
Log Message:
-----------
[GlobalISel] [AArch64] Extend SelectShiftMask to handle ADD/SUB mod patterns (#225842)
AArch64 shift instructions only use the low log2(ShiftWidth) bits of the
shift amount, so shifting by X+N where N == 0 mod ShiftWidth is
equivalent to shifting by X alone.
This extends both SelectionDAG (SelectShiftMask) and GlobalISel
(selectShiftMask) implementations.
Part of the incremental work tracked in #224245 to replace
tryShiftAmountMod with ComplexPattern-based isel.
Depends on #223136.
Commit: 7516fa2ca8a47c15f5f31265f05c1157b56bb735
https://github.com/llvm/llvm-project/commit/7516fa2ca8a47c15f5f31265f05c1157b56bb735
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
Log Message:
-----------
[webkit.UncountedLambdaCapturesChecker] Treat call_once arguments as noescape (#224492)
call_once does not store the lambda in heap so consider all its
arguments as noescape.
Commit: 92ee37966563310901951b1b5a89bcbafbcea767
https://github.com/llvm/llvm-project/commit/92ee37966563310901951b1b5a89bcbafbcea767
Author: Lang Hames <lhames at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M orc-rt/test/unit/bedrock/sps/SimpleRemoteCATest.cpp
Log Message:
-----------
[orc-rt] Use the Error matchers in SimpleRemoteCATest (#228672)
Use the Error matchers introduced in 4c8a437d0487 to clean up error
checks in SimpleRemoteCATest.
Commit: edeaf21083ce4e4c43e50100db2775a4f78ad7a5
https://github.com/llvm/llvm-project/commit/edeaf21083ce4e4c43e50100db2775a4f78ad7a5
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
A llvm/test/CodeGen/Thumb/optional-def-dead-cpsr.ll
Log Message:
-----------
ARM: Preserve the dead flag when activating the optional CPSR def (#227655)
This did not preserve the original dead flag, so it would be recomputed later by
LiveVariables or RegAllocFast.
Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
Commit: 283cb39881e10a547dc59be0eb2f051135b39124
https://github.com/llvm/llvm-project/commit/283cb39881e10a547dc59be0eb2f051135b39124
Author: Lang Hames <lhames at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M orc-rt/test/unit/bedrock/sys/darwin/StandaloneMachOUnwindInfoRegistrarTest.cpp
Log Message:
-----------
[orc-rt] Use the Error matchers in StandaloneMachOUnwindInfoRegistrar… (#228679)
…Test
Use the Error matchers introduced in 4c8a437d0487 to clean up error
checks in StandaloneMachOUnwindInfoRegistrarTest.
Commit: 1e80bdc439e5034eecd5e667132aaab24636a188
https://github.com/llvm/llvm-project/commit/1e80bdc439e5034eecd5e667132aaab24636a188
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/ARM/ARMAsmPrinter.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
M llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/lib/Target/SystemZ/SystemZXPLINKAsmPrinter.cpp
M llvm/lib/Target/X86/X86AsmPrinter.cpp
Log Message:
-----------
CodeGen: Prefer getting the Triple from the Module when convenient (#228429)
Take the triple from the contextual module rather than TargetMachine when it's
already readily available.
Commit: 4aaffe88596a4de3570ebf887ed74fa3b8a90a0c
https://github.com/llvm/llvm-project/commit/4aaffe88596a4de3570ebf887ed74fa3b8a90a0c
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Semantics/OpenMP/requires03.f90
M flang/test/Semantics/OpenMP/requires04.f90
M flang/test/Semantics/OpenMP/requires05.f90
M flang/test/Semantics/OpenMP/requires06.f90
M flang/test/Semantics/OpenMP/requires07.f90
M flang/test/Semantics/OpenMP/requires08.f90
A flang/test/Semantics/OpenMP/requires11.f90
Log Message:
-----------
[Flang][OpenMP] Reset REQUIRES directive with new program unit (#227829)
A REQUIRES directive with unified_address, unified_shared_memory, or
reverse_offload must appear lexically before any device construct or
device routine is scoped to a program unit.
Commit: 51094783b642291cc29867fbaac520a2e858eb7b
https://github.com/llvm/llvm-project/commit/51094783b642291cc29867fbaac520a2e858eb7b
Author: Lang Hames <lhames at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M orc-rt/test/unit/support/AllocActionTest.cpp
Log Message:
-----------
[orc-rt] Use the Error matchers in AllocActionTest (#228680)
Use the Error matchers introduced in 4c8a437d0487 to clean up error
checks in AllocActionTest.
Commit: de20437cafa5d4e05b1e71008ef2b7c0a955d7c9
https://github.com/llvm/llvm-project/commit/de20437cafa5d4e05b1e71008ef2b7c0a955d7c9
Author: Shreesh Adiga <54449449+tantei3 at users.noreply.github.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M llvm/include/llvm/Support/CRC.h
Log Message:
-----------
[clang] Refactor CRC32 helper for x86 CRC builtins (#225774)
Move the reflected CRC32 calculation used by the x86 CRC builtins into
llvm::calculateReflectedCRC32() and reuse it from both the AST
interpreter and constant expression evaluator.
This removes duplicated CRC32 implementation logic from Clang. This is
planned to be used for implementing const folding CRC instructions for
x86 and AArch64 in the future in LLVM.
Based on suggestion in
https://github.com/llvm/llvm-project/pull/219452#discussion_r4070846498
Commit: 13b5de302c5efd3b8bbba20a3560018ac383a19f
https://github.com/llvm/llvm-project/commit/13b5de302c5efd3b8bbba20a3560018ac383a19f
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Log Message:
-----------
[AArch64] Stop count cost once force-unroll threshold is reached (NFC). (#228247)
The cost is only used to compare against Aarch64ForceUnrollThreshold.
Stop counting when we reach it, to avoid unnecessary cost queries.
Reduces compile-time on AArch64 by -0.08%.
https://llvm-compile-time-tracker.com/compare.php?from=5ffb13d6d1f87195bba8af13366a152a7de2bfe0&to=18f3cab804f98653c6b3a56b6ac02c9f6960b672&stat=instructions:u
Commit: fdd93c0dc77eb314524bebb8b53db438f3dc1d7f
https://github.com/llvm/llvm-project/commit/fdd93c0dc77eb314524bebb8b53db438f3dc1d7f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/CodeGen/Analysis.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
CodeGen: Prefer getting the Triple from the Module (#228620)
Take the triple from the contextual module rather than TargetMachine
when it's already readily available.
Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
Commit: 67910b29d26511c68b6d2df956fd9e6a00b9db6b
https://github.com/llvm/llvm-project/commit/67910b29d26511c68b6d2df956fd9e6a00b9db6b
Author: Nikita Popov <npopov at redhat.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandIRInsts.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/IPO/Instrumentor.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
M polly/lib/CodeGen/CodeGeneration.cpp
M polly/lib/CodeGen/IslExprBuilder.cpp
M polly/lib/CodeGen/IslNodeBuilder.cpp
Log Message:
-----------
[IRBuilder] Use SetInsertPoint without redundant BasicBlock argument (#228476)
Replace calls of `SetInsertPoint(BB, It)` with just
`SetInsertPoint(It)`. In preparation for deprecating that overload.
Commit: 6b3bdfea98b4dc21a45eb4f2b7b782d57f1c078a
https://github.com/llvm/llvm-project/commit/6b3bdfea98b4dc21a45eb4f2b7b782d57f1c078a
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Collect loop guards at most once in howManyLessThans (NFC). (#228687)
Add helper to collect loop guards once in howManyLessThans to avoid
repeated collections to limit compile-time increases if collection gets
more expensive (https://github.com/llvm/llvm-project/pull/228135) and
additional uses of loop guards are added to howManyLessThans (follow up)
Compile-time impact currently is in the noise
https://llvm-compile-time-tracker.com/compare.php?from=f81414dbe2ba478fa489730079263dbd546d18c0&to=171115fa4fa837b7ad9f9a6398e929a1a5866350&stat=instructions:u
PR: https://github.com/llvm/llvm-project/pull/228687
Commit: c6b9e8e8600724204d85654070e6e5dc4b34643a
https://github.com/llvm/llvm-project/commit/c6b9e8e8600724204d85654070e6e5dc4b34643a
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/duplicated-lane-consecutive-loads.ll
Log Message:
-----------
[SLP][NFC]Add a test with non-profitable vectorization, NFC
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/228695
Commit: 2bdc29f4239e7c0691ebf6f80903d5914c050bcf
https://github.com/llvm/llvm-project/commit/2bdc29f4239e7c0691ebf6f80903d5914c050bcf
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/duplicated-lane-consecutive-loads.ll
Log Message:
-----------
[SLP]Pack unique consecutive loads instead of gathering duplicated lanes
A load bundle with duplicated lanes whose unique loads are consecutive
was kept as is and emitted as a masked gather. Pack the unique loads
into a single wide load plus a reuse shuffle, unless the target reports
the masked gather as cheaper.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/228698
Commit: b028ea82203a25d29bf469286319a0e7b3daa1d5
https://github.com/llvm/llvm-project/commit/b028ea82203a25d29bf469286319a0e7b3daa1d5
Author: Folkert de Vries <folkert at folkertdev.nl>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/inline-asm-clobber.ll
Log Message:
-----------
[ARM] fix `r14` aliasing `lr` on `thumb-1` (#225746)
Since https://github.com/llvm/llvm-project/pull/179740 `r14` is accepted
as an alias for `lr`, which works on `arm` and `thumb-2` targets, but
not on `thumb-1`
https://godbolt.org/z/WEEjMMj93
```llvm
; -mtriple=thumbv6m-none-eabi
define i32 @read_r14() nounwind {
start:
%1 = tail call i32 asm sideeffect alignstack "", "=&{r14},~{cc},~{memory}"()
ret i32 %1
}
```
Gives
```
error: register 'LR' allocated for constraint '{r14}' does not match required type
```
Apparently on `thumb-1` the register class of `lr` is not the same as
the class of `i32`. So, just truly make `{r14}` an alias for `{lr}`.
---
Found via https://github.com/rust-lang/rust/issues/163173.
We should backport this if we can.
Commit: 41618eade7104429cbd341cc97887935df170c65
https://github.com/llvm/llvm-project/commit/41618eade7104429cbd341cc97887935df170c65
Author: Lang Hames <lhames at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M orc-rt/test/unit/support/sps/SimplePackedSerializationTest.cpp
Log Message:
-----------
[orc-rt] Use the Error matchers in SimplePackedSerializationTest (#228696)
Use the Error matchers introduced in 4c8a437d0487 to clean up error
checks in SimplePackedSerializationTest.
Commit: ef0f6d06eb188730224e9de54576aa69d4ee2d5f
https://github.com/llvm/llvm-project/commit/ef0f6d06eb188730224e9de54576aa69d4ee2d5f
Author: Shreesh Adiga <16567adigashreesh at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/include/llvm/Support/CRC.h
Log Message:
-----------
[Support] Add assert for DataBytes in calculateReflectedCRC32 (#228688)
Add an assertion to calculateReflectedCRC32 to check DataBytes is one of
the expected value (1, 2, 4, or 8 bytes).
Co-authored-by: Jared Wyles <jared.wyles at gmail.com>
Commit: cb474be5b5702bb48b7a6a31425cbe8497ac52df
https://github.com/llvm/llvm-project/commit/cb474be5b5702bb48b7a6a31425cbe8497ac52df
Author: Mikołaj Piróg <mikolaj.maciej.pirog at intel.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
M llvm/lib/Target/X86/X86WinEHUnwindV3.cpp
M llvm/test/CodeGen/X86/taildup-callsiteinfo.mir
M llvm/test/CodeGen/X86/win64-eh-empty-block-2.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-errors.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-push-pop-stack-alloc.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-too-many-epilogs.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-too-many-instr.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv3-split-large.ll
M llvm/test/CodeGen/X86/win64-eh-unwindv3-too-many-epilog-ops.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv3-too-many-prolog-ops.mir
M llvm/test/DebugInfo/MIR/X86/instr-ref-join-def-vphi.mir
Log Message:
-----------
[X86] Don't skip frame setup/destroy on SEH pseudos and regenerate tests (#225445)
As in title. Skipping setting setup/destroy flags caused pseudos to be
wrongly reordered by scheduling
Commit: e500488d4e50209e63cb34cbb49c61ec82cbceca
https://github.com/llvm/llvm-project/commit/e500488d4e50209e63cb34cbb49c61ec82cbceca
Author: Lang Hames <lhames at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M orc-rt/test/unit/tools/OptionParserTest.cpp
Log Message:
-----------
[orc-rt] Use the Error matchers in OptionParserTest (#228701)
Use the Error matchers introduced in 4c8a437d0487 to clean up error
checks in OptionParserTest.
Commit: 321fea57c1adbbbca148789926a93afd90705e25
https://github.com/llvm/llvm-project/commit/321fea57c1adbbbca148789926a93afd90705e25
Author: Jiaxun Yang <jiaxun.yang at flygoat.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/Mips/MipsMSAInstrInfo.td
M llvm/test/CodeGen/Mips/msa/compare_float.ll
Log Message:
-----------
[Mips][MSA] Fix commutability of unordered comparisons (#228567)
Remove IsCommutable from FCULT_W/D and FCULE_W/D, whose predicates are
directional. Extend the existing floating-point comparison tests to
check that reversed comparisons produce separate results.
Fixes: #228422
Commit: 21970fad0f647e437bec90cd73b3092dac29e8d9
https://github.com/llvm/llvm-project/commit/21970fad0f647e437bec90cd73b3092dac29e8d9
Author: Jiaxun Yang <jiaxun.yang at flygoat.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/Target/Mips/MipsMSAInstrInfo.td
M llvm/lib/Target/Mips/MipsScheduleGeneric.td
M llvm/lib/Target/Mips/MipsScheduleI6400.td
M llvm/lib/Target/Mips/MipsScheduleP5600.td
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fabs_vec.ll
M llvm/test/CodeGen/Mips/msa/arithmetic_float.ll
M llvm/test/CodeGen/Mips/msa/buildvector-undef-loop.ll
Log Message:
-----------
[Mips][MSA] Lower vector fabs to BCLRI (#228532)
FMAX_A selects an original operand by magnitude and preserves its sign,
so fmax_a(x, x) does not implement fabs. Expand FABS_W and FABS_D to
clear bit 31 and bit 63 with BCLRI, and update their scheduling to match
the bit-clear instructions.
Fixes #228384.
Commit: 2c7b0d11bfeb8807081e63eee458066092a5a1cc
https://github.com/llvm/llvm-project/commit/2c7b0d11bfeb8807081e63eee458066092a5a1cc
Author: Lang Hames <lhames at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M orc-rt/test/unit/bedrock/InProcessControllerAccessTest.cpp
Log Message:
-----------
[orc-rt] Use the Error matchers in InProcessControllerAccessTest (#228702)
Use the Error matchers introduced in 4c8a437d0487 in place of cantFail
on calls that can fail, so that a failure is reported as a test failure
rather than aborting the test binary (or, with assertions disabled,
going unnoticed).
Commit: 1e60b852a9d7f73ffed3540e9ea84aefde1b80ab
https://github.com/llvm/llvm-project/commit/1e60b852a9d7f73ffed3540e9ea84aefde1b80ab
Author: Folkert de Vries <folkert at folkertdev.nl>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/PowerPC/ppcf128-constant-bitcast.ll
Log Message:
-----------
[PowerPC][SDAG] fix bitcast on ppc_f128 swapping the two halves (#208969)
fixes https://github.com/llvm/llvm-project/issues/44482
This is a long-standing issue
https://github.com/llvm/llvm-project/issues/44482, you can also see the
discrepancy in this small C program compiled with clang and GCC
https://godbolt.org/z/KK1q1EozM.
The representation of ppc_fp128 is endian-agnostic in that its
high-order double is stored at the lower address.
For example, 27.0 is represented in memory as `[0x403b000000000000,
0x0000000000000000]`. Bitcasting these 128 bits as an i128 on
little-endian means the upper 64 bits are `0x0000000000000000`, the
lower are `0x403b000000000000`.
But on big-endian the interpretation of the bytes is flipped, the upper
bits are now `0x403b000000000000` while the lower are in
`0x0000000000000000`.
The `bitcastToAPInt` does not account for endianness, so I've added a
manual rotation to put the right double in the expected place. This is
kind of fragile still, but at least fixes current issues.
---------
Co-authored-by: Amy Kwan <amy.kwan1 at ibm.com>
Commit: 284afa9de7eddc1fdd8798800e573d190dba7dff
https://github.com/llvm/llvm-project/commit/284afa9de7eddc1fdd8798800e573d190dba7dff
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M flang/lib/Semantics/check-omp-loop.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
Log Message:
-----------
[flang][OpenMP] Move leftover functions from structure to loop, NFC (#228705)
There were some loop-related functions still left in the
check-omp-structure.cpp file. Move them to check-omp-loop.cpp.
Commit: cd8d3f00c51c2b5a0ebaad76d1a148ed0208953f
https://github.com/llvm/llvm-project/commit/cd8d3f00c51c2b5a0ebaad76d1a148ed0208953f
Author: n0ma <noam.bouillet at epitech.eu>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/docs/ClangFormatStyleOptions.md
M clang/docs/ReleaseNotes.md
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/unittests/Format/FormatTestJava.cpp
Log Message:
-----------
[clang-format] Allow one indent level before explicit access labels (#227704)
## Summary
With `IndentAccessModifiers: true`, clang-format indents record members
two levels even when the record has no explicit access label. Extend
`IndentAccessModifiers` with a third mode to allow one level until the
first explicit access label:
- `Never` (`false`): indent members one level and use
`AccessModifierOffset` for access labels.
- `Always` (`true`): indent members two levels, even without an explicit
access label.
- `AfterFirstAccessModifier`: indent members one level before the first
explicit access label and two levels from that label onward.
```yaml
IndentAccessModifiers: AfterFirstAccessModifier
```
It recognizes C++ and Qt access labels. When a record has no explicit
label, its members stay at one level.
The new behavior applies to C, C++, and Objective-C; other languages
treat the new mode like `Always`.
Existing configuration values `true` and `false` retain their behavior,
and style defaults are unchanged. C++ callers assigning a boolean
directly to `FormatStyle::IndentAccessModifiers` must now use the
corresponding enum value.
This makes the layout in #61631 possible without changing existing
configurations. It also addresses the related requests in #54333 and
#182566.
## Design point for review
If a record has members before its first explicit access label, those
members use one level, even when an access label appears later.
Reviewers may prefer a different option name or rule for that case.
## Development note
AI assisted with the fix as I'm not used to the codebase. I reviewed the
resulting patch and tests before submitting this PR.
Commit: 1f1a5b38374af3fc5afb52d91c91c0203b5edcdf
https://github.com/llvm/llvm-project/commit/1f1a5b38374af3fc5afb52d91c91c0203b5edcdf
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M flang/include/flang/Semantics/openmp-utils.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Support/Fortran-features.h
M flang/lib/Lower/OpenMP/Decomposer.cpp
M flang/lib/Semantics/check-omp-loop.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/check-omp-variant.cpp
M flang/lib/Semantics/openmp-utils.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Support/Fortran-features.cpp
M flang/test/Integration/OpenMP/scope-allocate-clause.f90
A flang/test/Integration/OpenMP/semantic-override-clause-compound.f90
A flang/test/Integration/OpenMP/semantic-override-clause-werror.f90
A flang/test/Lower/OpenMP/compound-version-override.f90
M flang/test/Semantics/OpenMP/affinity-clause.f90
M flang/test/Semantics/OpenMP/allocate-clause-version.f90
M flang/test/Semantics/OpenMP/allocate_do1.f90
M flang/test/Semantics/OpenMP/atomic.f90
M flang/test/Semantics/OpenMP/clause-validity02.f90
M flang/test/Semantics/OpenMP/declarative-directive01.f90
M flang/test/Semantics/OpenMP/declare-target01.f90
M flang/test/Semantics/OpenMP/declare-target02.f90
M flang/test/Semantics/OpenMP/declare-target06.f90
M flang/test/Semantics/OpenMP/if-clause-45-suggestion.f90
M flang/test/Semantics/OpenMP/if-clause-45.f90
M flang/test/Semantics/OpenMP/if-clause-50-suggestion.f90
M flang/test/Semantics/OpenMP/if-clause-50.f90
M flang/test/Semantics/OpenMP/requires04.f90
M flang/test/Semantics/OpenMP/requires05.f90
M flang/test/Semantics/OpenMP/threadset-clause.f90
Log Message:
-----------
[flang][OpenMP] Remember decision of allowing past/future clause (#227419)
When a deprecated or a future clause is used on a directive, and it is
allowed with a warning, remember that decision and consider that clause
allowed on that directive in all subsequent checks.
Introduce OpenMPDeprecated and OpenMPFuture warning categories
to guard these warnings (and the corresponding `-Wopenmp-deprecated`
and `-Wopenmp-future` options).
Commit: 5e3f47931ec57e7d215c7120b0f83938443e5ec1
https://github.com/llvm/llvm-project/commit/5e3f47931ec57e7d215c7120b0f83938443e5ec1
Author: Zeyi Xu <zeyi2 at nekoarch.cc>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
A clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.md
R clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.md
R clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/suspicious-call-argument.md
R clang-tools-extra/docs/clang-tidy/checks/readability/suspicious-call-argument.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/trailing-comma.md
R clang-tools-extra/docs/clang-tidy/checks/readability/trailing-comma.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/trivial-switch.md
R clang-tools-extra/docs/clang-tidy/checks/readability/trivial-switch.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/uniqueptr-delete-release.md
R clang-tools-extra/docs/clang-tidy/checks/readability/uniqueptr-delete-release.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/uppercase-literal-suffix.md
R clang-tools-extra/docs/clang-tidy/checks/readability/uppercase-literal-suffix.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/use-anyofallof.md
R clang-tools-extra/docs/clang-tidy/checks/readability/use-anyofallof.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/use-concise-preprocessor-directives.md
R clang-tools-extra/docs/clang-tidy/checks/readability/use-concise-preprocessor-directives.rst
Log Message:
-----------
[clang-tidy][docs] Rename readability check docs to Markdown [5/5] (#222032)
Tracking issue: #201242
See the [migration guide] for more information.
[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is the fifth part of the mechanical rename of the check
documentations in readability module.
The rewrite is provided by the next PR in this stack.
Commit: f38c56a690c26077ac35d3d43b4026a7dfa5a2b9
https://github.com/llvm/llvm-project/commit/f38c56a690c26077ac35d3d43b4026a7dfa5a2b9
Author: Zeyi Xu <zeyi2 at nekoarch.cc>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.md
M clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.md
M clang-tools-extra/docs/clang-tidy/checks/readability/suspicious-call-argument.md
M clang-tools-extra/docs/clang-tidy/checks/readability/trailing-comma.md
M clang-tools-extra/docs/clang-tidy/checks/readability/trivial-switch.md
M clang-tools-extra/docs/clang-tidy/checks/readability/uniqueptr-delete-release.md
M clang-tools-extra/docs/clang-tidy/checks/readability/uppercase-literal-suffix.md
M clang-tools-extra/docs/clang-tidy/checks/readability/use-anyofallof.md
M clang-tools-extra/docs/clang-tidy/checks/readability/use-concise-preprocessor-directives.md
Log Message:
-----------
[clang-tidy][docs] Rewrite readability check docs to Markdown [5/5] (#222033)
Tracking issue: #201242
See the [migration guide] for more information.
[migration guide]:
https://llvm.org/docs/SphinxQuickstartTemplate.html#markdown-migration-guidelines
This is the fifth part of rewriting check documentations in readability
module from reST to MyST Markdown.
AI Usage: This was prepared with rnk's fork of rst2myst and
GPT5.6-assisted (both Codex and AmpCode) cleanup.
I manually verified that the documentation renders as expected.
Preview site:
https://broken.life/llvm-staging/readability-markdown-port/index.html
---------
Co-authored-by: EugeneZelenko <eugene.zelenko at gmail.com>
Commit: 36207c0ed8417ceaf9c393d3704833dca9939633
https://github.com/llvm/llvm-project/commit/36207c0ed8417ceaf9c393d3704833dca9939633
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/test/AST/ByteCode/cxx26.cpp
Log Message:
-----------
[clang][bytecode] Handle trivial CXXInheritedCtorInitExprs (#228352)
Commit: 2aa63fe0458bb5265756d05fa123df3d1b3a1dd6
https://github.com/llvm/llvm-project/commit/2aa63fe0458bb5265756d05fa123df3d1b3a1dd6
Author: Samarth Narang <70980689+snarang181 at users.noreply.github.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
M mlir/test/Dialect/SparseTensor/sparse_foreach.mlir
Log Message:
-----------
[mlir][sparse] Order the inferred lvlToDim results by dimension (#227674)
Commit: 971833ee5513f01a57439b15040887932af114fc
https://github.com/llvm/llvm-project/commit/971833ee5513f01a57439b15040887932af114fc
Author: nudt_yixiao <1272950933 at qq.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/docs/LanguageExtensions.md
M clang/docs/ReleaseNotes.md
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/test/Sema/builtin-align.c
M clang/test/SemaCXX/builtin-align-cxx.cpp
Log Message:
-----------
[Clang] Fix crash in alignment builtins with null pointers (#224549)
Clang can crash when evaluating __builtin_align_up,
__builtin_align_down, or __builtin_is_aligned with a null pointer.
Avoid querying base alignment for pointers without an underlying object
during constant evaluation.
Null pointers are handled as always aligned values, while other
base-less pointers are rejected rather than interpreted using their
numeric address.
Assisted-by: GPT-5.6
AI was used to assist with code analysis, debugging, and drafting the PR
description. I personally debugged, reviewed and verified the changes,
tested the code, and fully understand the submitted contribution.
Fixes https://github.com/llvm/llvm-project/issues/216999
Co-authored-by: Timm Baeder <tbaeder at redhat.com>
Commit: e2a9a93309a0daf2828cd9037c4753405f1ea966
https://github.com/llvm/llvm-project/commit/e2a9a93309a0daf2828cd9037c4753405f1ea966
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/AArch64/loop-accumulator-reduction.ll
M llvm/test/Transforms/SLPVectorizer/X86/dependent-seeds.ll
Log Message:
-----------
[SLP][NFC]Add extra test with missed vectorization, NFC
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/228716
Commit: 777d2ba4ce6ed370d958c0b2342a659b7f9a9a4a
https://github.com/llvm/llvm-project/commit/777d2ba4ce6ed370d958c0b2342a659b7f9a9a4a
Author: Kazu Hirata <kazu at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/lib/Sema/SemaTemplateInstantiate.cpp
Log Message:
-----------
[clang] Migrate away from PointerUnion::dyn_cast (NFC) (#228673)
Commit: 7e48d8c0b5f9401798f09ec11a68215a4560d715
https://github.com/llvm/llvm-project/commit/7e48d8c0b5f9401798f09ec11a68215a4560d715
Author: Kazu Hirata <kazu at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
Log Message:
-----------
[clang] Migrate away from PointerUnion::dyn_cast (NFC) (#228673)
Commit: da43ad37dcc98427fe95039b75ca037d9995d3e8
https://github.com/llvm/llvm-project/commit/da43ad37dcc98427fe95039b75ca037d9995d3e8
Author: argothiel <13932353+argothiel at users.noreply.github.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
Log Message:
-----------
[clangd] Fix header-name completion replace ranges (#225473)
Handle header-name completion as a special case for replace edits. Its
insert range already extends past the identifier, including delimiters
such as '"' and '>'. Reuse that range for replace edits so that the
insert range remains a prefix of the replace range, as required by the
LSP specification.
Add a unit test covering this case.
Fixes llvm/llvm-project#225326
Commit: 0ee7269032e0028d70ffccfc496130a1e8f188b1
https://github.com/llvm/llvm-project/commit/0ee7269032e0028d70ffccfc496130a1e8f188b1
Author: Nikita Popov <npopov at redhat.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/include/llvm/ProfileData/SampleProf.h
M llvm/include/llvm/Support/Compiler.h
M llvm/include/llvm/TableGen/Record.h
Log Message:
-----------
[Support] Clarify purpose of LLVM_DEPRECATED (#228367)
Rename the macro to LLVM_DEPRECATED_WITH_FIXIT, to clarify that is is
used for deprecations where a machine-applicable fix-it exists (which is
only pure rename deprecations).
Commit: 0f598a0b5ea2f18e3c281218291d67f16a31da11
https://github.com/llvm/llvm-project/commit/0f598a0b5ea2f18e3c281218291d67f16a31da11
Author: Kazu Hirata <kazu at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
Log Message:
-----------
[Analysis] Remove unused functions (NFC) (#228674)
Commit: a9b0b3d9971e1a469553d3c35b12ccf00407c847
https://github.com/llvm/llvm-project/commit/a9b0b3d9971e1a469553d3c35b12ccf00407c847
Author: Kazu Hirata <kazu at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
Log Message:
-----------
[Analysis] Remove unused functions (NFC) (#228674)
Commit: 3108485f688af44222ff5bb2bbdc95723d7cc769
https://github.com/llvm/llvm-project/commit/3108485f688af44222ff5bb2bbdc95723d7cc769
Author: Fangrui Song <i at maskray.me>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/test/CodeGen/X86/virtreg-physreg-def-regallocfast.mir
Log Message:
-----------
[RegAllocFast] Order partial defs before other defs (#222882)
```
%0:gr64_with_sub_8bit = COPY $rax
%0.sub_32bit, %1:gr32 = MULX32rr $ecx, implicit $edx
```
The partial def of %0 is live-through: it reads the rest of %0, so it
must avoid the registers the instruction reads ($ecx, $edx) and is meant
to be allocated before an ordinary def like %1, which may share a
register with a use. The comparator in findAndSortDefOperandIndexes,
from the 2020 rewrite c8757ff3aa7d ("RegAllocFast: Rewrite and
improve"), tests `getSubReg() == 0`, the inverse of the allocation
sites, so %1 is allocated first and takes $eax; %0 then misses its hint
$rax, lands in $rsi, and the copy from $rax stays.
Share one isLiveThroughDef predicate between the ordering and the
allocation. %0 now takes $rax, the copy is deleted, and %1 takes $ecx.
Aided by Opus 5
Commit: 9a9daa97acbd8a5e31daea241bb5e5ee0a5de171
https://github.com/llvm/llvm-project/commit/9a9daa97acbd8a5e31daea241bb5e5ee0a5de171
Author: Akash Manna <akash.manna.mymail at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/docs/ReleaseNotes.md
M clang/lib/Parse/ParseExprCXX.cpp
M clang/test/Parser/cxx-ambig-paren-expr.cpp
Log Message:
-----------
[Clang] Keep scope annotations covering typo-corrected qualifiers (#223978)
Fixes #221890
While tentatively deciding whether `(void(foo::S<int>))` is a type-id,
the parser annotates `foo::S<int>`. Lookup of `S` in `foo` fails, typo
correction suggests plain `S`, and Sema rebuilds the `CXXScopeSpec`
without the qualifier. The annotation token takes its start from that
scope specifier, so it only covers `S<int>` and the already-consumed
`foo ::` tokens are never replaced in the token cache. They resurface
after the tentative parse backtracks, every later parse sees `foo ::
<type>`, and the second `isTypeIdInParens()` in
`ParseCXXAmbiguousParenExpression` contradicts the first.
The parser owns the invariant that an annotation replaces every token
consumed to produce it, so the fix lives in
`ParseOptionalCXXScopeSpecifier`. After each Sema call that can rewrite
the qualifier through typo correction, the scope specifier is re-ranged
over the tokens actually consumed. When the qualifier was dropped
entirely, the template-id annotation is extended back over those tokens
instead. Sema and the typo-correction recovery are untouched.
Commit: f3d6035cc9484ffb55c55e9c9702cf40106cfd6d
https://github.com/llvm/llvm-project/commit/f3d6035cc9484ffb55c55e9c9702cf40106cfd6d
Author: Akash Manna <akash.manna.mymail at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang/docs/ReleaseNotes.md
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/simd_misc_messages.c
Log Message:
-----------
[Clang][OpenMP] Fix crash on `safelen` and `simdlen` of different types (#228700)
Fixes #108367
When a `simd` directive has both `safelen` and `simdlen`, Sema checks
that `simdlen` is not greater than `safelen`. It compared the two values
with `APSInt`'s `operator>`, which needs both operands to have the same
bit width and signedness. But each clause keeps its argument in the type
it was written with, so in `safelen(11111111111) simdlen(1)` one value
is 64 bits wide and the other 32, and the comparison asserted. Mixed
signedness, as in `safelen(8u) simdlen(4)`, hit a second assertion on
the same line. A build without assertions rejected the valid code
instead, as if `simdlen` were the larger value.
The check now uses `APSInt::compareValues`, which extends the operands
to a common width and handles mixed signedness, so the values themselves
are compared. The error is still emitted whenever `simdlen` is larger
than `safelen`.
Commit: 018a46162a84070109760677031bcd636ed6026e
https://github.com/llvm/llvm-project/commit/018a46162a84070109760677031bcd636ed6026e
Author: Sachin 🗲 <s4chinjha at gmail.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
Log Message:
-----------
[libc][bazel] Adds missing targets for double smoke tests (#226823)
part of #223714
pr adds the missing bazel targets for the existing double smoke tests
Commit: cebadce0f60f5542a816fff0c559032fd8751a3d
https://github.com/llvm/llvm-project/commit/cebadce0f60f5542a816fff0c559032fd8751a3d
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
A compiler-rt/test/tsan/signal_abort_on_error.cpp
Log Message:
-----------
[TSan] Release locks before OutputReport on all platforms (#228554)
https://github.com/llvm/llvm-project/pull/151495 moved OutputReport
outside the lock scope (ThreadRegistryLock, slot_lock, slots_lock) on
Apple platforms only.
Holding these locks during OutputReport can also deadlock on non-Apple
platforms. For example, when halt_on_error=1, abort_on_error=1, and
handle_abort=0 are set, OutputReport calls Die() -> Abort(), which
raises SIGABRT and invokes a user signal handler via
CallUserSignalHandler with TSan instrumentation re-enabled. If the
signal handler executes enough instrumented code to overflow the
active TracePart, TraceSwitchPartImpl -> TracePartAlloc attempts to
acquire ctx->slot_mtx and self-deadlocks because slots_lock is still
held by ReportRace.
Remove the SANITIZER_APPLE conditional compilation so locks are
released before OutputReport across all platforms.
Assisted-by: Gemini
Commit: ae10e51655fb99def27a7a01b69be4134972608e
https://github.com/llvm/llvm-project/commit/ae10e51655fb99def27a7a01b69be4134972608e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2026-10-03 (Sat, 03 Oct 2026)
Changed paths:
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/Compiler.cpp
M clang-tools-extra/clangd/index/IndexAction.cpp
M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
A clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.md
R clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.md
R clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/suspicious-call-argument.md
R clang-tools-extra/docs/clang-tidy/checks/readability/suspicious-call-argument.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/trailing-comma.md
R clang-tools-extra/docs/clang-tidy/checks/readability/trailing-comma.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/trivial-switch.md
R clang-tools-extra/docs/clang-tidy/checks/readability/trivial-switch.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/uniqueptr-delete-release.md
R clang-tools-extra/docs/clang-tidy/checks/readability/uniqueptr-delete-release.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/uppercase-literal-suffix.md
R clang-tools-extra/docs/clang-tidy/checks/readability/uppercase-literal-suffix.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/use-anyofallof.md
R clang-tools-extra/docs/clang-tidy/checks/readability/use-anyofallof.rst
A clang-tools-extra/docs/clang-tidy/checks/readability/use-concise-preprocessor-directives.md
R clang-tools-extra/docs/clang-tidy/checks/readability/use-concise-preprocessor-directives.rst
M clang/docs/ClangFormatStyleOptions.md
M clang/docs/HIPSupport.md
M clang/docs/LanguageExtensions.md
M clang/docs/ReleaseNotes.md
M clang/include/clang/Basic/CommentOptions.h
M clang/include/clang/Basic/Diagnostic.h
M clang/include/clang/Basic/DiagnosticIDs.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Format/Format.h
M clang/include/clang/Options/Options.td
M clang/include/clang/Sema/AnalysisBasedWarnings.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGException.cpp
M clang/lib/CodeGen/CGGPUBuiltin.cpp
M clang/lib/CodeGen/CGObjC.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenABITypes.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAvailability.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
M clang/test/AST/ByteCode/cxx26.cpp
A clang/test/AST/ast-dump-comment-retention.cpp
M clang/test/Analysis/Checkers/WebKit/mock-types.h
M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
M clang/test/CIR/CodeGenBuiltins/builtin-reduce-arithmetic-sve.c
M clang/test/CIR/CodeGenBuiltins/builtin-reduce-arithmetic.c
A clang/test/CodeGenHipStdPar/unsupported-exceptions.cpp
M clang/test/OpenMP/simd_misc_messages.c
M clang/test/Parser/cxx-ambig-paren-expr.cpp
A clang/test/Sema/Inputs/documentation-system-header-doc.h
A clang/test/Sema/Inputs/documentation-system-header.h
M clang/test/Sema/builtin-align.c
A clang/test/Sema/warn-documentation-comment-retention.cpp
A clang/test/Sema/warn-documentation-system-header-retained.cpp
A clang/test/Sema/warn-documentation-system-header.cpp
M clang/test/SemaCXX/builtin-align-cxx.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/unittests/Format/FormatTestJava.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/rtl/tsan_interface_ann.cpp
M compiler-rt/lib/tsan/rtl/tsan_mman.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cpp
A compiler-rt/test/tsan/signal_abort_on_error.cpp
M flang/include/flang/Semantics/openmp-utils.h
M flang/include/flang/Semantics/semantics.h
M flang/include/flang/Support/Fortran-features.h
M flang/lib/Lower/OpenMP/Decomposer.cpp
M flang/lib/Semantics/check-omp-loop.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-omp-structure.h
M flang/lib/Semantics/check-omp-variant.cpp
M flang/lib/Semantics/openmp-utils.cpp
M flang/lib/Semantics/semantics.cpp
M flang/lib/Support/Fortran-features.cpp
M flang/test/Integration/OpenMP/scope-allocate-clause.f90
A flang/test/Integration/OpenMP/semantic-override-clause-compound.f90
A flang/test/Integration/OpenMP/semantic-override-clause-werror.f90
A flang/test/Lower/OpenMP/compound-version-override.f90
M flang/test/Semantics/OpenMP/affinity-clause.f90
M flang/test/Semantics/OpenMP/allocate-clause-version.f90
M flang/test/Semantics/OpenMP/allocate_do1.f90
M flang/test/Semantics/OpenMP/atomic.f90
M flang/test/Semantics/OpenMP/clause-validity02.f90
M flang/test/Semantics/OpenMP/declarative-directive01.f90
M flang/test/Semantics/OpenMP/declare-target01.f90
M flang/test/Semantics/OpenMP/declare-target02.f90
M flang/test/Semantics/OpenMP/declare-target06.f90
M flang/test/Semantics/OpenMP/if-clause-45-suggestion.f90
M flang/test/Semantics/OpenMP/if-clause-45.f90
M flang/test/Semantics/OpenMP/if-clause-50-suggestion.f90
M flang/test/Semantics/OpenMP/if-clause-50.f90
M flang/test/Semantics/OpenMP/requires03.f90
M flang/test/Semantics/OpenMP/requires04.f90
M flang/test/Semantics/OpenMP/requires05.f90
M flang/test/Semantics/OpenMP/requires06.f90
M flang/test/Semantics/OpenMP/requires07.f90
M flang/test/Semantics/OpenMP/requires08.f90
A flang/test/Semantics/OpenMP/requires11.f90
M flang/test/Semantics/OpenMP/threadset-clause.f90
M libc/CMakeLists.txt
M libc/hdr/CMakeLists.txt
M libc/hdr/poll_macros.h
A libc/hdr/poll_overlay.h
M libc/hdr/sys_socket_macros.h
A libc/hdr/sys_socket_overlay.h
M libc/hdr/types/CMakeLists.txt
M libc/hdr/types/nfds_t.h
M libc/hdr/types/sa_family_t.h
M libc/hdr/types/socklen_t.h
M libc/hdr/types/struct_cmsghdr.h
M libc/hdr/types/struct_linger.h
M libc/hdr/types/struct_mmsghdr.h
M libc/hdr/types/struct_msghdr.h
M libc/hdr/types/struct_pollfd.h
M libc/hdr/types/struct_sockaddr.h
M libc/hdr/types/struct_sockaddr_storage.h
M libc/src/__support/printf_core/CMakeLists.txt
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/ExecuteFunctionUnix.cpp
M libc/test/src/math/smoke/AddTest.h
M libc/test/src/math/smoke/DivTest.h
M libc/test/src/math/smoke/MulTest.h
M libc/test/src/math/smoke/SubTest.h
M llvm/include/llvm/ADT/DenseMap.h
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/ProfileData/SampleProf.h
M llvm/include/llvm/Support/CRC.h
M llvm/include/llvm/Support/Compiler.h
M llvm/include/llvm/TableGen/Record.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/LoopCacheAnalysis.cpp
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
M llvm/lib/CodeGen/Analysis.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/ExpandIRInsts.cpp
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/ShadowStackGCLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
M llvm/lib/Target/ARM/ARMAsmPrinter.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/MVELaneInterleavingPass.cpp
M llvm/lib/Target/ARM/MVETailPredication.cpp
M llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
M llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
M llvm/lib/Target/Mips/MipsMSAInstrInfo.td
M llvm/lib/Target/Mips/MipsScheduleGeneric.td
M llvm/lib/Target/Mips/MipsScheduleI6400.td
M llvm/lib/Target/Mips/MipsScheduleP5600.td
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SystemZ/SystemZXPLINKAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86AsmPrinter.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp
M llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
M llvm/lib/Target/X86/X86WinEHUnwindV3.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
M llvm/lib/Transforms/IPO/Instrumentor.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
M llvm/lib/Transforms/Scalar/LoopBoundSplit.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
M llvm/lib/Transforms/Scalar/LoopPredication.cpp
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/FlattenCFG.cpp
M llvm/lib/Transforms/Utils/IntegerDivision.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
A llvm/test/Analysis/LoopCacheAnalysis/nestedloop-cost.ll
M llvm/test/CodeGen/AArch64/and-mask-variable.ll
M llvm/test/CodeGen/AArch64/fcvt-i256.ll
M llvm/test/CodeGen/AArch64/fsh.ll
M llvm/test/CodeGen/AArch64/funnel-shift.ll
A llvm/test/CodeGen/AArch64/scalar_to_vector.ll
M llvm/test/CodeGen/AArch64/shift-mod.ll
M llvm/test/CodeGen/AArch64/shift.ll
M llvm/test/CodeGen/ARM/inline-asm-clobber.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fabs_vec.ll
M llvm/test/CodeGen/Mips/msa/arithmetic_float.ll
M llvm/test/CodeGen/Mips/msa/buildvector-undef-loop.ll
M llvm/test/CodeGen/Mips/msa/compare_float.ll
A llvm/test/CodeGen/NVPTX/lower-byval-args-icmp.ll
A llvm/test/CodeGen/PowerPC/ppcf128-constant-bitcast.ll
M llvm/test/CodeGen/RISCV/fold-mem-offset.ll
A llvm/test/CodeGen/Thumb/optional-def-dead-cpsr.ll
M llvm/test/CodeGen/X86/taildup-callsiteinfo.mir
M llvm/test/CodeGen/X86/virtreg-physreg-def-regallocfast.mir
M llvm/test/CodeGen/X86/win64-eh-empty-block-2.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-errors.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-push-pop-stack-alloc.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-too-many-epilogs.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv2-too-many-instr.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv3-split-large.ll
M llvm/test/CodeGen/X86/win64-eh-unwindv3-too-many-epilog-ops.mir
M llvm/test/CodeGen/X86/win64-eh-unwindv3-too-many-prolog-ops.mir
M llvm/test/DebugInfo/MIR/X86/instr-ref-join-def-vphi.mir
A llvm/test/Transforms/HipStdPar/unsupported-exceptions.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/loop-accumulator-reduction.ll
M llvm/test/Transforms/SLPVectorizer/X86/dependent-seeds.ll
A llvm/test/Transforms/SLPVectorizer/X86/duplicated-lane-consecutive-loads.ll
A llvm/test/tools/llvm-objcopy/ELF/reloc-alloc-symtab.test
M llvm/test/tools/llvm-objcopy/ELF/reloc-no-symtab.test
A llvm/test/tools/llvm-objcopy/ELF/reserved-shndx.test
R llvm/test/tools/llvm-objcopy/ELF/section-index-unsupported.test
R llvm/test/tools/llvm-objcopy/ELF/unsupported-machine-specific-shndx.test
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp
M llvm/utils/gn/secondary/clang/lib/CodeGenUtils/BUILD.gn
M mlir/lib/Dialect/OpenMP/Transforms/HostOpFiltering.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/host-op-filtering.mlir
M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
M mlir/test/Dialect/SparseTensor/sparse_foreach.mlir
M orc-rt/test/unit/bedrock/InProcessControllerAccessTest.cpp
M orc-rt/test/unit/bedrock/sps/SimpleRemoteCATest.cpp
M orc-rt/test/unit/bedrock/sys/darwin/StandaloneMachOUnwindInfoRegistrarTest.cpp
M orc-rt/test/unit/support/AllocActionTest.cpp
M orc-rt/test/unit/support/sps/SimplePackedSerializationTest.cpp
M orc-rt/test/unit/tools/OptionParserTest.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
M polly/lib/CodeGen/CodeGeneration.cpp
M polly/lib/CodeGen/IslExprBuilder.cpp
M polly/lib/CodeGen/IslNodeBuilder.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
Log Message:
-----------
Merge branch 'main' into users/vitalybuka/spr/nfctsan-remove-redundant-contextreport_mtx
Compare: https://github.com/llvm/llvm-project/compare/ba0e4512b258...ae10e51655fb
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list