LLVM/project 9840745 — clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CodeGenCXX module-funcs-from-imports.cppm

[CIR] Skip function bodies imported from other named modules (#239686)

When a function's body comes from another named module, CIRGen now emits
just a declaration instead of hitting an errorNYI. always_inline
template instantiations still get their bodies, since a library may not
provide symbols for them.

Assisted-by: Cursor / Claude Opus 5.5
DeltaFile
+12-1clang/lib/CIR/CodeGen/CIRGenModule.cpp
+8-0clang/test/CodeGenCXX/module-funcs-from-imports.cppm
+20-12 files

LLVM/project 61b685c — llvm/test/CodeGen/Hexagon vect-qfp.mir phi-elim-subreg-lanes.mir, llvm/test/CodeGen/Hexagon/vect qfp-mix.mir vect-qfp-unary.mir

[Hexagon](NFC) Drop `tracksRegLiveness: true` from MIR tests (#240862)

This is on by default and the only MIR option we set in most cases.
DeltaFile
+0-20llvm/test/CodeGen/Hexagon/const-prop-undef.mir
+0-8llvm/test/CodeGen/Hexagon/bit-cmp0.mir
+0-7llvm/test/CodeGen/Hexagon/phi-elim-subreg-lanes.mir
+0-6llvm/test/CodeGen/Hexagon/vect/vect-qfp-unary.mir
+0-6llvm/test/CodeGen/Hexagon/vect-qfp.mir
+0-4llvm/test/CodeGen/Hexagon/vect/qfp-mix.mir
+0-51158 files not shown
+0-228164 files

NetBSD/pkgsrc-wip 0f15f74 — groff-pdfmark distinfo DESCR

textproc/groff-pdfmark
Adding groff-pdfmark package to make available the pdfmark macros and supporting scripts that were removed from the main groff distribution in recent versions.
DeltaFile
+101-0groff-pdfmark/Makefile
+35-0groff-pdfmark/PLIST
+13-0groff-pdfmark/DESCR
+5-0groff-pdfmark/distinfo
+154-04 files

FreeBSD/src c5400dc — lib/libpmc libpmcinternal.h libpmc_pmu_util.c, lib/libpmc/pmu-events/arch/x86 mapfile.csv

libpmc: Strip leading zeros from the cpuid model

Upstream's mapfile.csv lists models without leading zeros, so entries
for models below 10h had to be fixed up by hand on every import.  Strip
them before matching and use the entries as imported.

Add tests to validate the functionality.

Reviewed by:    mhorne, Ali Mashtizadeh <ali at mashtizadeh.com>
Sponsored by:   Advanced Micro Devices, Inc.
MFC after:      1 week
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Differential Revision:  https://reviews.freebsd.org/D60790
DeltaFile
+76-3tests/sys/pmc/pmc_mapfile_test.c
+30-0lib/libpmc/libpmc_pmu_util.c
+4-4lib/libpmc/pmu-events/arch/x86/mapfile.csv
+1-0lib/libpmc/libpmcinternal.h
+111-74 files

LLVM/project b2f7f43 — libcxx/include future, libcxx/include/__algorithm radix_sort.h make_projected.h

Speed up std::invoke() compile times and rename __invoke_result_t to __direct_invoke_result_t (#213403)

This may surface a pre-existing recursive template instantiation compiler bug (#236677) in user code.
DeltaFile
+49-25libcxx/include/__type_traits/invoke.h
+12-0libcxx/include/__functional/invoke.h
+6-5libcxx/include/__functional/bind.h
+5-4libcxx/include/__algorithm/make_projected.h
+4-4libcxx/include/__algorithm/radix_sort.h
+3-3libcxx/include/future
+79-414 files not shown
+86-4510 files

LLVM/project 5265aec — clang/utils/TableGen CIRLoweringEmitter.cpp

[CIR] Emit llvmOpProps setters straight from the dag

Every generated llvmOp body now starts from a `props` local, and the
setters are written while walking the llvmOpProps dag, so the
ForwardedProp struct and its parse helper go away. The emitter checks
only the entry shape; a name that is not an argument of the op fails to
compile in the generated code.

Assisted-by: Claude Code (Claude Opus 5.5).
DeltaFile
+30-59clang/utils/TableGen/CIRLoweringEmitter.cpp
+30-591 files

LLVM/project 78fde25 — clang/lib/Analysis/LifetimeSafety LoanPropagation.cpp, clang/test/Sema/LifetimeSafety safety.cpp

[LifetimeSafety] Start alias chain search at the use instead of the block end (#240655)

Within the use's block, the alias chain search started from the block
end, so it could report an alias path through a flow that only happens
after the use:

```cpp
struct S {
  int *p_;
  void bar();
  void f() {
    int *q;
    {
      int num;
      int *p = &num;
      p_ = p;       // note: 'p' aliases 'num' (after)
      q = p;        // note: 'p' aliases 'num' (before)
    }
    bar();          // reads p_

    [11 lines not shown]
DeltaFile
+20-6clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+23-0clang/test/Sema/LifetimeSafety/safety.cpp
+43-62 files

LLVM/project b63d12d — clang/lib/Analysis/LifetimeSafety LoanPropagation.cpp, clang/test/Sema/LifetimeSafety dangling-global.cpp safety.cpp

[LifetimeSafety] Don't drop the last alias note for chains from a declaration (#240654)

`dropLeadingLoads` removes the casts at the front of an alias chain
because, when the chain starts from an expression such as the copy in
`return v;`, they only load the variable that the warning already points
at. When the chain starts from a declaration instead, those casts come
from the write that stored the loan, so dropping them loses the alias
closest to the use.

```cpp
struct S {
  int *p_;
  void bar();
  void f() {
    {
      int num;
      int *p = &num;
      int *q = p;   // note: 'p' aliases 'num'
      p_ = q;       // note: 'q' aliases 'num' (missing before)

    [16 lines not shown]
DeltaFile
+8-8clang/test/Sema/LifetimeSafety/invalidations.cpp
+9-2clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+9-1clang/test/Sema/LifetimeSafety/safety.cpp
+1-1clang/test/Sema/LifetimeSafety/dangling-global.cpp
+27-124 files

FreeBSD/src a81038c — sys/kern kern_thr.c, sys/sys syscallsubr.h

thr_set_name(2): add kern_ implementation

Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2284
DeltaFile
+10-4sys/kern/kern_thr.c
+1-0sys/sys/syscallsubr.h
+11-42 files

FreeBSD/src 698ba43 — sys/kern kern_sig.c, sys/sys signal.h syscallsubr.h

sig*(2): add kern_ and user_ implementations

Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2284
DeltaFile
+72-20sys/kern/kern_sig.c
+11-0sys/sys/syscallsubr.h
+4-0sys/sys/signal.h
+87-203 files

FreeBSD/src 3d101bb — sys/kern kern_uuid.c, sys/sys syscallsubr.h

uuidgen(2): add user_ implementation

Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2284
DeltaFile
+9-4sys/kern/kern_uuid.c
+2-0sys/sys/syscallsubr.h
+11-42 files

FreeBSD/src 22f93ed — sys/kern kern_time.c, sys/sys syscallsubr.h

kern_time.c: add kern_ and user_ implementations

Expose user_clock_nanosleep globally.

Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2284
DeltaFile
+22-13sys/kern/kern_time.c
+7-0sys/sys/syscallsubr.h
+29-132 files

FreeBSD/src 23abe18 — sys/kern kern_sysctl.c, sys/sys syscallsubr.h

__sysctl(2): add kern_ implementation

The flags argument will be used by compat impelementations.

Effort:         CHERI upstreaming
Sponsored by:   Innovate UK
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2284
DeltaFile
+16-8sys/kern/kern_sysctl.c
+3-0sys/sys/syscallsubr.h
+19-82 files

LLVM/project ef1b18a — llvm/test/CodeGen/AMDGPU lshl-add-u64.ll

global-isel convention

Change-Id: Iba0a3fd7610189678d0cb123214920ec3ec5327d
DeltaFile
+2-2llvm/test/CodeGen/AMDGPU/lshl-add-u64.ll
+2-21 files

LLVM/project a607f5c — llvm/test/Transforms/LoopVectorize vplan-based-stride-mv.ll induction.ll, llvm/test/Transforms/LoopVectorize/PowerPC optimal-epilog-vectorization.ll partial-red.ll

[LoopVectorize] Enable GEP canonicalization in IRBuilder (NFC) (#240856)
DeltaFile
+226-226llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll
+168-168llvm/test/Transforms/LoopVectorize/PowerPC/partial-red.ll
+79-79llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll
+74-74llvm/test/Transforms/LoopVectorize/PowerPC/optimal-epilog-vectorization.ll
+72-72llvm/test/Transforms/LoopVectorize/induction.ll
+72-59llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll
+691-678269 files not shown
+2,697-2,643275 files

LLVM/project c6e274e — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt getgid.h, libc/src/unistd/linux CMakeLists.txt getgid.cpp

[libc] Use a syscall wrapper for getgid (#240782)

This PR move getgid behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+31-0libc/src/__support/OSUtil/linux/syscall_wrappers/getgid.h
+16-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-7libc/src/unistd/linux/getgid.cpp
+12-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-4libc/src/unistd/linux/CMakeLists.txt
+71-125 files

LLVM/project a09821e — libc/src/unistd/linux CMakeLists.txt gethostname.cpp, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc] Use a syscall wrapper for gethostname (#240781)

This PR move gethostname behind the centralized syscall wrappers,
following libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+20-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-7libc/src/unistd/linux/gethostname.cpp
+4-2libc/src/unistd/linux/CMakeLists.txt
+34-93 files

LLVM/project 8d1282f — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt getppid.h, libc/src/unistd/linux CMakeLists.txt getppid.cpp

[libc] Use a syscall wrapper for getppid (#240780)

This PR move getppid behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+31-0libc/src/__support/OSUtil/linux/syscall_wrappers/getppid.h
+16-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-7libc/src/unistd/linux/getppid.cpp
+12-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+4-4libc/src/unistd/linux/CMakeLists.txt
+71-125 files

LLVM/project 9180556 — libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt getuid.h, libc/src/unistd/linux getuid.cpp CMakeLists.txt

[libc] Use a syscall wrapper for getuid (#240779)

This PR move getuid behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
DeltaFile
+31-0libc/src/__support/OSUtil/linux/syscall_wrappers/getuid.h
+16-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-8libc/src/unistd/linux/CMakeLists.txt
+8-7libc/src/unistd/linux/getuid.cpp
+12-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+75-165 files

LLVM/project bdbf461 — llvm/lib/Transforms/InstCombine InstructionCombining.cpp, llvm/test/Transforms/InstCombine getelementptr.ll

[InstCombine] Simplify GEP canonicalization (#240846)

This removes a lot of the custom GEP canonicalization code and instead
reuses the logic from IRBuilder. This should be mostly NFC, though this
does allow us to handle one more edge case (vectors with elements of
overaligned type).

I've left the shouldCanonicalizeGEPToPtrAdd() logic alone for now, as
that would significantly affect the output (by using scaled ptradd).
DeltaFile
+11-65llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+1-1llvm/test/Transforms/InstCombine/getelementptr.ll
+12-662 files

LLVM/project 4143f9d — llvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/test/CodeGen/AArch64 st1-lane.ll

[AArch64] Disable store-insert patterns under BE. (#240374)

The patterns from #190320 were incorrect for BE, make sure they are
disabled when not storing a 64bit element.

Fixes #240293
DeltaFile
+233-0llvm/test/CodeGen/AArch64/st1-lane.ll
+3-1llvm/lib/Target/AArch64/AArch64InstrInfo.td
+236-12 files

LLVM/project e1eeaaa — clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeAnnotations.h, clang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp FactsGenerator.cpp

[LifetimeSafety] Map arguments to an explicit object parameter correctly (#240411)

For a C++23 explicit object member function the object argument binds to
`self`, getParamDecl(0), but getTrackedArgInfo mapped argument I to
getParamDecl(I - 1) as for an implicit object. A lifetimebound parameter
after `self` was ignored, lifetimebound on `self` was attributed to the
next argument, and a by-value `self` of a gsl::Pointer hit an assertion.

Add hasObjectArg, hasImplicitObjectArg and getParamForArg, and use them
wherever call arguments are mapped to parameters.

Assisted-by: Claude Opus 5.5

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+259-0clang/test/Sema/LifetimeSafety/explicit-object-param.cpp
+0-106clang/test/Sema/LifetimeSafety/explicit-object-param-no-crash.cpp
+27-49clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+39-23clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+14-0clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h
+339-1785 files

FreeBSD/ports f6b964b — security/krb5-devel Makefile distinfo

security/krb5-devel: update to the latest MIT/KRB5 github commit

(cherry picked from commit 6f1b113b45ea1b78b5a379b5b33ffd3234750b03)
DeltaFile
+3-3security/krb5-devel/distinfo
+2-2security/krb5-devel/Makefile
+5-52 files

FreeBSD/ports c70ce46 — security/krb5-122 Makefile distinfo, security/krb5-122/files patch-lib_gssapi_spnego_spnego__mech.c patch-lib_gssapi_krb5_import__name.c

security/krb5-122: Update to 1.22.3

This is a bug fix release, with a focus on security issues discovered
with the aid of large language models.  See
https://web.mit.edu/kerberos/advisories/MITKRB5-SA-2026-001.txt for
information on the risks of continuing to use unpatched releases.

* Fix a logic error when checking PAC server checksums
   [CVE-2026-111423].

* Check for unkeyed checksums when validating CAMMAC verifiers
   [CVE-2026-71199].

* Fix a loophole in the KDC's client authdata filtering which could
   allow clients to include fake PAC and CAMMAC authdata values when
   requesting service tickets.  These fake values would be rejected by
   application servers, were it not for the two bugs noted above.

* Check for the lockdown_keys attribute when processing password

    [46 lines not shown]
DeltaFile
+0-43security/krb5-122/files/patch-plugins_preauth_pkinit_pkinit__crypto__openssl.c
+0-12security/krb5-122/files/patch-lib_gssapi_krb5_import__name.c
+0-11security/krb5-122/files/patch-lib_gssapi_spnego_spnego__mech.c
+3-3security/krb5-122/distinfo
+1-2security/krb5-122/Makefile
+4-715 files

LLVM/project 38ccefc — lldb/packages/Python/lldbsuite/test decorators.py, lldb/test/API/commands/platform/connect TestPlatformConnect.py

[lldb][Windows] Update the decorators of aarch64 tests (#240872)

`TestPlatformConnect.py` passes on ARM64 Windows with lldb-server.exe.
Remove the XFAIL.

`TestPythonOSPlugin.py` fails on ARM64 Windows with lldb-server.exe but
not on x64. Add a special XFAIL.

This unblocks the aarch64 Windows LLDB buildbot.
DeltaFile
+4-4lldb/packages/Python/lldbsuite/test/decorators.py
+4-0lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
+2-1lldb/test/API/commands/platform/connect/TestPlatformConnect.py
+10-53 files

NetBSD/pkgsrc-wip ef79d06 — libmatheval PLIST distinfo

libmatheval: remove, used for updating pkgsrc/math/libmatheval
DeltaFile
+0-30libmatheval/Makefile
+0-20libmatheval/log
+0-14libmatheval/buildlink3.mk
+0-9libmatheval/DESCR
+0-6libmatheval/distinfo
+0-5libmatheval/PLIST
+0-842 files not shown
+0-888 files

FreeNAS/freenas 70bbc3c — src/middlewared/middlewared/alembic/versions/28.0 2026-11-10_12-00_tnc_allowed_origins.py, src/middlewared/middlewared/api/v28_0_0 tn_connect.py

Allow configured origins to read /api/versions for TrueNAS Connect

nginx answers CORS on /api/versions only when the system is registered
with TrueNAS Connect, and only for the TNC web app (plus `ng serve` on
dev and staging). A TNC client run against an unregistered system (an
ephemeral TNC stack, local development, CI) cannot read the versions, so
@truenas/api-client falls back to v25.10.0 on systems that serve newer
API versions.

* tn_connect gains `allowed_origins`, set with the private
  tn_connect.update_environment. Each must be an origin exactly as a
  browser sends it: https with a lowercase host name, or http to
  localhost or 127.0.0.1, with an optional port and no path. Unlike the
  endpoints it may change while TNC is enabled. update_environment now
  reloads nginx after a write, since the endpoints and the origins both
  reach its CORS maps.
* /api/versions answers CORS, with Vary: Origin, when the system is
  registered or allowed_origins is not empty. Its map lists the allowed
  origins and falls back to the existing $allow_origin. /_download keeps

    [7 lines not shown]
DeltaFile
+26-0src/middlewared/middlewared/alembic/versions/28.0/2026-11-10_12-00_tnc_allowed_origins.py
+19-3src/middlewared/middlewared/plugins/truenas_connect/config.py
+19-3src/middlewared/middlewared/etc_files/local/nginx/nginx.conf.mako
+8-0src/middlewared/middlewared/plugins/truenas_connect/utils.py
+7-0src/middlewared/middlewared/api/v28_0_0/tn_connect.py
+1-0tests/unit/test_http_service_tnc.py
+80-62 files not shown
+82-68 files

FreeBSD/src fe63435 — sys/net iflib.c

iflib: rate limit deferred tx ring drain

When simple_tx gives up & return ENOBUFS because the tx ring is full,
we were doing a GROUPTASK_ENQUEUE(&txq->ift_task) each time.
On a tx ring that has overflowed and is being hammered on
by a fast UDP sender, this can result in a massive increase in
context switches (I've seen over 30M ctxw/sec due to this, and
the ctxsw codepath taking roughly 50% CPU).

This change removes the GROUPTASK_ENQUEUE() and replaces it
with a call to a callout which drains the tx ring. The callout time is
determined based on the link speed, estimating how long it would take
for a large fraction of of a ring containing full-MTU packets to drain.

This removes the 30M ctxsw / sec in my test case and reduces it
to roughly a doubling of ctxsws.

Reviewed by: kbowling
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D61313
DeltaFile
+54-10sys/net/iflib.c
+54-101 files

LLVM/project b3071e2 — llvm/lib/Target/AMDGPU AMDGPUISelLowering.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU amdgpu-mul24-knownbits.ll

[AMDGPU] Reuse the RHS known bits for self-multiply MUL_U24/MUL_I24 (#238762)

`computeKnownBitsForTargetNode` and `computeKnownBitsForTargetInstr` for
`AMDGPUISD::MUL_U24`/`MUL_I24` (and the `llvm.amdgcn.mul.u24/i24`
intrinsics)
queried the known bits of both operands. For a self-multiply both
operands are
the same value, so query the RHS first and reuse its known bits for the
LHS
  instead of repeating the query.

GlobalISel additionally bailed out as soon as either operand was
unknown. That
loses information: even when every operand bit is unknown, a defined X *
X has
  bit 1 clear (a square is 0 or 1 modulo 4), which
`KnownBits::mul(..., NoUndefSelfMultiply=true)` infers. Those two early
exits
are removed, so GlobalISel now infers this (and everything a known LHS

    [8 lines not shown]
DeltaFile
+198-0llvm/test/CodeGen/AMDGPU/GlobalISel/known-bits-mul24.mir
+119-0llvm/test/CodeGen/AMDGPU/amdgpu-mul24-knownbits.ll
+11-7llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+7-1llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+335-84 files

FreeBSD/ports 6f1b113 — security/krb5-devel Makefile distinfo

security/krb5-devel: update to the latest MIT/KRB5 github commit
DeltaFile
+3-3security/krb5-devel/distinfo
+2-3security/krb5-devel/Makefile
+5-62 files