LLVM/project 97fd08dllvm/include/llvm/CodeGen/GlobalISel LegalizationArtifactCombiner.h, llvm/test/CodeGen/AArch64/GlobalISel legalize-trunc-merge-float-src.mir

[GlobalISel] avoid G_TRUNC with floating-point G_MERGE_VALUES source (#206733)

With extended LLT, scalar LLT carry an integer/float kind information.
The `G_TRUNC(G_MERGE_VALUES)` fold in
`LegalizationArtifactCombiner::tryCombineTrunc` truncated, copied or
rebuilt a merge directly from the merge's source register.

**Problem**
When those sources are floating-point this produces artifacts with float
source operand - e.g. `i1 = G_TRUNC f32` or a rebuilt `iN =
G_MERGE_VALUES f32, ...` which are bit level integer operations and must
not take a float operand.

**Fix**
Reinterpret a floating-point merge source to an integer of the same size
via `G_BITCAST` before truncating, copying or rebuilding the merge. So
the emitted artifacts stay on integer operands. Non-float sources and
non-extended-LLT builds are unaffected.
DeltaFile
+72-0llvm/test/CodeGen/AArch64/GlobalISel/legalize-trunc-merge-float-src.mir
+18-7llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
+90-72 files

LLVM/project 7bf1dedlibcxx/include __node_handle optional, libcxx/include/__pstl/cpu_algos transform_reduce.h

[libc++] Clean up headers that relied on `<optional>`'s transitive includes (#213158)

Clear out the headers in <optional> that were left in to not break
other headers, and fix them also. Also fix tests.
DeltaFile
+0-15libcxx/include/optional
+4-0libcxx/include/__ranges/movable_box.h
+4-0libcxx/include/__ranges/join_view.h
+2-0libcxx/include/__pstl/cpu_algos/transform_reduce.h
+2-0libcxx/include/__node_handle
+1-0libcxx/test/std/utilities/optional/optional.syn/optional_in_place_t.verify.cpp
+13-1518 files not shown
+31-1524 files

LLVM/project 6844989llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-merge-values.mir fp-int-conversions.ll

[GlobalISel] emit G_BITCAST in widenScalarMergeValues when DstTy does not match WideTy (#203014)

**Problem:**
`LegalizerHelper::widenScalarMergeValues` does not handle the case where
the destination register type is a floating-point type but the widen
operation produces an integer type of the same size.

For example, given:
```
%0:_(i8) = G_CONSTANT i8 0
%1:_(i8) = G_CONSTANT i8 1
%2:_(f16) = G_MERGE_VALUES %0:_(i8), %1_:(i8)
```
With a `minScalarOrElt` rule widening the source type to I16,
`widenScalarMergeValues` enters the `WideSize >= DstSize` path and
assigns the result to a new virtual register. The condition used to
assign directly to DstReg uses type equality (WideTy == DstTy), which
fails when DstTy = f16. As a result, DstReg is left without a
definition.

    [12 lines not shown]
DeltaFile
+50-0llvm/test/CodeGen/AMDGPU/GlobalISel/fp-int-conversions.ll
+45-0llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
+2-0llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+97-03 files

NetBSD/pkgsrc-wip 903f6dfsftpgo TODO

sftpgo: CVE-2026-10031 affects versions priori to 2.7.4
DeltaFile
+0-2sftpgo/TODO
+0-21 files

HardenedBSD/src 8d92005sys/dev/e1000 if_igb_iov.c, sys/dev/igc igc_base.c if_igc.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+143-20sys/dev/e1000/if_igb_iov.c
+111-4sys/netinet6/in6_mcast.c
+65-23sys/dev/igc/if_igc.c
+29-0sys/dev/igc/igc_base.c
+11-12sys/netipsec/xform_tcp.c
+14-8sys/netinet/tcp_stacks/rack_bbr_common.c
+373-6716 files not shown
+457-8922 files

HardenedBSD/src e164c6dsys/dev/e1000 if_igb_iov.c, sys/dev/igc igc_base.c if_igc.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+143-20sys/dev/e1000/if_igb_iov.c
+111-4sys/netinet6/in6_mcast.c
+65-23sys/dev/igc/if_igc.c
+29-0sys/dev/igc/igc_base.c
+11-12sys/netipsec/xform_tcp.c
+14-8sys/netinet/tcp_stacks/rack_bbr_common.c
+373-6716 files not shown
+457-8922 files

HardenedBSD/src a8f4949bin/pwait pwait.c, bin/pwait/tests pwait_reap.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+321-67contrib/unbound/services/outside_network.c
+159-75contrib/unbound/services/listen_dnsport.c
+188-0bin/pwait/tests/pwait_reap.c
+96-11contrib/unbound/services/outside_network.h
+57-18bin/pwait/pwait.c
+47-20contrib/unbound/iterator/iterator.c
+868-19165 files not shown
+1,476-41971 files

HardenedBSD/ports e516eb8devel/phorgeit-phorge pkg-plist, devel/phorgeit-phorge/files patch-src_applications_project_editor_PhabricatorProjectTransactionEditor.php

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+212-420devel/phorgeit-phorge/pkg-plist
+66-11editors/tamago/files/patch-Makefile.in
+67-0editors/tamago/files/patch-its_Makefile.in
+66-0editors/tamago/files/patch-egg_Makefile.in
+0-50security/vuxml/myvuln
+0-36devel/phorgeit-phorge/files/patch-src_applications_project_editor_PhabricatorProjectTransactionEditor.php
+411-51760 files not shown
+597-75066 files

LLVM/project 6a7f6a0clang/lib/StaticAnalyzer/Checkers LifetimeModeling.h LifetimeModeling.cpp, clang/test/Analysis lifetime-bound.cpp

[analyzer] Implement BugReporterVisitor for UseAfterLifetimeEnd to trace lifetime source binding (#207052)

Currently the `UseAfterLifetimeEnd` checker can emit warnings, but those
warnings cannot clearly describe to which annotated parameter the return
value is actually bound. When multiple parameters are annotated, it is
unclear which one the return value is bound to. Using
`BugReporterVisitor` to trace back the nodes and emit a note that
explains where the lifetime of the annotated parameter (the source)
ended can be helpful for users.

***NOTE***: This PR is built on #205951. It should only be merged after
#205951 is merged.

Consider the following case: 

```cpp
#include <stddef.h>

class Arena {

    [39 lines not shown]
DeltaFile
+108-0clang/lib/StaticAnalyzer/Checkers/UseAfterLifetimeEnd.cpp
+51-38clang/test/Analysis/lifetime-bound.cpp
+5-0clang/lib/StaticAnalyzer/Checkers/LifetimeModeling.cpp
+3-0clang/lib/StaticAnalyzer/Checkers/LifetimeModeling.h
+167-384 files

LLVM/project 3db0dd7llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-function-definition.ll debug-function-definition-external-call.ll

Implement support for NSDI DebugFunctionDefinition. (#211853)

This PR depends on the DebugFunction PR:
https://github.com/llvm/llvm-project/pull/211760. This PR implements
support for
[DebugFunctionDefinition](https://github.khronos.org/SPIRV-Registry/nonsemantic/NonSemantic.Shader.DebugInfo.html#DebugFunctionDefinition).

DebugFunctionDefinition must be emitted within the instruction sequence
of its corresponding OpFunction. The current implementation inserts
DebugFunctionDefinition immediately after the last OpVariable, if one
exists, or otherwise immediately after the first OpLabel. The goal is to
satisfy the following
[requirement](https://github.khronos.org/SPIRV-Registry/nonsemantic/NonSemantic.Shader.DebugInfo.html#_binary_form):

> DebugScope, DebugNoScope, DebugDeclare, DebugValue, DebugLine,
DebugNoLine, and DebugFunctionDefinition instructions may interleave
with instructions inside a function, but they must appear at valid
locations within a block as required by SPV_KHR_non_semantic_info. In
particular, they cannot appear before any OpPhi or function-level

    [7 lines not shown]
DeltaFile
+166-11llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+124-0llvm/test/CodeGen/SPIRV/debug-info/debug-function-definition-calls.ll
+88-0llvm/test/CodeGen/SPIRV/debug-info/debug-function-definition-call-before-alloca.ll
+53-25llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+56-0llvm/test/CodeGen/SPIRV/debug-info/debug-function-definition-external-call.ll
+55-0llvm/test/CodeGen/SPIRV/debug-info/debug-function-definition.ll
+542-362 files not shown
+589-398 files

OPNSense/core 8992c98src/opnsense/www/js opnsense_favorites.js

menu: add Favorites section - fix some const's in javascript
DeltaFile
+2-2src/opnsense/www/js/opnsense_favorites.js
+2-21 files

LLVM/project d2b28a8llvm/include/llvm/Analysis ConstantFolding.h TargetFolder.h, llvm/lib/Analysis InstructionSimplify.cpp ConstantFolding.cpp

[ConstFold] Fold fixed-vectors in constantFoldIntrinsic (#213625)

This exposes an underlying bug in wasm.dot-folding, which we fix. The
motivation for this patch is to enable folding of get.active.lane.mask
in VPlan in a follow-up.
DeltaFile
+9-4llvm/lib/Analysis/ConstantFolding.cpp
+9-0llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/dot.ll
+2-1llvm/include/llvm/Analysis/TargetFolder.h
+1-1llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+1-1llvm/lib/Analysis/InstructionSimplify.cpp
+1-0llvm/include/llvm/Analysis/ConstantFolding.h
+23-76 files

FreeBSD/src 04753df. UPDATING, bin/pwait pwait.1

Bump dates

Fixes:          c8f5e6819d4d ("pwait: Optionally wait until process is reaped")
Fixes:          eddd8aa99ca8 ("pwait: Add a SIGINFO handler")
Fixes:          356d0b79cf6f ("rc.subr: Fix premature return from wait_for_pids")
(cherry picked from commit 9d852922f6687ce9a699efe5e09e3634923b2b60)
DeltaFile
+1-1lib/libc/sys/kqueue.2
+1-1bin/pwait/pwait.1
+1-1UPDATING
+3-33 files

FreeBSD/src 934fde2. UPDATING, libexec/rc rc.subr

rc.subr: Fix premature return from wait_for_pids

Use pwait's new -r option to wait until the target processes have not
only terminated, but also been reaped.

PR:             293183
MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D58391

(cherry picked from commit 356d0b79cf6fc693ed1a5564232e240ce15ccb8a)
DeltaFile
+6-14libexec/rc/tests/rc_subr_test.sh
+12-0UPDATING
+2-2libexec/rc/rc.subr
+20-163 files

FreeBSD/src 58c826dbin/pwait/tests pwait_reap.c

pwait: Fix pwait_normal test case

Reported by:    markj
Fixes:          e115066370dc ("pwait: Test the new -r option")

(cherry picked from commit 51c0cdb04919f776516a7fac8529e7279ea5efad)
DeltaFile
+1-1bin/pwait/tests/pwait_reap.c
+1-11 files

FreeBSD/src 6bfcca2contrib/unbound/iterator iterator.c, contrib/unbound/services mesh.c outside_network.h

unbound: Update to 1.25.2

Release notes at
        https://community.nlnetlabs.nl/t/unbound-1-25-2-released

Merge commit 'c68e7bcd81d62e9f5364c6da22fd9917976acf85'

Security:       CVE-2026-14586
Security:       CVE-2026-32665
Security:       CVE-2026-40691
Security:       CVE-2026-41637
Security:       CVE-2026-42955
Security:       CVE-2026-44621
Security:       CVE-2026-44687
Security:       CVE-2026-44690
Security:       CVE-2026-46582
Security:       CVE-2026-50045
Security:       CVE-2026-50046
Security:       CVE-2026-50243

    [13 lines not shown]
DeltaFile
+321-67contrib/unbound/services/outside_network.c
+159-75contrib/unbound/services/listen_dnsport.c
+96-11contrib/unbound/services/outside_network.h
+47-20contrib/unbound/iterator/iterator.c
+52-14contrib/unbound/services/mesh.c
+56-3contrib/unbound/validator/validator.c
+731-19051 files not shown
+1,131-33857 files

FreeBSD/src c4700dbbin/pwait/tests pwait_test.sh

pwait: Don't use init as a target

The time_unit test case uses PID 1 as a target for pwait.  This doesn't
work in a jail.  Since all we need is a process that we know won't die
while the test is running, we may as well use ourselves.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D58418

(cherry picked from commit 5922e9d7e72bfa8a85b0f37bcfd1a8b5d866ec3b)
DeltaFile
+19-21bin/pwait/tests/pwait_test.sh
+19-211 files

FreeBSD/src 70b3d32sys/kern sys_procdesc.c kern_event.c

kqueue: Fix delivery of unwanted events

In both procdesc_kqops_event() and filt_proc(), the event variable can
have more than one bit set.  This means that:

* We cannot compare it directly with NOTE_EXIT; we must binary-and them
  instead.

* We cannot binary-or it with the report mask; we must binary-and it
  with the request mask first.

MFC after:      1 week
Fixes:          2a5e58c59694 ("procdesc: add NOTE_PDSIGCHLD")
Fixes:          b328975b9d7c ("procdesc: report NOTE_PDSIGCHLD for traced and stopped process")
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58395

(cherry picked from commit 4627fe9e5afc0dce4469f5964f5d4b0e49a24274)
DeltaFile
+3-3sys/kern/kern_event.c
+2-2sys/kern/sys_procdesc.c
+5-52 files

FreeBSD/src 4e6679cbin/pwait/tests Makefile pwait_reap.c

pwait: Test the new -r option

Test that pwait without -r reports a process as soon as it terminates,
while pwait with -r does not report it until it has been reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D58385

(cherry picked from commit e115066370dcfec410d914362756d09c268a5b4e)
DeltaFile
+188-0bin/pwait/tests/pwait_reap.c
+1-1bin/pwait/tests/Makefile
+189-12 files

FreeBSD/src 19723c7bin/pwait pwait.1 pwait.c

pwait: Add a SIGINFO handler

On SIGINFO, print a space-separated list or remaining processes to
standard error.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58386

(cherry picked from commit eddd8aa99ca84c85faea5761af800b5b089d6ba1)
DeltaFile
+29-7bin/pwait/pwait.c
+13-0bin/pwait/pwait.1
+42-72 files

FreeBSD/src ae3c852bin/pwait pwait.1 pwait.c

pwait: Optionally wait until process is reaped

If the new -r option is specified, wait until the target process not
only terminates but is reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58314

(cherry picked from commit c8f5e6819d4d81906c4a1641b5c9f02d8730481c)
DeltaFile
+29-12bin/pwait/pwait.c
+14-3bin/pwait/pwait.1
+43-152 files

FreeBSD/src b58c9e8lib/libc/sys kqueue.2, lib/libsysdecode flags.c

kqueue: Add NOTE_REAP

Add a NOTE_REAP event for EVFILTER_PROC which provides a notification
when the process is reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58313

(cherry picked from commit 2bacbbecb165dd761ea7ec2fc35630db61508cdf)
DeltaFile
+8-5sys/kern/kern_event.c
+4-7sys/sys/event.h
+8-2lib/libc/sys/kqueue.2
+6-3sys/kern/sys_procdesc.c
+2-2lib/libsysdecode/flags.c
+1-0sys/kern/kern_exit.c
+29-196 files

FreeBSD/src 237ab14. UPDATING, libexec/rc rc.subr

rc.subr: Fix premature return from wait_for_pids

Use pwait's new -r option to wait until the target processes have not
only terminated, but also been reaped.

PR:             293183
MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D58391

(cherry picked from commit 356d0b79cf6fc693ed1a5564232e240ce15ccb8a)
DeltaFile
+6-14libexec/rc/tests/rc_subr_test.sh
+12-0UPDATING
+2-2libexec/rc/rc.subr
+20-163 files

FreeBSD/src 4ce8f29lib/libsys kqueue.2, lib/libsysdecode flags.c

kqueue: Add NOTE_REAP

Add a NOTE_REAP event for EVFILTER_PROC which provides a notification
when the process is reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58313

(cherry picked from commit 2bacbbecb165dd761ea7ec2fc35630db61508cdf)
DeltaFile
+8-5sys/kern/kern_event.c
+4-7sys/sys/event.h
+8-2lib/libsys/kqueue.2
+6-3sys/kern/sys_procdesc.c
+2-2lib/libsysdecode/flags.c
+1-0sys/kern/kern_exit.c
+29-196 files

HardenedBSD/src 236794fbin/pwait pwait.1 pwait.c

pwait: Add a SIGINFO handler

On SIGINFO, print a space-separated list or remaining processes to
standard error.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58386

(cherry picked from commit eddd8aa99ca84c85faea5761af800b5b089d6ba1)
DeltaFile
+29-7bin/pwait/pwait.c
+13-0bin/pwait/pwait.1
+42-72 files

FreeBSD/src e87afadbin/pwait/tests Makefile pwait_reap.c

pwait: Test the new -r option

Test that pwait without -r reports a process as soon as it terminates,
while pwait with -r does not report it until it has been reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D58385

(cherry picked from commit e115066370dcfec410d914362756d09c268a5b4e)
DeltaFile
+188-0bin/pwait/tests/pwait_reap.c
+1-0bin/pwait/tests/Makefile
+189-02 files

FreeBSD/src 236794fbin/pwait pwait.1 pwait.c

pwait: Add a SIGINFO handler

On SIGINFO, print a space-separated list or remaining processes to
standard error.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58386

(cherry picked from commit eddd8aa99ca84c85faea5761af800b5b089d6ba1)
DeltaFile
+29-7bin/pwait/pwait.c
+13-0bin/pwait/pwait.1
+42-72 files

HardenedBSD/src e87afadbin/pwait/tests Makefile pwait_reap.c

pwait: Test the new -r option

Test that pwait without -r reports a process as soon as it terminates,
while pwait with -r does not report it until it has been reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D58385

(cherry picked from commit e115066370dcfec410d914362756d09c268a5b4e)
DeltaFile
+188-0bin/pwait/tests/pwait_reap.c
+1-0bin/pwait/tests/Makefile
+189-02 files

HardenedBSD/src 600d57dbin/pwait pwait.1 pwait.c

pwait: Optionally wait until process is reaped

If the new -r option is specified, wait until the target process not
only terminates but is reaped.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    kib, markj
Differential Revision:  https://reviews.freebsd.org/D58314

(cherry picked from commit c8f5e6819d4d81906c4a1641b5c9f02d8730481c)
DeltaFile
+29-12bin/pwait/pwait.c
+14-3bin/pwait/pwait.1
+43-152 files

HardenedBSD/src 237ab14. UPDATING, libexec/rc rc.subr

rc.subr: Fix premature return from wait_for_pids

Use pwait's new -r option to wait until the target processes have not
only terminated, but also been reaped.

PR:             293183
MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D58391

(cherry picked from commit 356d0b79cf6fc693ed1a5564232e240ce15ccb8a)
DeltaFile
+6-14libexec/rc/tests/rc_subr_test.sh
+12-0UPDATING
+2-2libexec/rc/rc.subr
+20-163 files