LLVM/project 8e2f16allvm/test/TableGen directive2.td directive1.td, llvm/utils/TableGen/Basic DirectiveEmitter.cpp

[TableGen] Use llvm_unreachable in switch guard for all except gcc 8-

Follow-up to https://github.com/llvm/llvm-project/pull/194728.

For gccs older than v9 use abort. That seems to make everybody happy.
DeltaFile
+15-15llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
+15-9llvm/test/TableGen/directive2.td
+15-9llvm/test/TableGen/directive1.td
+45-333 files

LLVM/project 8d2a578clang/lib/Analysis/LifetimeSafety LiveOrigins.cpp FactsGenerator.cpp, clang/test/Sema/LifetimeSafety invalidations.cpp

[LifetimeSafety] Fix liveness propagation for all origin flows (#205323)

Previously, the `transfer` function for `OriginFlowFact` only handled
killing the destination origin. It did not propagate liveness backwards
from destination to source, meaning that if an origin flowed into
another, the source was not marked live even when the destination was.

The `transfer` function now propagates liveness from destination to
source: if the destination origin is live, the source origin is also
marked live with the same `LivenessInfo`, before optionally killing the
destination.

Additionally, `handleMovedArgsInCall` now skips rvalue reference
parameters annotated with `[[clang::lifetimebound]]`, since such
parameters should not be treated as moved-from.

This introduces some false positives for invalidations as container
modifications are not considered self-invalidating. The updated test
expectations reflect this, along with `FIXME` comments explaining that

    [2 lines not shown]
DeltaFile
+23-6clang/test/Sema/LifetimeSafety/invalidations.cpp
+14-3clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+6-0clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+43-93 files

LLVM/project fef10fellvm/docs/CommandGuide index.md, llvm/docs/GlobalISel index.rst Pipeline.rst

[docs] Enforce unambiguous toctree in llvm/docs

It seems like using a non-`hidden` `toctree` for page navigation is a
bit of a trap, in that every doc must have a single unique path through
the global toctree to the root doc, and it is very easy to end up with
multiple.

This patch tries to address the warnings (actually infos, hence why it
does not fail the build) in llvm/docs/, namely:

  $ sphinx-build -b html -jauto llvm/docs/ /tmp/sphinx-out
  checking consistency...
  llvm/docs/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack.md: document is referenced in multiple toctrees: ['UserGuides', 'AMDGPUUsage'], selecting: UserGuides <- AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack/AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack
  llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst: document is referenced in multiple toctrees: ['UserGuides', 'AMDGPUUsage'], selecting: UserGuides <- AMDGPUDwarfExtensionsForHeterogeneousDebugging
  llvm/docs/CommandGuide/llvm-reduce.rst: document is referenced in multiple toctrees: ['CommandGuide/index', 'CommandGuide/index', 'Reference'], selecting: Reference <- CommandGuide/llvm-reduce
  llvm/docs/GitHub.rst: document is referenced in multiple toctrees: ['GettingInvolved', 'UserGuides'], selecting: UserGuides <- GitHub
  llvm/docs/GlobalISel/IRTranslator.rst: document is referenced in multiple toctrees: ['GlobalISel/index', 'GlobalISel/Pipeline'], selecting: GlobalISel/index <- GlobalISel/IRTranslator
  llvm/docs/GlobalISel/InstructionSelect.rst: document is referenced in multiple toctrees: ['GlobalISel/index', 'GlobalISel/Pipeline'], selecting: GlobalISel/index <- GlobalISel/InstructionSelect
  llvm/docs/GlobalISel/Legalizer.rst: document is referenced in multiple toctrees: ['GlobalISel/index', 'GlobalISel/Pipeline'], selecting: GlobalISel/index <- GlobalISel/Legalizer

    [35 lines not shown]
DeltaFile
+126-81llvm/docs/CommandGuide/index.md
+30-21llvm/docs/GlobalISel/index.rst
+50-0utils/docs/llvm_sphinx/ext/checks.py
+21-21llvm/tools/llvm-debuginfo-analyzer/README.md
+0-14llvm/docs/tutorial/MyFirstLanguageFrontend/index.rst
+0-8llvm/docs/GlobalISel/Pipeline.rst
+227-1455 files not shown
+229-15411 files

LLVM/project e73856dclang/docs ghlinks.py conf.py, lldb/docs conf.py

[docs] Create utils/docs

llvm-project is home to many sphinx documentation sites, each with
configuration quirks and bespoke extensions.

The sphinx config model makes sharing code somewhat difficult. There
are options like sphinx-multiproject, but some of our docs builds are
out of the source tree while some are done out of the binary tree, so
the multiproject configuration itself would need to be generated. It
also would impose more uniformity around extensions than required.

This change instead creates a python package at utils/docs/llvm_sphinx
and makes it available to all sphinx-build processes via PYTHONPATH.
Each conf.py does not modify its own sys.path because not all builds are
out of the source tree, so there isn't a stable relative path to use to
refer to the utils/docs/ directory.

Type checking via pyright in new package is pinned to being python 3.8
compatible.

    [29 lines not shown]
DeltaFile
+0-273clang/docs/ghlinks.py
+151-0utils/docs/llvm_sphinx/ext/ghlinks/__init__.py
+71-0utils/docs/llvm_sphinx/__init__.py
+12-44llvm/docs/conf.py
+6-39lldb/docs/conf.py
+9-30clang/docs/conf.py
+249-38623 files not shown
+413-64929 files

NetBSD/pkgsrc oD9PTgBdoc CHANGES-2026

   doc: Updated pkgtools/pkglint to 23.21.1
VersionDeltaFile
1.3971+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc q2cY0oOpkgtools/pkglint distinfo Makefile

   pkgtools/pkglint: update to 23.21.1

   Changes since 23.21.0 from 2026-06-03:

   Fix wrong warning about files that are still in CVS. (Since 23.21.0.)
VersionDeltaFile
1.43+4-4pkgtools/pkglint/distinfo
1.813+2-3pkgtools/pkglint/Makefile
+6-72 files

FreeBSD/src fdca6b7sys/dev/bnxt/bnxt_en if_bnxt.c

bnxt: Report actual link speed, rather than hard-coded 100Gbs

We need to report the actual link speed, rather than a hard-coded
100Gbs for a variety of reasons, but most importantly, as reporting
100Gbs on a 10g link breaks lacp when this NIC is in an LACP bundle
with other vendors' NICs after e98ed8d99fd4 (lacp:
Simplify lacp_compose_key()), as the fake 100g puts this nic
into a different aggregation group.

