LLVM/project 4e3a074llvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG/X86 switch-to-lookup-comdat.ll

[SimplifyCFG] Reuse function comdat for switch lookup table (#190995)

Fixes #190994.

As the switch table is extracted from the function, the table should be
removed when the function is removed, and therefore inherits the comdat
of the function.
DeltaFile
+58-0llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-comdat.ll
+1-0llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+59-02 files

LLVM/project cb961d3llvm/lib/Analysis ValueTracking.cpp, llvm/lib/CodeGen/GlobalISel GISelValueTracking.cpp

[ValueTracking][KnownFPClass] Cover known no-infinity cases for powi (#191736)

Teach `computeKnownFPClass` to infer non-infinity cass for `powi`.

Rules out `inf` for `powi(x, exp)` when:
- `x ?= inf` && `exp > 0`
- `x ?= +/-0` && `exp < 0`
- `x ?= finite` && `|exp| > 1`
- `x ?= subnormal` && `exp ?= -1` (special asym case after |exp| > 1)

where `?=` is maybe equal.

It's a bit conservative, and we could refine it further, but I'd take an
iterative improvement.
DeltaFile
+74-4llvm/unittests/CodeGen/GlobalISel/KnownFPClassTest.cpp
+68-0llvm/unittests/Analysis/ValueTrackingTest.cpp
+52-0llvm/test/Transforms/Attributor/nofpclass-powi.ll
+35-1llvm/lib/Support/KnownFPClass.cpp
+16-4llvm/lib/CodeGen/GlobalISel/GISelValueTracking.cpp
+14-5llvm/lib/Analysis/ValueTracking.cpp
+259-146 files

FreeNAS/freenas 2887ad1tests/api2 test_zpool_scrub.py

bigger fill size?
DeltaFile
+1-1tests/api2/test_zpool_scrub.py
+1-11 files

FreeNAS/freenas 36f1f99tests/api2 test_zpool_scrub.py

try
DeltaFile
+0-6tests/api2/test_zpool_scrub.py
+0-61 files

FreeBSD/ports 26699f7math/sprng Makefile

math/sprng: make fetchable

sprng.org has transient(?) failures, keep a copy locally.
DeltaFile
+2-1math/sprng/Makefile
+2-11 files

LLVM/project da8abd8llvm/lib/DebugInfo/LogicalView/Core LVCompare.cpp

[llvm][DebugInfo] Use formatv in LVCompare (#192001)

This relates to #35980.
DeltaFile
+2-2llvm/lib/DebugInfo/LogicalView/Core/LVCompare.cpp
+2-21 files

FreeBSD/ports 117ab77net-p2p/torrent-file-editor pkg-plist distinfo, net-p2p/torrent-file-editor/files patch-CMakeLists.txt patch-mainwindow.cpp

net-p2p/torrent-file-editor: update the port to version 1.0.2.
DeltaFile
+14-8net-p2p/torrent-file-editor/pkg-plist
+0-20net-p2p/torrent-file-editor/files/patch-CMakeLists.txt
+12-0net-p2p/torrent-file-editor/files/patch-mainwindow.cpp
+3-3net-p2p/torrent-file-editor/distinfo
+2-2net-p2p/torrent-file-editor/Makefile
+31-335 files

FreeBSD/doc 1b1003cwebsite/content/en/status/report-2026-01-2026-03 cra.adoc

status/2026q1: Add Cyber Resilience Act (CRA) entry

Text author:            Alice Sowerby <alice at freebsdfoundation.org>
Reviewed by:            status (carlavilla, salvadore)
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56380
DeltaFile
+16-0website/content/en/status/report-2026-01-2026-03/cra.adoc
+16-01 files

FreeBSD/doc 958325awebsite/content/en/status/report-2026-01-2026-03 freebsd-foundation.adoc

status/2026q1: Add FreeBSD Foundation entry

Section authors:
  Advocacy:             Anne Dickison <anne at freebsdfoundation.org>
                        Florine Kamdem <florine at freebsdfoundation.org>
  OS Improvements:      Joe Mingrone <jrm at freebsdfoundation.org>
Reviewed by:            status (Graham Percival <gperciva at tarsnap.com>, salvadore)
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56379
DeltaFile
+77-0website/content/en/status/report-2026-01-2026-03/freebsd-foundation.adoc
+77-01 files

LLVM/project 0f2afdeclang/lib/Sema SemaOpenACC.cpp, clang/test/SemaOpenACC routine-construct-clauses.cpp

[OpenACC] Fix invalid routine case where 'bind' didn't exist (#192270)

For some reason I'd failed to check the result of `find_if` and just
assumed that the `bind` clause must exist! Looking through my other
tests, I've validated every other combination other than this one for
some reason.

Fixes: #192245
DeltaFile
+30-27clang/lib/Sema/SemaOpenACC.cpp
+11-0clang/test/SemaOpenACC/routine-construct-clauses.cpp
+41-272 files

FreeBSD/src 18b7115sys/netinet ip_mroute.c, sys/netinet6 ip6_mroute.c

ip_mroute: Fix a lock leak in X_ip_mforward()

If a FIB does not have a router configured, X_ip_mforward() would leak a
lock.  Plug the leak.

The IPv6 counterpart did not have such a check.  It wouldn't send an
upcall to a non-existent router anyway due to the router_ver check, but
we should verify that a router is present anyway.

Add regression test cases to exercise these code paths.

Reported by:    Claude Opus 4.6
Fixes:          0bb9c2b665d9 ("ip6_mroute: FIBify")
Sponsored by:   Klara, Inc.
Sponsored by:   Stormshield
DeltaFile
+140-13tests/sys/netinet/ip_mroute.py
+3-1sys/netinet/ip_mroute.c
+4-0sys/netinet6/ip6_mroute.c
+147-143 files

LLVM/project 54ae11dclang/test/CXX/drs cwg31xx.cpp, clang/www cxx_dr_status.html

[Clang][NFC] Mark 3106 as implemented. (#192256)

This was a wording clarification, but we add a test nonetheless.
DeltaFile
+16-0clang/test/CXX/drs/cwg31xx.cpp
+1-1clang/www/cxx_dr_status.html
+17-12 files

FreeBSD/ports 7d31586lang/rust-nightly distinfo Makefile, lang/rust-nightly/files patch-src_tools_cargo_src_cargo_sources_git_source.rs

lang/rust-nightly: update 1.96.0.20260326 → 1.97.0.20260413

The patch-src_tools_cargo_src_cargo_sources_git_source.rs was
updated for newer cargo and needs additional review [1].

PR:             256581 [1]
Approved by:    rust (implicit)
DeltaFile
+19-20lang/rust-nightly/files/patch-src_tools_cargo_src_cargo_sources_git_source.rs
+3-3lang/rust-nightly/distinfo
+2-2lang/rust-nightly/Makefile
+24-253 files

FreeBSD/src e99b3f5usr.bin/du/tests du_test.sh

du: Fix t_flag test case

MFC after:      1 week
Fixes:          3e5550d25c6d ("du: Add regression tests")
Sponsored by:   Klara, Inc.
DeltaFile
+1-1usr.bin/du/tests/du_test.sh
+1-11 files

FreeBSD/ports 92a7010devel/R-cran-vctrs distinfo Makefile

devel/R-cran-vctrs: Update to 0.7.3

Changelog: https://cran.r-project.org/web/packages/vctrs/news/news.html
DeltaFile
+3-3devel/R-cran-vctrs/distinfo
+1-1devel/R-cran-vctrs/Makefile
+4-42 files

LLVM/project e0f5ad7clang/docs ReleaseNotes.rst, clang/lib/Sema SemaOverload.cpp

[Clang] Fix handling of overloads differing only by constraints and ref-qualifiers (#192018)

We should only error about inconsistent qualifiers if the functions are
actually overloads.

Fixes #120812
DeltaFile
+17-9clang/lib/Sema/SemaOverload.cpp
+11-0clang/test/CXX/drs/cwg24xx.cpp
+1-0clang/docs/ReleaseNotes.rst
+29-93 files

FreeBSD/ports dbaeacaports-mgmt/poudriere-devel distinfo Makefile

ports-mgmt/poudriere-devel: Update to 3.3.0-2556-gc7cb97106

Changes:
- Fix build on older releases
DeltaFile
+3-3ports-mgmt/poudriere-devel/distinfo
+2-2ports-mgmt/poudriere-devel/Makefile
+5-52 files

FreeBSD/poudriere c7cb971src/libexec/poudriere/write_atomic write_atomic.c mktemp.c

write_atomic: Drop O_CLOFORK to fix older release builds
DeltaFile
+5-5src/libexec/poudriere/write_atomic/write_atomic.c
+1-1src/libexec/poudriere/write_atomic/mktemp.c
+6-62 files

LLVM/project 0bced21llvm/tools/llvm-jitlink llvm-jitlink.cpp llvm-jitlink.h

[llvm-jitlink] Hold Session::ObjLayer by unique_ptr. (#192253)

This will simplify the Session construction process when we remove
jitlink::JITLinkMemoryManager ownership from ExecutorProcessControl in
an upcoming patch.

(Reason: ObjectLinkingLayer's constructor will require a
JITLinkMemoryManager, which we'll want to cerate after the
ExecutionSession has been initialized. Creating a JITLinkMemoryManager
is generally a fallible operation, so we want to be able to bail on
construction of the ObjectLinkingLayer entirely if we can't create a
memory manager for it).
DeltaFile
+26-24llvm/tools/llvm-jitlink/llvm-jitlink.cpp
+2-2llvm/tools/llvm-jitlink/llvm-jitlink.h
+1-1llvm/tools/llvm-jitlink/llvm-jitlink-statistics.cpp
+29-273 files

LLVM/project f194504llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU buffer-fat-pointers-memcpy.ll

[AMDGPU][GlobalISel] Implement missing rules for G_TRUNC legalization (#180647)

Implement G_TRUNC (result, source) register bank rules for sizes {32,
64, 96, 128, 160, 256, 512} with two generic wildcard rules using
UniBRC/DivBRC predicates and SgprBRC/VgprBRC apply IDs.
DeltaFile
+210-196llvm/test/CodeGen/AMDGPU/buffer-fat-pointers-memcpy.ll
+398-0llvm/test/CodeGen/AMDGPU/GlobalISel/trunc-brc.ll
+5-3llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+613-1993 files

FreeBSD/ports 8d4a0f5www/fmd-server distinfo Makefile

www/fmd-server: update to 0.14.2

Release notes: https://gitlab.com/fmd-foss/fmd-server/-/releases/v0.14.2
DeltaFile
+89-89www/fmd-server/distinfo
+1-2www/fmd-server/Makefile
+90-912 files

LLVM/project e2195ffclang/test/Analysis bstring.c

[analyzer] Fix 'bstring.c' test on Mingw (#192252)

Addresses
https://github.com/llvm/llvm-project/pull/191061#issuecomment-4250948488

Co-authored-by: Martin Storsjö <martin at martin.st>
DeltaFile
+1-1clang/test/Analysis/bstring.c
+1-11 files

FreeBSD/src 6c18dd3usr.bin/du du.c du.1, usr.bin/du/tests du_test.sh

du: Complete libxo transition

* Use xo_warn() / xo_err() instead of warn() / err().

* Add a test case for the POSIX-mandated stdout error check.

* While here, don't assume the size of off_t, address some style issues,
  and broaden the use of bool instead of int.

* Reorder SEE ALSO section.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D56402
DeltaFile
+26-24usr.bin/du/du.c
+18-0usr.bin/du/tests/du_test.sh
+2-2usr.bin/du/du.1
+46-263 files

FreeBSD/ports 520524bsecurity/boringssl distinfo Makefile, security/boringssl/files patch-CMakeLists.txt

security/boringssl: update to the recent snapshot

Sponsored by:   tipi.work
DeltaFile
+4-4security/boringssl/files/patch-CMakeLists.txt
+3-3security/boringssl/distinfo
+1-2security/boringssl/Makefile
+1-0security/boringssl/pkg-plist
+9-94 files

LLVM/project b9077c8lldb/docs/_ext lldb_setting.py build_include.py, lldb/scripts gen-property-docs-from-json.py

[lldb][Docs] Fix presentation of some default values (#192239)

There were two bugs with the display of default values:

1. If a default value contains a backtick, that would render
incorrectly. For example
[`disassembly-format`](https://lldb.llvm.org/use/settings.html#disassembly-format).
Fixed by doing the wrapping when we generate the Markdown instead of
when parsing the directive. MyST will already parse the content of the
directive as Markdown. We can escape backticks inside the string by
changing the fence. Markdown can take any number of backticks at the
start as long as they match the amount at the end
([spec](https://spec.commonmark.org/0.31.2/#code-spans)).
2. When the docs were built on Windows, UTF-8 was not correctly picked
up, because the default encoding isn't utf8 there.
[`separator`](https://lldb.llvm.org/use/settings.html#separator) was one
example (renders correctly on the Website but not on my machine).
DeltaFile
+1-20lldb/docs/_ext/lldb_setting.py
+12-3lldb/scripts/gen-property-docs-from-json.py
+1-1lldb/docs/_ext/build_include.py
+14-243 files

LLVM/project d87e2eaclang/docs ReleaseNotes.rst, clang/lib/Sema SemaDeclCXX.cpp

[Clang] Diagnose `co_await` expressions in default arguments of nested functions (#191817)

co_await/co_yield expressions are not allowed in default arguments. We
were checking they do not appear outside of function contexts, which
include default arguments of the corresponding function, but it missed
default arguments of functions declared in the body of another
functions.

Because parsing default argument isn't done in a dedicated scope, we do
additional checks in `ActOnParamDefaultArgument`. Because the checks is
done in two places, we cannot introduce a more precise diagnostic.

It might be worth considering a parse scope for default arguments in the
future.

Fixes #98923
DeltaFile
+21-0clang/test/SemaCXX/coroutines.cpp
+19-0clang/lib/Sema/SemaDeclCXX.cpp
+1-0clang/docs/ReleaseNotes.rst
+41-03 files

LLVM/project 1802123clang/include/clang/Analysis/Analyses/LifetimeSafety FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

[LifetimeSafety] Propagate origins through explicit cast expressions (#192180)

Before this PR, `FactsGenerator` handled cast nodes with
`VisitImplicitCastExpr` (`CastKind` switch case) and
`VisitCXXFunctionalCastExpr` (handle`gsl::Pointer` types). Other
explicit casts (`CStyleCastExpr`, `CXXStaticCastExpr`, ...) had no
handler, so origin was silently dropped. This is the root cause of
#190912: the dangle in `a = StringView(s);` is missed even though the
equivalent `StringView tmp(s); a = tmp;` is reported.

The policy for "does this cast propagate origin?" is a function of
`CastKind`, independent of whether the cast is implicit or explicit.
This PR replaces `VisitImplicitCastExpr` with a generic `VisitCastExpr`.
`VisitCXXFunctionalCastExpr` is retained only to preserve the
`handleTestPoint` logic, then delegates to `VisitCastExpr`.

This mirrors `clang/lib/AST/ExprConstant.cpp`, where each evaluator
implements only `VisitCastExpr` and switches on `CastKind`; the few
ExprClass-specific overrides (e.g., `VisitCXXDynamicCastExpr`) exist

    [4 lines not shown]
DeltaFile
+27-0clang/test/Sema/warn-lifetime-safety.cpp
+7-8clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+1-1clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+35-93 files

FreeBSD/ports a22fb8dlang/luajit distinfo Makefile

lang/luajit: update to the recent snaphost

Sponsored by:   tipi.work
DeltaFile
+3-3lang/luajit/distinfo
+3-3lang/luajit/Makefile
+6-62 files

LLVM/project f22071aflang/include/flang/Semantics openmp-utils.h

Update comment about returning std::nullopt
DeltaFile
+2-0flang/include/flang/Semantics/openmp-utils.h
+2-01 files

LLVM/project 3174b3dutils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel, utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[bazel] Port 789f30c (#192261)
DeltaFile
+15-1utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+1-1utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+1-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+18-24 files