LLVM/project 227bab0offload/plugins-nextgen/level_zero/src L0Context.cpp L0Program.cpp

[OFFLOAD][L0] Improve cleanup on errors (#188251)

Additional cleanup improvements on error conditions (in addition to
those in #187597):

  * Fixed incomplete cleanup in L0Context::init()
  * Fixed build log leak in addModule()
  * Fixed context inconsistent state in findDevices()

Disclaimer: The base of this PR was generated by Claude and adjusted by
me afterwards.
DeltaFile
+14-2offload/plugins-nextgen/level_zero/src/L0Context.cpp
+13-2offload/plugins-nextgen/level_zero/src/L0Program.cpp
+4-1offload/plugins-nextgen/level_zero/src/L0Plugin.cpp
+31-53 files

LLVM/project 6638ceelibc/src/math/generic logf.cpp

[libc] Remove redundant and incorrect comments in `logf.cpp` (#188236)

This PR intends to fix the nit (mostly caused during the refactor in
693a018dcf08e )

- During refactor we move the implementation along with the explanation
comments to header.
```CPP
// This is an algorithm for log(x) in single precision which is correctly
// rounded for all rounding modes, based on the implementation of log(x) from
// the RLIBM project at:
// https://people.cs.rutgers.edu/~sn349/rlibm

// Step 1 - Range reduction:
//   For x = 2^m * 1.mant, log(x) = m * log(2) + log(1.m)
//   If x is denormal, we normalize it by multiplying x by 2^23 and subtracting
.....
// Symposium on Principles of Programming Languages (POPL-2022), Philadelphia,
// USA, January 16-22, 2022.

    [12 lines not shown]
DeltaFile
+1-33libc/src/math/generic/logf.cpp
+1-331 files

LLVM/project 5bce5f5llvm/lib/Support/Unix Process.inc

[llvm] Update terminal list with ANSI colors (#187920)

ncurses hasn't adopted terminal entries for some terminal emulators like
Alacritty, Ghostty, and kitty in `xterm-*` format. To fix mismatch
between remote terminfo-db and terminal emulator that is accessing (e.g.
SSH), users explicitly set `$TERM` to `ghostty` or similar on the remote
side to make colors work. However, since `$TERM` has changed to non
`xterm-*` format in this case, llvm's `xterm-*` filter fails to catch
the terminal. Thus add entries for most widely used terminal emulators
(Alacritty, Ghostty, kitty) in terminfo-db version so llvm's filter can
catch it.

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
DeltaFile
+3-0llvm/lib/Support/Unix/Process.inc
+3-01 files

LLVM/project da439d5libc/docs CMakeLists.txt, libc/docs/headers index.rst

[libc][docs] Avoid docgen target collisions and restore pthread docs (#188221)

Fixes llvm/llvm-project#123821.

Re-enabling pthread docs created a global CMake utility target named
`pthread`, which collides in combined runtime builds where `pthread` is
expected to be a library name. Namespace the internal libc docgen helper
targets under `libc-docgen-*` and restore the generated pthread docs
page. `docs-libc-html` is unchanged.
DeltaFile
+6-5libc/docs/CMakeLists.txt
+0-2libc/docs/headers/index.rst
+6-72 files

FreeBSD/ports e59d7bffilesystems/R-cran-fs distinfo Makefile

filesystems/R-cran-fs: Update to 2.0.1

Add devel/libuv to library dependencies so can use the installed libuv
instead of bundled version.

Changelog: https://cloud.r-project.org/web/packages/fs/news/news.html
DeltaFile
+3-3filesystems/R-cran-fs/distinfo
+3-2filesystems/R-cran-fs/Makefile
+6-52 files

FreeBSD/ports 2099b74ports-mgmt/pkg-devel distinfo Makefile

ports-mgmt/pkg-devel: update to 2.6.99.5

Changes:
- libpkg: fix --register-only with empty packages
- query: fix crash on multiline
DeltaFile
+3-3ports-mgmt/pkg-devel/distinfo
+2-2ports-mgmt/pkg-devel/Makefile
+5-52 files

LLVM/project 376874aoffload/plugins-nextgen/amdgpu/src rtl.cpp

[Offload] Fix destroying signal that was never initialized

Summary:
We create the RPC doorbell signal lazily and destroy it at the plugin
level. This means that we can't rely on the normal 'per-device' handling
so this needs to be called unconditionally. We only create the signal if
a device is registered, but deinit is called unconditionally. Just check
the handle.
DeltaFile
+6-1offload/plugins-nextgen/amdgpu/src/rtl.cpp
+6-11 files

FreeBSD/ports 5ebfe25devel/catppuccin-whiskers distinfo Makefile.crates

devel/catppuccin-whiskers: Update to 2.9.0

Changelog: https://github.com/catppuccin/whiskers/blob/v2.9.0/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+77-17devel/catppuccin-whiskers/distinfo
+38-8devel/catppuccin-whiskers/Makefile.crates
+1-2devel/catppuccin-whiskers/Makefile
+116-273 files

LLVM/project 435869allvm/lib/Target/AArch64/AsmParser AArch64AsmParser.cpp, llvm/test/MC/AArch64 armv9-sysp-diagnostics.s

fixup! Improve error parsing
DeltaFile
+46-25llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+12-12llvm/test/MC/AArch64/armv9-sysp-diagnostics.s
+58-372 files

FreeBSD/ports 100e326devel/sbt distinfo Makefile

devel/sbt: update to 1.12.7 release
DeltaFile
+3-3devel/sbt/distinfo
+1-1devel/sbt/Makefile
+4-42 files

LLVM/project a68f6a8llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 arm64-vmul.ll

[AArch64][GlobalISel] Selet SQDMLSLv1i64_indexed when vector_extract present

Like SQDMLALv1i64_indexed, selecting this intrinsic reduces the number of instructions generated by 1, as it performs both the vector extract and the sqdmlal in one instruction.

This only works when the vector to extract from is v4i32, not v2i32. This is due to some issues GlobalISel has selecting intrinsics using v2i32.
DeltaFile
+7-16llvm/test/CodeGen/AArch64/arm64-vmul.ll
+6-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+13-162 files

pkgng/pkgng e88f7ab. NEWS auto.def

2.6.99.5
DeltaFile
+4-0NEWS
+1-1auto.def
+5-12 files

NetBSD/pkgsrc-wip d8f31c6. Makefile, liblfds Makefile PLIST

liblfds: add new package

This is liblfds, a portable, license-free, lock-free data structure
library written in C.

Lock-free data structures are process, thread and interrupt safe
(i.e. the same data structure instance can be safely used concurrently
and simultaneously across cores, processes, threads and both inside
and outside of interrupt handlers), never sleep (and so are safe
for kernel use when sleeping is not permitted), operate without
context switches, cannot fail (no need to handle error cases, as
there are none), perform and scale literally orders of magnitude
better than locking data structures, and liblfds itself (as of
release 7.0.0) is implemented such that it performs no allocations
(and so works with NUMA, stack, heap and shared memory) and compiles
not just on a freestanding C89 implementation, but on a bare C89
implementation.

The library is completely documented (every API, function, macro,

    [2 lines not shown]
DeltaFile
+26-0liblfds/Makefile
+20-0liblfds/PLIST
+19-0liblfds/DESCR
+13-0liblfds/patches/patch-liblfds711_inc_liblfds711_lfds711__porting__abstraction__layer__operating__system.h
+6-0liblfds/distinfo
+1-0Makefile
+85-06 files

pkgng/pkgng a8a53cflibpkg pkg_printf.c, src query.c

query: fix multiline SIGBUS on case like %dn with no deps
DeltaFile
+32-32libpkg/pkg_printf.c
+1-1src/query.c
+33-332 files

LLVM/project ef6172fclang/docs ReleaseNotes.rst, clang/lib/Sema SemaChecking.cpp

[clang] Apply lvalue conversions to __builtin_classify_type argument (#175627)

According to GCC documentation default argument promotion is applied to
the argument, which includes the function-to-pointer and
array-to-pointer lvalue conversions.

This also implies checking of the argument for placeholder types.

Fixes #175589.
DeltaFile
+15-2clang/test/SemaCXX/builtin-classify-type.cpp
+1-5clang/lib/Sema/SemaChecking.cpp
+1-0clang/docs/ReleaseNotes.rst
+17-73 files

LLVM/project 7af471aflang/lib/Lower/OpenMP DataSharingProcessor.cpp, flang/test/Lower/OpenMP composite_simd_linear.f90 distribute-parallel-do-simd.f90

Reland "[flang][OpenMP] Fix lowering of LINEAR iteration variables (#183794)" (#187766)

Linear iteration variables were being treated as private. This fixes
one of the issues reported in #170784.

The previous regressions are fixed by #187097.
DeltaFile
+8-7flang/test/Lower/OpenMP/composite_simd_linear.f90
+6-7flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+8-5flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+5-5flang/test/Lower/OpenMP/wsloop-simd.f90
+5-5flang/test/Lower/OpenMP/loop-pointer-variable.f90
+3-3flang/test/Lower/OpenMP/distribute-simd.f90
+35-322 files not shown
+41-358 files

FreeBSD/ports 55693b2www/tomcat101 distinfo Makefile

www/tomcat101: Update 10.1.52 => 10.1.53

Changelog:
https://tomcat.apache.org/tomcat-10.1-doc/changelog.html#Tomcat_10.1.53_(schultz)

MFH:    2026Q1
(cherry picked from commit 3cb47cf30972215367e5a7c2965eebc9e85393f3)
DeltaFile
+3-3www/tomcat101/distinfo
+1-1www/tomcat101/Makefile
+4-42 files

FreeBSD/src 82a066bsys/conf files

snd_dummy: Fix sys/conf/files entry

Fixes:          72e85a4d977e ("snd_dummy: Add to sys/conf/files and sys/conf/NOTES")
Report by:      CI
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D56065
DeltaFile
+1-1sys/conf/files
+1-11 files

LLVM/project 5312028llvm/include/llvm/CodeGen LiveIntervals.h

Format
DeltaFile
+1-1llvm/include/llvm/CodeGen/LiveIntervals.h
+1-11 files

LLVM/project f5e4b6ellvm/include/llvm/CodeGen LiveIntervals.h, llvm/lib/CodeGen Rematerializer.cpp

[CodeGen] Fix multiple connected component issue in rematerializer

This fixes a rematerializer issue wherein re-creating the interval of a
non-rematerializable super-register defined over multiple MIs, some of
which defining entirely dead subregisters, could cause a crash when
changing the order of sub-definitions (for example during scheduling)
because the re-created interval could end up with multiple connected
components, which is illegal. The solution is to split separate
components of the interval in such cases. The added unit test crashes
without that added behavior.
DeltaFile
+71-0llvm/unittests/CodeGen/RematerializerTest.cpp
+16-1llvm/lib/CodeGen/Rematerializer.cpp
+6-0llvm/include/llvm/CodeGen/LiveIntervals.h
+93-13 files

pkgng/pkgng 1f99b96libpkg pkg_add.c, tests/frontend install.sh

libpkg: fix --register-only with empty packages

Currently we end up calling archive_read_next_header() in
populate_config_file_contents() even when there are no files in the
package. This results in the following libarchive error:

pkg: archive_read_next_header(): INTERNAL ERROR: Function
'archive_read_next_header' invoked with archive structure in
state 'eof', should be in state 'header/data'

This commit fixes the error and adds a test to prevent regression.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+41-0tests/frontend/install.sh
+1-1libpkg/pkg_add.c
+42-12 files

LLVM/project ea5f742llvm/include/llvm/CodeGen Rematerializer.h, llvm/lib/CodeGen Rematerializer.cpp

[CodeGen] Move rollback capabilities outside of the rematerializer

The rematerializer implements support for rolling back
rematerializations by modifying MIs that should normally be deleted in
an attempt to make them "transparent" to other analyses. This involves:

1. setting their opcode to DBG_VALUE and
2. setting their read register operands to the sentinel register.

This approach has several drawbacks.

1. It forces the rematerializer to support tracking these "dead MIs".
2. It is not actually clear whether this mechanism will interact well
   with all other analyses. This is an issue since the intent of the
   rematerializer is to be usable in as many contexts as possible.
3. In practice, it has shown itself to be relatively error-prone.

This commit removes rollback support from the rematerializer and moves
those capabilties to a rematerializer listener than can be instantiated

    [5 lines not shown]
DeltaFile
+153-131llvm/lib/CodeGen/Rematerializer.cpp
+97-80llvm/include/llvm/CodeGen/Rematerializer.h
+108-23llvm/unittests/CodeGen/RematerializerTest.cpp
+358-2343 files

FreeBSD/ports 3cb47cfwww/tomcat101 distinfo Makefile

www/tomcat101: Update 10.1.52 => 10.1.53

Changelog:
https://tomcat.apache.org/tomcat-10.1-doc/changelog.html#Tomcat_10.1.53_(schultz)

MFH:    2026Q1
DeltaFile
+3-3www/tomcat101/distinfo
+1-2www/tomcat101/Makefile
+4-52 files

LLVM/project fb3c822llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv cttz-elts.ll

[RISCV] canCreateUndefOrPoisonForTargetNode - RISCVISD::READ_VLENB nodes don't create undef/poison (#188231)

Fixes a number of regressions in an upcoming FREEZE patch
DeltaFile
+10-11llvm/test/CodeGen/RISCV/rvv/cttz-elts.ll
+2-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+12-112 files

LLVM/project 4961700libc/shared rpc.h rpc_util.h, offload/plugins-nextgen/amdgpu/src rtl.cpp

[libc] Support AMDGPU device interrupts for the RPC interface (#188067)

Summary:
One of the main disadvantages to using the RPC interface is that it
requires a server thread to spin on the mailboxes checking for work.
The vast majority of the time, there will be no work and work will come
in large bursts.

The HSA / KFD interface supports device-side interrupts and already has
handling for binding these events to an HSA signal. This means that we
can send interrupts from the GPU to wake a sleeping thread on the CPU.
The sleeping thread will be descheduled with a blocking HSA wait call
and woken up when its event ID is raised through the kernel driver's
interrupt.

This is very target-specific handling, but I believe it is valuable
enough to warrant it being in the protocol. It is completely optional,
as it is ignored if uninitialized. This should bring this support at
parity with the interface HIP expects.
DeltaFile
+64-6libc/shared/rpc.h
+47-0offload/plugins-nextgen/amdgpu/src/rtl.cpp
+24-11offload/plugins-nextgen/common/src/RPC.cpp
+14-2offload/plugins-nextgen/common/include/RPC.h
+9-0offload/plugins-nextgen/common/include/PluginInterface.h
+9-0libc/shared/rpc_util.h
+167-191 files not shown
+168-207 files

FreeBSD/ports 31afe08devel/mongo-c-driver distinfo pkg-plist, devel/mongo-c-driver/files patch-build_sphinx_mongoc__common.py

devel/mongo-c-driver: Update 1.30.4 => 1.30.7

Changelogs:
https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.5
https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6
https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.7

PR:             293866
Reported by:    Krzysztof <ports at bsdserwis.com> (maintainer)
Approved by:    maintainer, vvd (mentor)
MFH:            2026Q1 (after 1 week)

(cherry picked from commit 8fe205bd9bd1dbcbe3071c898871a97f4f28b236)
DeltaFile
+0-11devel/mongo-c-driver/files/patch-build_sphinx_mongoc__common.py
+3-3devel/mongo-c-driver/distinfo
+2-2devel/mongo-c-driver/pkg-plist
+1-2devel/mongo-c-driver/Makefile
+6-184 files

FreeBSD/ports ddfc5e0devel/libbson distinfo pkg-plist, devel/libbson/files patch-build_sphinx_mongoc__common.py

devel/libbson: Update 1.30.4 => 1.30.7

Changelogs:
https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.5
https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6
https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.7

PR:             293865
Reported by:    Krzysztof <ports at bsdserwis.com> (maintainer)
Approved by:    maintainer, vvd (mentor)
MFH:            2026Q1 (after 1 week)

(cherry picked from commit 7950638b3cb320795af78e0b7a82d81b01cac835)
DeltaFile
+0-11devel/libbson/files/patch-build_sphinx_mongoc__common.py
+3-3devel/libbson/distinfo
+2-2devel/libbson/pkg-plist
+1-1devel/libbson/Makefile
+6-174 files

FreeBSD/ports cda35b3devel/R-cran-rJava Makefile

devel/R-cran-rJava: switch to JDK21
DeltaFile
+8-5devel/R-cran-rJava/Makefile
+8-51 files

LLVM/project 6de7e6dllvm/lib/Target/AMDGPU GCNPreRAOptimizations.cpp GCNVOPDUtils.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.fdot2.ll llvm.amdgcn.fdot2.f32.bf16.ll

AMDGPU: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

For V_DOT2_F32_F16 and V_DOT2_F32_BF16 add pre-RA register allocation
hints to preferably assign dst and src2 to the same physical register.
When the hint is satisfied, canMapVOP3PToVOPD recognises the instruction
as eligible for VOPD pairing by checking if it is VOP2 like:
dst==src2, no source modifiers, no clamp, and src1 is a register.
Mark both instructions as commutable to allow a literal in src1 to be
moved to src0, since VOPD only permits a literal in src0.
DeltaFile
+258-592llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+75-93llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+24-0llvm/lib/Target/AMDGPU/GCNPreRAOptimizations.cpp
+19-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+8-5llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+2-2llvm/lib/Target/AMDGPU/VOPInstructions.td
+386-6931 files not shown
+390-6937 files

LLVM/project 95d5442flang/lib/Optimizer/Transforms DebugTypeGenerator.cpp, flang/test/Integration debug-local-var-2.f90

[flang][debug] Always include (kind=X) suffix in debug type names (#186255)

Previously, 32-bit types (integer, real, logical, complex) were printed
without the (kind=4) suffix in DWARF debug type names, while other sizes
always included the kind suffix. This inconsistency is now removed by
always appending (kind=X) to all basic type names, making the format
uniform across all type sizes.

Fixes https://github.com/llvm/llvm-project/issues/119478.
DeltaFile
+12-14flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
+4-4flang/test/Transforms/debug-vector-type.fir
+3-3flang/test/Transforms/debug-derived-type-1.fir
+3-3flang/test/Integration/debug-local-var-2.f90
+3-3flang/test/Transforms/debug-local-var.fir
+3-3flang/test/Transforms/debug-fn-info.fir
+28-3018 files not shown
+54-5624 files