Sponsored by: Netflix
Reviewed by: glebius
Tested by: glebius
DeltaFile
+1-1sys/dev/bnxt/bnxt_en/if_bnxt.c
+1-11 files

FreeBSD/src 074ff87sys/net iflib.c

iflib: handle transient errors from isc_txd_encap()

Until we introduced support for nic ktls offload, all error returns
from isc_txd_encap() indicated a permanent failure. Iflib remapped all
those failures to ENOMEM, which was treated by the tcp stack as a
permanent error and passed back to the caller. This was done to avoid
creating "infinite loops" where a packet couldn't be mapped for
transmit, and kept being sent over and over.

Now that we have support for nic ktls offload, some ktls offload
drivers may return ENOBUFS from their encap function to indicate that,
for example, the ktls context may not yet be fully initialized.  This
needs to be treated as a transient error so that the TCP stack may
re-try at a later time. To achieve this, pass the raw error back to
the caller when the encap routine returns an error aside from EFBIG.

Note that I audited all in-tree iflib drivers. Only ice and ixl ran
return anything other than 0 from their encap, which is EFBIG. both of
which are still treated as they were before.

    [8 lines not shown]
DeltaFile
+5-2sys/net/iflib.c
+5-21 files

NetBSD/pkgsrc nQJLglwdoc pkg-vulnerabilities

   pkg-vulnerabilities: use nvd.nist.gov URLs consistently
VersionDeltaFile
1.769+2-2doc/pkg-vulnerabilities
+2-21 files

LLVM/project 999c87fllvm/include/llvm/IR InstrTypes.h, llvm/lib/Transforms/InstCombine InstCombineCalls.cpp InstructionCombining.cpp

Revert "Reapply "[InstCombine] Merge consecutive assumes" (#205177) (#205324)"

This reverts commit e9aec194f1e034f7b548240bd76b623d80bac034.
DeltaFile
+14-22llvm/test/Transforms/InstCombine/assume.ll
+3-19llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-6llvm/include/llvm/IR/InstrTypes.h
+2-1llvm/test/Transforms/PhaseOrdering/AArch64/std-find.ll
+2-1llvm/test/Transforms/InstCombine/assume-loop-align.ll
+1-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+22-506 files

