LLVM/project bae6a2allvm/cmake/modules LLVMExternalProjectUtils.cmake

[Runtimes] Fix Unix Makefiles race between runtimes-build and EXTRA_TARGETS (#187634)

In our downstream we have a non-runtime target depending on libclc
EXTRA_TARGET and then observe a race condition in parallel build: both
runtimes-build (full build, no lock) and libclc EXTRA_TARGET (triggered
by non-runtime target, FileLock) build concurrently, leading to corrupt
libclc library.

This exposes an limitation in ExternalProject EXTRA_TARGET design:
EXTRA_TARGETS in llvm_ExternalProject_Add only depend on
${name}-configure, not ${name}-build. This makes EXTRA_TARGETS unsafe as
dependencies of a non-runtime target..

Fix: Add a locked BUILD_COMMAND to ExternalProject_Add for Unix
Makefiles generator, using the same cmake.lock as EXTRA_TARGETS. This
serializes runtimes-build with all EXTRA_TARGETS under one lock.

With this PR, a non-runtime target can depend on a specific
EXTRA_TARGET, rather than needing to depend on the umbrella runtimes

    [9 lines not shown]
DeltaFile
+15-1llvm/cmake/modules/LLVMExternalProjectUtils.cmake
+15-11 files

LLVM/project 335a2d0clang/docs ReleaseNotes.rst, clang/lib/AST Expr.cpp

[clang] fix error: cannot compile this l-value expression yet (#187755)
DeltaFile
+17-0clang/test/CodeGenCXX/builtin_FUNCTION.cpp
+1-1clang/lib/AST/Expr.cpp
+1-0clang/docs/ReleaseNotes.rst
+19-13 files

LLVM/project 368f38bllvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp

[AMDGPU][SIInsertWaitcnts][NFC] SGPRInfo: Move score selection logic closer (#186518)

Selecting the score in SGPRInfo used to require an index which you would
get by calling a getSgprScoresIdx(), which is defined in a different
class.

This patch moves the score selection logic into the SGPRinfo. This makes
the interface simpler and more intuitive.

Also given that SGPRInfo contains only two scores, this patch also
replaces the score array with individual score variables.

Should be NFC.
DeltaFile
+22-20llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+22-201 files

LLVM/project a60b3a8libc/include threads.yaml

[libc] Fix function prototypes for <threads.h> C11 header. (#187808)

Fix return types and/or function arguments of several functions:
* mtx_destroy
* tss_delete
* thrd_exit
DeltaFile
+4-4libc/include/threads.yaml
+4-41 files

LLVM/project 57b0c94libc/src/__support/wctype perfect_hash_map.h

rename var
DeltaFile
+2-2libc/src/__support/wctype/perfect_hash_map.h
+2-21 files

LLVM/project f74010flibc/src/__support/CPP iterator.h, libc/src/__support/wctype perfect_hash_map.h

cleanup
DeltaFile
+1-2libc/src/__support/wctype/perfect_hash_map.h
+1-1libc/src/__support/CPP/iterator.h
+2-32 files

LLVM/project 3584492llvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv8.7a-xs.s armv9.5a-tlbiw.s

fixup! Move nxs bit into TLBIEntry rather than override
DeltaFile
+57-56llvm/test/MC/AArch64/armv8.7a-xs.s
+21-33llvm/lib/Target/AArch64/AArch64SystemOperands.td
+10-10llvm/test/MC/AArch64/armv9.5a-tlbiw.s
+88-993 files

LLVM/project 51c158bclang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets function-template.mustache

[clang-doc] Fix incorrectly rendered specialization args in HTML (#187761)

Function template specialization arguments were incorrectly rendered
without a comma. This was due to the "End" JSON property also being
used in the levels above. Mustache looks for missing properties in
parent contexts, see #174359.
DeltaFile
+2-2clang-tools-extra/test/clang-doc/templates.cpp
+2-2clang-tools-extra/test/clang-doc/json/class-specialization.cpp
+1-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+1-1clang-tools-extra/clang-doc/assets/function-template.mustache
+6-64 files

FreeBSD/src 8cc1c0fsys/amd64/amd64 trap.c

amd64 trap.c: provide tag for the struct sfhandlers definition

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-2sys/amd64/amd64/trap.c
+4-21 files

FreeBSD/src 23dc485sys/amd64/include md_var.h

amd64: add prototype for ia32_syscall()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-0sys/amd64/include/md_var.h
+2-01 files

FreeBSD/src acce5fasys/amd64/amd64 fpu.c

amd64: remove assertion about sizeof(struct pcb)

We no longer put pcb on stack, it is part of the struct thread.
Similarly, we do not put user fpu save area on stack.  There is no
constraints on the pcb size due to the XSAVE area required alignment.

Reviewed by:    jhb, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55931
DeltaFile
+0-7sys/amd64/amd64/fpu.c
+0-71 files

FreeBSD/src 6275cd7sys/sys param.h

sys/param.h: bump __FreeBSD_version for amd64 struct trapframe size change

Requested by:   jhb
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+2-1sys/sys/param.h
+2-11 files

FreeBSD/ports f8cf3a2textproc/hs-pandoc distinfo Makefile

textproc/hs-pandoc: Update 3.8.3 => 3.9.0.2

Approved by:            haskell@ (alven@)
Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+181-295textproc/hs-pandoc/distinfo
+2-231textproc/hs-pandoc/Makefile
+191-0textproc/hs-pandoc/Makefile.cabal
+1-0textproc/hs-pandoc/pkg-plist
+375-5264 files

LLVM/project 36daf3ellvm/lib/Target/AArch64 AArch64SystemOperands.td, llvm/test/MC/AArch64 armv8.7a-xs.s armv9.5a-tlbiw.s

fixup! Move nxs bit into TLBIEntry rather than override
DeltaFile
+57-56llvm/test/MC/AArch64/armv8.7a-xs.s
+17-30llvm/lib/Target/AArch64/AArch64SystemOperands.td
+3-3llvm/test/MC/AArch64/armv9.5a-tlbiw.s
+77-893 files

LLVM/project 720615fllvm/lib/Transforms/Vectorize/SandboxVectorizer DependencyGraph.cpp, llvm/unittests/Transforms/Vectorize/SandboxVectorizer DependencyGraphTest.cpp

[SandboxVec][DAG] Fix DAG update when user is scheduled (#187148)

This patch fixes the update of the DAGNode UnscheduledSucc counter when
a use edge is modified. This is the result of a setOperand() or a RAUW
(and friends) operation.

Before this patch we would not check if the User (i.e., the consumer of
the use-def edge) is scheduled and we would update the definition's
UnscheduledSucc counter, resulting in counting errors.

For example, consider the following IR:
```
  %A = ...
  %B = ...
  %U = %A  ; scheduled
```
Note that %U's DAGNode is marked as "scheduled" while %A and %B are not.

If we change %U's operand from %A to %B then we should not attempt to
update %A's or %B's UnscheduledSuccs because %U is scheduled so it
should not get counted as an "unscheduled" successor.
DeltaFile
+38-0llvm/unittests/Transforms/Vectorize/SandboxVectorizer/DependencyGraphTest.cpp
+8-1llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
+46-12 files

LLVM/project 9ee437bclang/lib/CIR/Dialect/IR CIRDialect.cpp

fix code dup rebase bug
DeltaFile
+0-4clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+0-41 files

LLVM/project 2af8825libc/src/__support/wctype perfect_hash_map.h CMakeLists.txt

add UInt128
DeltaFile
+7-7libc/src/__support/wctype/perfect_hash_map.h
+1-0libc/src/__support/wctype/CMakeLists.txt
+8-72 files

LLVM/project 8cc0124compiler-rt/lib/scudo/standalone/tests wrappers_c_test.cpp

[scudo] Make the default for size/align checks to not die. (#187799)
DeltaFile
+3-3compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
+3-31 files

LLVM/project cba6551libc/config/linux/aarch64 entrypoints.txt, libc/config/linux/riscv entrypoints.txt

[libc][stdlib][annex_k] Add set_constraint_handler_s.
DeltaFile
+28-0libc/src/stdlib/set_constraint_handler_s.cpp
+21-0libc/src/stdlib/set_constraint_handler_s.h
+11-0libc/src/stdlib/CMakeLists.txt
+7-0libc/include/stdlib.yaml
+1-0libc/config/linux/riscv/entrypoints.txt
+1-0libc/config/linux/aarch64/entrypoints.txt
+69-01 files not shown
+70-07 files

LLVM/project d4770delibc/config/linux/x86_64 entrypoints.txt, libc/include stdlib.yaml CMakeLists.txt

[libc][stdlib][annex_k] Add ignore_handler_s.
DeltaFile
+22-0libc/src/stdlib/ignore_handler_s.h
+16-0libc/src/stdlib/ignore_handler_s.cpp
+13-0libc/src/stdlib/CMakeLists.txt
+9-0libc/include/stdlib.yaml
+2-1libc/config/linux/x86_64/entrypoints.txt
+1-0libc/include/CMakeLists.txt
+63-12 files not shown
+65-18 files

LLVM/project bdc4ed6libc/src/__support/annex_k libc_constraint_handler.h CMakeLists.txt

[libc][annex_k] Add libc_constraint_handler.
DeltaFile
+26-0libc/src/__support/annex_k/libc_constraint_handler.h
+9-0libc/src/__support/annex_k/CMakeLists.txt
+35-02 files

LLVM/project 67fe046libc/src/__support/annex_k constraint_macros.h CMakeLists.txt

[libc][annex_k] Add libc_constraint_handler macros.
DeltaFile
+44-0libc/src/__support/annex_k/constraint_macros.h
+9-0libc/src/__support/annex_k/CMakeLists.txt
+53-02 files

LLVM/project bf32efclibc/src/__support/annex_k libc_constraint_handler.h

fix format
DeltaFile
+1-1libc/src/__support/annex_k/libc_constraint_handler.h
+1-11 files

LLVM/project f3dcadalibc/include stdlib.yaml, libc/src/__support/annex_k abort_handler_s.h CMakeLists.txt

[libc][annex_k] Add abort_handler_s.
DeltaFile
+43-0libc/src/__support/annex_k/abort_handler_s.h
+22-0libc/src/stdlib/abort_handler_s.h
+20-0libc/src/stdlib/abort_handler_s.cpp
+14-2libc/include/stdlib.yaml
+12-0libc/src/__support/annex_k/CMakeLists.txt
+10-0libc/src/stdlib/CMakeLists.txt
+121-25 files not shown
+126-211 files

LLVM/project 7a5431elldb/source/DataFormatters TypeSynthetic.cpp, lldb/test/API/functionalities/data-formatter/bytecode-synthetic main.cpp

[lldb][bytecode] Fix Update() and failing test (#187795)

Fixes a breakage from https://github.com/llvm/llvm-project/pull/182155
DeltaFile
+11-11lldb/test/API/functionalities/data-formatter/bytecode-synthetic/main.cpp
+3-1lldb/source/DataFormatters/TypeSynthetic.cpp
+14-122 files

LLVM/project 485eda9mlir/lib/Dialect/Tosa/IR TosaCanonicalizations.cpp, mlir/test/Dialect/Tosa constant_folding.mlir

[mlir][tosa] Fix crash in slice op folder when input values are not iterable (#187339)

A crash was encountered in the slice op folder when the input was a
constant with dense resource values. The folder was trying to iterate
over the input values, which is not possible for resource values. This
change fixes the crash and adds a test.
DeltaFile
+20-0mlir/test/Dialect/Tosa/constant_folding.mlir
+2-2mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
+22-22 files

LLVM/project a261548libc/hdr/types constraint_handler_t.h CMakeLists.txt, libc/include stdlib.yaml CMakeLists.txt

[libc][annex_k] Add constraint_handler_t. (#163239)

RFC https://discourse.llvm.org/t/rfc-bounds-checking-interfaces-for-llvm-libc/87685

Add `constraint_handler_t` type required by Annex K interface in LLVM libc.
DeltaFile
+30-0libc/hdr/types/constraint_handler_t.h
+22-0libc/include/llvm-libc-types/constraint_handler_t.h
+8-0libc/include/llvm-libc-types/CMakeLists.txt
+8-0libc/hdr/types/CMakeLists.txt
+1-0libc/include/stdlib.yaml
+1-0libc/include/CMakeLists.txt
+70-06 files

NetBSD/pkgsrc 2xYBAZQdoc CHANGES-2026

   kf6-prison update
VersionDeltaFile
1.1801+2-1doc/CHANGES-2026
+2-11 files

HardenedBSD/src 36fc677secure/lib/libcrypto/modules Makefile.inc

HBSD: Append to SHARED_CFLAGS

PICFLAG should not be modified by individual components in base.
Instead, use SHARED_CFLAGS to set the -DOPENSSL_PIC flag.

FreeBSD reverted the bad commit, whereas HardenedBSD fixed the problem
they introduced.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
Fixes:          14b9955e57cc28b61e785165b9effcbe620edb46
DeltaFile
+1-1secure/lib/libcrypto/modules/Makefile.inc
+1-11 files

NetBSD/pkgsrc ZQV9FPugraphics/kf6-prison Makefile PLIST, graphics/kf6-prison/patches patch-src_lib_CMakeLists.txt patch-src_scanner_CMakeLists.txt

   /kf6-prison: update to 6.24.0

   update ahead of the rest of KDE Frameworks so that works with zxing-cpp 3.x
VersionDeltaFile
1.15+18-5graphics/kf6-prison/Makefile
1.1+18-0graphics/kf6-prison/patches/patch-src_lib_CMakeLists.txt
1.4+17-1graphics/kf6-prison/PLIST
1.1+16-0graphics/kf6-prison/patches/patch-src_scanner_CMakeLists.txt
1.1+15-0graphics/kf6-prison/patches/patch-CMakeLists.txt
1.4+7-4graphics/kf6-prison/distinfo
+91-106 files