NetBSD/src U0CkyPNtests/usr.bin/netpgpverify t_netpgpverify.sh

   netpgpverify(1): Mark DSA test broken on sparc64.

   PR bin/59823: netpgpverify broken for PGP since switch to gcc 14.3
VersionDeltaFile
1.8+6-1tests/usr.bin/netpgpverify/t_netpgpverify.sh
+6-11 files

LLVM/project 9928eabclang/lib/CIR/CodeGen CIRGenAtomic.cpp CIRGenCall.cpp, clang/test/CIR/CodeGen atomic-libcall.c

[CIR] Atomic load and store via library call (#202671)

This patch adds support for atomic load/store operations that go through
calls to the `__atomic_load` and `__atomic_store` library functions.
This could happen when the size of the atomic type is too large or is
not a power of 2.

Assisted-by: Codex / gpt-5.5 xhigh
DeltaFile
+220-5clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+139-0clang/test/CIR/CodeGen/atomic-libcall.c
+12-0clang/lib/CIR/CodeGen/CIRGenCall.cpp
+5-0clang/lib/CIR/CodeGen/CIRGenTypes.h
+376-54 files

LLVM/project 0914d20libc/include CMakeLists.txt, libc/include/llvm-libc-types loff_t.h CMakeLists.txt

[libc] Add loff_t type (#204641)

Added loff_t type definition. This is a Linux extension required for
large file offsets.

* llvm-libc-types/loff_t.h: Include linux/loff_t.h on Linux.
* llvm-libc-types/linux/loff_t.h: Added Linux definition using
__kernel_loff_t.
* llvm-libc-types/CMakeLists.txt: Include linux subdirectory and add
dependency for loff_t.
* llvm-libc-types/linux/CMakeLists.txt: Registered loff_t.
* sys/types.yaml: Added loff_t to sys/types.
* libc/include/CMakeLists.txt: Added dependency to sys_types target.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+21-0libc/include/llvm-libc-types/linux/loff_t.h
+21-0libc/include/llvm-libc-types/loff_t.h
+8-0libc/include/llvm-libc-types/CMakeLists.txt
+5-0libc/include/llvm-libc-types/linux/CMakeLists.txt
+1-0libc/include/CMakeLists.txt
+1-0libc/include/sys/types.yaml
+57-06 files

NetBSD/src ovagzR7tests/usr.bin/c++ t_call_once.sh t_cxxruntime.sh

   tests/usr.bin/c++: Mark various profile and pic profile tests xfail.

   PR toolchain/59710: various pic profile tests are failing and/or broken
VersionDeltaFile
1.10+18-1tests/usr.bin/c++/t_call_once.sh
1.10+12-1tests/usr.bin/c++/t_cxxruntime.sh
1.10+7-1tests/usr.bin/c++/t_hello.sh
1.9+6-1tests/usr.bin/c++/t_pthread_once.sh
1.10+6-1tests/usr.bin/c++/t_call_once2.sh
1.13+6-1tests/usr.bin/c++/t_static_destructor.sh
+55-66 files

NetBSD/src oscHLXxtests/usr.bin/c++ t_call_once.sh t_call_once2.sh

   tests/usr.bin/c++: Mark xfails for alpha pie business.

   PR port-alpha/60356: pie tests are failing on alpha
VersionDeltaFile
1.9+6-1tests/usr.bin/c++/t_call_once.sh
1.9+6-1tests/usr.bin/c++/t_call_once2.sh
+12-22 files

LLVM/project 5274b7fclang/lib/Analysis/LifetimeSafety FactsGenerator.cpp, clang/test/Sema/LifetimeSafety safety.cpp

[LifetimeSafety] Model pointer-to-data-member access in the fact generator (#204612)

VisitBinaryOperator had no case for `obj.*pm` (BO_PtrMemD) /
`objptr->*pm` (BO_PtrMemI), so a borrow of the accessed member
(`&(obj.*pm)`) dropped the object's loan to an empty origin and a
use-after-scope was missed. Flow the object operand's origin into the
result, mirroring a member access: for `.*` the object is the LHS, for
`->*` it is the LHS pointer's pointee.

Assisted-by: Claude Opus 4.8

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+60-0clang/test/Sema/LifetimeSafety/safety.cpp
+21-0clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+81-02 files

FreeNAS/freenas 22dedd8src/middlewared/middlewared/etc_files/local/ssh sshd_config.mako config.py, src/middlewared/middlewared/plugins ssh.py

NAS-141449 / 27.0.0-BETA.1 / Convert SSH plugin to typesafe pattern (#19163)

## Context
Migrates the `ssh` plugin from the legacy dict-based
`SystemServiceService` to the typesafe pattern, matching the `ups`/`ftp`
shape.

## Solution
Split the single `ssh.py` into a package: a lean `SSHService` (`generic
= True`) in `__init__.py` delegating to `SSHServicePart` in `config.py`,
with the host-key helpers moved to plain functions in `keys.py`.
`config`/`update` now return the `SSHEntry` Pydantic model in-process,
so every internal consumer was updated: the `sshd_config` mako and the
SSH `config.py` renderer `.model_dump()` the model at the top, and the
in-process callers (`keychain`, `failover` nftables, the `service_`
start/reload hooks, and the plugin's own `setup()`) were switched from
string `middleware.call('ssh.…')` to typed `call2`/`call_sync2`. The
only remaining string call is `etc.py`'s dynamic `CtxMethod` dispatch,
which has no static method handle. Registered the service in `main.py`
and added the package to the mypy workflow.
DeltaFile
+0-186src/middlewared/middlewared/plugins/ssh.py
+83-0src/middlewared/middlewared/plugins/ssh/__init__.py
+80-0src/middlewared/middlewared/plugins/ssh/keys.py
+66-0src/middlewared/middlewared/plugins/ssh/config.py
+19-22src/middlewared/middlewared/etc_files/local/ssh/sshd_config.mako
+9-15src/middlewared/middlewared/etc_files/local/ssh/config.py
+257-2236 files not shown
+273-23312 files

NetBSD/src PFq9lQWdistrib/atari/floppies/common Makefile.images

   Re-enable -m68020-60 to compile the floppies - with the gcc currently
   in tree this makes binaries shrink a tiny bit so the floppies
   fit again.
VersionDeltaFile
1.16+2-3distrib/atari/floppies/common/Makefile.images
+2-31 files

OpenBSD/ports ugd5Oeudevel/sccache distinfo Makefile

   devel/sccache: update to 0.16.0
VersionDeltaFile
1.17+2-2devel/sccache/distinfo
1.22+1-1devel/sccache/Makefile
+3-32 files

LLVM/project 08097dbclang/test/CIR/CodeGenCUDA rdc-linkage.cu

fix tests: (undef -> poison)
DeltaFile
+2-2clang/test/CIR/CodeGenCUDA/rdc-linkage.cu
+2-21 files

LLVM/project 46411a4clang/lib/Analysis/LifetimeSafety LiveOrigins.cpp FactsGenerator.cpp, clang/test/Sema/LifetimeSafety invalidations.cpp

make liveness more precise
DeltaFile
+23-6clang/test/Sema/LifetimeSafety/invalidations.cpp
+14-3clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+6-0clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+43-93 files

FreeBSD/src ed4f5e5sys/dev/hwpmc hwpmc_ibs.h

hwpmc_ibs: Add more IBS register definitions

Small change to add additional IBS register definitions for the new pmc
tools.  Most of the definitions are for Zen 4 and above where we get
detailed information regarding the source of a completed memory
operation.

Reviewed by:    mhorne
Sponsored by:   Netflix
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2292
DeltaFile
+33-1sys/dev/hwpmc/hwpmc_ibs.h
+33-11 files

FreeBSD/src cf469absys/dev/hwpmc hwpmc_amd.c

hwpmc_amd: Avoid using PMCs if in use by firmware

Some firmwares use the PMCs to monitor OS performance.  We can't be
certain that the BIOS would detect any change to the counters if we
reprogram them.  In cases where the firmware is using the PMCs to
control power management this could have dangerous side effects or
unexpected performance effects.

During initialization, detect if any of the counters are enabled and
fail if so.

Reported by:    Sandipan Das
Reviewed by:    mhorne
MFC after:      1 week
Sponsored by:   Netflix
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2277
DeltaFile
+77-33sys/dev/hwpmc/hwpmc_amd.c
+77-331 files

FreeNAS/freenas 68e904dsrc/middlewared/middlewared/etc_files pam_keyring.py

Fix
DeltaFile
+2-3src/middlewared/middlewared/etc_files/pam_keyring.py
+2-31 files

LLVM/project 7591910libc/src/__support/OSUtil/linux/syscall_wrappers ioctl.h CMakeLists.txt, libc/src/sys/ioctl/linux ioctl.cpp

Recommit "[libc] Introduce the ioctl syscall wrapper and port all callers (#204640)" (#205317)

This patch reapplies #204640 (reverted in #205277), due to (-Werror)
build failure with gcc. Gcc warned about passing an uninitialized
structure through a `const void *` argument. This isn't a problem
because the ioctls in question write to that argument. The
fix/workaround is to provide a `void *` overload.

The original commit message was:

This patch adds an ioctl syscall wrapper in linux_syscalls namespace and
migrates all direct SYS_ioctl calls to use it.

To handle the polymorphic nature of ioctl arguments (where some commands
expect pointers, some expect scalar integers like queue_selector, and
some expect no argument at all), I use a helper struct IoctlArg with
implicit constructors. This avoids template bloat and overload
ambiguities (particularly around literal 0) while keeping call sites
clean.

Assisted by Gemini.
DeltaFile
+52-0libc/src/__support/OSUtil/linux/syscall_wrappers/ioctl.h
+7-14libc/src/termios/linux/CMakeLists.txt
+6-9libc/src/sys/ioctl/linux/ioctl.cpp
+5-8libc/src/unistd/linux/isatty.cpp
+13-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+5-7libc/src/termios/linux/tcsetattr.cpp
+88-388 files not shown
+117-7614 files

FreeBSD/ports d176216cad/abc distinfo Makefile

cad/abc: Update g20260605 => g20260618

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+3-3cad/abc/distinfo
+2-2cad/abc/Makefile
+5-52 files

LLVM/project a053571llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 copyable-phi-scheduled-non-copyable.ll

[SLP]Fix dominance crash for scheduled copyable PHI-operand bundles

Extend the copyable/non-copyable PHI conflict bail-out in
tryScheduleBundle to the scheduled path, not just the non-schedulable
one.

Fixes #205327

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/205372
DeltaFile
+47-0llvm/test/Transforms/SLPVectorizer/X86/copyable-phi-scheduled-non-copyable.ll
+21-12llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+68-122 files

LLVM/project 650a059clang/test/CIR/CodeGenOpenACC private-clause-pointer-array-recipes-CtorDtor.cpp combined.cpp

[CIR] Add cir.builtin_int_cast operation to replace uses of builtin.unrealized_conversion_cast (#201592)

This patch adds a new operation builtin_int_cast to handle casting
between CIR integer types and builtin integer types. This will replace
the current use of the builtin.unrealized_conversion_cast since this
operation is only intended to be used temporarily when doing
transformations.

Assisted-by: Cursor/Claude Opus 4.8 High
DeltaFile
+108-108clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-CtorDtor.cpp
+91-91clang/test/CIR/CodeGenOpenACC/combined.cpp
+79-79clang/test/CIR/CodeGenOpenACC/combined-copy.c
+79-79clang/test/CIR/CodeGenOpenACC/compute-copy.c
+69-69clang/test/CIR/CodeGenOpenACC/parallel.c
+66-66clang/test/CIR/CodeGenOpenACC/private-clause-pointer-array-recipes-NoOps.cpp
+492-49268 files not shown
+2,430-2,13974 files

FreeBSD/ports c94779egames/libretro-shaders-slang pkg-plist distinfo

games/libretro-shaders-slang: Update g20260507 => g20260621

Commitlog:
https://github.com/libretro/slang-shaders/compare/cef2de61...cb8e534

PR:             296227
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+14-5games/libretro-shaders-slang/pkg-plist
+3-3games/libretro-shaders-slang/distinfo
+2-2games/libretro-shaders-slang/Makefile
+19-103 files

FreeBSD/src e61edb9sys/cam/ctl scsi_ctl.c

ctl: Use CAM_PRIORITY_NORMAL for queued CCBs

Previously this was using CAM_PRIORITY_NONE which tripped over the
assertion added in b4b166b8c46b8.

PR:             293076
Reported by:    Ken J. Thomson <thomsonk at yandex.com>
Reviewed by:    imp
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D56995

(cherry picked from commit 887841731be60a958e471b9fd79261169b67b7ad)
DeltaFile
+5-3sys/cam/ctl/scsi_ctl.c
+5-31 files