LLVM/project ca14e3d — llvm/lib/Transforms/Utils SCCPSolver.cpp, llvm/test/Transforms/FunctionSpecialization invalidate-function-address-use.ll

[SCCP] Only invalidate calls of a function when its return value is reset (#241671)

Fixes #241244.

When FunctionSpecializer resets the lattice of a function's return
value, SCCPInstVisitor::invalidate added every user of the function to
the invalidation list. That includes uses that only pass the function's
address, like `call @g(ptr @k)`. Nothing solves such a call again, so
its result stayed undef and IPSCCP folded it to undef.

Only direct calls of the function whose signature matches depend on its
return value, so invalidate now walks only those. The walk is separate
from the one for ordinary values.
DeltaFile
+46-0llvm/test/Transforms/FunctionSpecialization/invalidate-function-address-use.ll
+12-2llvm/lib/Transforms/Utils/SCCPSolver.cpp
+58-22 files

FreeBSD/ports 8e4023e — security/tailscale Makefile distinfo

security/tailscale: Update to 1.104.7.

- Update USES to imply dependency on go as intended by upstream

MFH:            2026Q4
(cherry picked from commit e331550286bcd1c78834bbfcd0368865a0a87cf4)
DeltaFile
+5-5security/tailscale/distinfo
+2-3security/tailscale/Makefile
+7-82 files

FreeBSD/ports e331550 — security/tailscale Makefile distinfo

security/tailscale: Update to 1.104.7.

- Update USES to imply dependency on go as intended by upstream

MFH:            2026Q4
DeltaFile
+5-5security/tailscale/distinfo
+2-3security/tailscale/Makefile
+7-82 files

FreeBSD/ports a627ebb — www/element-web Makefile distinfo

www/element-web: Update to 1.12.35

Approved by:    maintainer (implicit, version bump, as per PR 258262)
DeltaFile
+181-178www/element-web/pkg-plist
+3-3www/element-web/distinfo
+2-2www/element-web/Makefile
+186-1833 files

FreeBSD/ports c615311 — audio/pt2-clone Makefile distinfo

audio/pt2-clone: Update to 1.94
DeltaFile
+3-3audio/pt2-clone/distinfo
+1-1audio/pt2-clone/Makefile
+4-42 files

FreeBSD/ports 66a633c — games/bucklespring Makefile

games/bucklespring: Mark BROKEN and DEPRECATED
DeltaFile
+4-1games/bucklespring/Makefile
+4-11 files

LLVM/project df6822f — llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVISelLowering.cpp

[RISCV][P-ext] Custom lower v8i8/v4i16 MUL on RV64. NFC (#242390)

Lower RV64 `v8i8`/`v4i16` multiplication through the existing
multiply-parts nodes and `PPAIRE`, extending the lowering used for
`v8i8` multiply-high operations. This replaces the nested machine
instructions in the TableGen patterns.
DeltaFile
+12-8llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1-7llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+13-152 files

FreeBSD/src dabd959 — sys/dev/sound/usb uaudio.c

snd_uaudio: Do not touch mixer_lock when there is no mixer

Using the mixer lock unconditionally panics because the lock is
uninitialized on devices with no audio interfaces, for instance
MIDI-only keyboards.

Fixes:          9a00e0b8ca56 ("snd_uaudio: Do not use snd_mixer->lock as mixer_lock")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D61506
DeltaFile
+7-2sys/dev/sound/usb/uaudio.c
+7-21 files

FreeBSD/src 7940130 — lib/libc/gen Symbol.map timespec_getres.3, lib/libc/tests/gen Makefile timespec_getres_test.c

libc: Export timespec_getres(3) and add tests

timespec_getres() has been declared in <time.h> and built into libc,
but never listed in a symbol map.  It is therefore local to libc.so,
and dynamically linked callers fail to link.

Reviewed by:    ziaee, fuz, des
Approved by:    fuz (mentor)
Fixes:          9b5d724cad10 ("libc: Add timespec_getres(3) as per C23.")
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D60799

(cherry picked from commit 3ac9299ee90cc7a6330c560d8c49d5151185f80e)
DeltaFile
+124-0lib/libc/tests/gen/timespec_getres_test.c
+6-2lib/libc/gen/timespec_getres.3
+1-0lib/libc/tests/gen/Makefile
+1-0lib/libc/gen/Symbol.map
+132-24 files

LLVM/project 3f03766 — llvm/tools/llubi/lib Interpreter.cpp

[llubi][NFC] Extract arithmetic and vector intrinsic helpers (#242610)

This PR factors division/remainder, vector reductions, and trailing-zero
element counting into dedicated helpers to make them reusable for later
VP implementation.

Extracted from #229351.
DeltaFile
+256-282llvm/tools/llubi/lib/Interpreter.cpp
+256-2821 files

FreeBSD/ports ea69f2e — devel/py-oslotest Makefile distinfo, devel/py-oslotest/files patch-pyproject.toml

devel/py-oslotest: Update to 6.2.0

Changelog:

https://github.com/openstack/oslotest/compare/6.1.1...6.2.0
DeltaFile
+13-0devel/py-oslotest/files/patch-pyproject.toml
+3-3devel/py-oslotest/distinfo
+1-1devel/py-oslotest/Makefile
+17-43 files

FreeBSD/ports d26a3c1 — textproc/py-mkdocstrings-python Makefile distinfo

textproc/py-mkdocstrings-python: Update to 2.0.11

Changelog:

https://github.com/mkdocstrings/python/releases/tag/2.0.11
DeltaFile
+3-3textproc/py-mkdocstrings-python/distinfo
+2-2textproc/py-mkdocstrings-python/Makefile
+5-52 files

FreeBSD/ports f080024 — www/py-django-reversion Makefile distinfo

www/py-django-reversion: Update to 6.5.2

Changelog:

https://github.com/etianen/django-reversion/compare/v6.5.1...v6.5.2
DeltaFile
+3-3www/py-django-reversion/distinfo
+1-1www/py-django-reversion/Makefile
+4-42 files

FreeBSD/ports 189d03d — textproc/py-backrefs Makefile distinfo

textproc/py-backrefs: Update to 8.3

Changelog:

https://github.com/facelessuser/backrefs/releases/tag/8.3
DeltaFile
+3-3textproc/py-backrefs/distinfo
+1-1textproc/py-backrefs/Makefile
+4-42 files

FreeBSD/src 96da671 — lib/libc/gen getcap.c getcap.3

libc: Fix stack buffer overflow in cgetnext()

`cgetnext()` copies a capability record's name field into a fixed
1024 byte on-stack buffer (`nbuf[BSIZE]`) one character at a time,
but never checks that the write pointer stays within the buffer.
Therefore, a record name that is longer than `BSIZE` (either on a
single line, or accumulated across several `\`-continued lines as
the pointer is not reset amidst continuation) writes past the end
of `nbuf` and smashes the stack.

The name field is read directly from the capability file, so any
consumer of `cgetnext()`/`cgetfirst()` that processes an untrusted
`termcap(5)`- or `printcap(5)`-style database (e.g. `cap_mkdb(1)`,
`lpr(1)`, or any third-party caller) can be exposed and hence made
to corrupt the stack.

Reviewed by:    fuz, dteske
Approved by:    fuz (mentor), dteske (mentor)
MFC after:      1 week

    [3 lines not shown]
DeltaFile
+18-2lib/libc/gen/getcap.3
+5-0lib/libc/gen/getcap.c
+23-22 files

LLVM/project b4a3155 — mlir/docs/Rationale SideEffectsAndSpeculation.md

[mlir][docs] Add guidance on "non observable" side effect modeling
DeltaFile
+47-2mlir/docs/Rationale/SideEffectsAndSpeculation.md
+47-21 files

OpenBSD/ports RfCGolU — geo/gdal Makefile

   geo/gdal: set DPB_PROPERTIES=parallel

   that's 1500+ c++ files, builds much faster with multiple jobs, and is on
   the way of lots of other monsters.

   ok tb@
VersionDeltaFile
1.180+1-0geo/gdal/Makefile
+1-01 files

OPNSense/core a58787b — src/opnsense/service/templates/OPNsense/Monit monitrc

monit: wants \0x not \x #11051
DeltaFile
+1-1src/opnsense/service/templates/OPNsense/Monit/monitrc
+1-11 files

LLVM/project b68f5d6 — llvm/lib/Remarks BitstreamRemarkParser.cpp, llvm/unittests/Remarks BitstreamRemarksParsingTest.cpp

[Remarks] Return the error when the bitstream parser cannot enter a block

`BitstreamBlockParserHelperBase::enterBlock` tested the `Error` from `BitstreamCursor::EnterSubBlock` as a boolean and never consumed it. A container that ends right after a block header makes `EnterSubBlock` fail, and a build with `LLVM_ENABLE_ABI_BREAKING_CHECKS` then aborts with "Program aborted due to an unhandled Error" instead of reporting a parse error.

`enterBlock` now returns the error from `EnterSubBlock`, as the other bitstream readers do. The new test cuts a container written by the serializer after every 32-bit word and expects each prefix to fail. Without the fix it aborts in a build with ABI-breaking checks.

Assisted-by: Claude Code (Claude Fable 5.2)
DeltaFile
+28-2llvm/unittests/Remarks/BitstreamRemarksParsingTest.cpp
+1-3llvm/lib/Remarks/BitstreamRemarkParser.cpp
+29-52 files

LLVM/project 4c2a4a9 — llvm/test/CodeGen/Mips/GlobalISel/llvm-ir memset_inline.ll memcpy_inline.ll, llvm/test/CodeGen/RISCV/GlobalISel memset-inline.ll memcpy-inline.ll

[GlobalISel] Halve the bit width when lowering memory operations
DeltaFile
+167-564llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/memcpy_inline.ll
+119-282llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/memset_inline.ll
+40-120llvm/test/CodeGen/RISCV/GlobalISel/memcpy-inline.ll
+79-32llvm/test/CodeGen/RISCV/GlobalISel/memset-inline.ll
+4-14llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-memcpy-inline.mir
+4-10llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-memset-inline.mir
+413-1,0223 files not shown
+420-1,0349 files

LLVM/project 80e855e — llvm/test/CodeGen/Mips/GlobalISel/llvm-ir memset_inline.ll memcpy_inline.ll

[Mips][GlobalISel] Add baseline tests for inline memory operations
DeltaFile
+761-0llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/memcpy_inline.ll
+431-0llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/memset_inline.ll
+1,192-02 files

LLVM/project 71ae235 — llvm/test/CodeGen/RISCV/GlobalISel memset-inline.ll memcpy-inline.ll

[RISCV][GlobalISel] Add baseline tests for aligned inline memory operations
DeltaFile
+208-0llvm/test/CodeGen/RISCV/GlobalISel/memcpy-inline.ll
+56-0llvm/test/CodeGen/RISCV/GlobalISel/memset-inline.ll
+264-02 files

LLVM/project 57806b9 — llvm/lib/Transforms/InstCombine InstCombineCompares.cpp, llvm/test/Transforms/InstCombine load-cmp-wide-bitvector.ll

[InstCombine] Fix miscompile in foldCmpLoadFromIndexedGlobal (#242608)

The index check `i & 8` to delay checking for out-of-bounds (for the bit
vector) indices causes miscompiles when a global larger than 64 elements have
interesting elements between e.g. indices 65 and the next time the condition is
checked, which is 73.

The guard was also slightly incorrect according to its documentation: it'd need
to be `i & 7` instead of `i & 8`.

It was also unnecessary: each iteration does constant evaluation and updates a
state machine represented as 6 variables. 5 integer checks at the end of such a
loop does not make it any more slower than it already is, and in the worst case
causes 7 extra constant evaluations and state machine updates before bailing
out.
DeltaFile
+21-0llvm/test/Transforms/InstCombine/load-cmp-wide-bitvector.ll
+3-4llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+24-42 files

LLVM/project 7cf5897 — llvm/lib/Remarks BitstreamRemarkParser.h BitstreamRemarkParser.cpp, llvm/unittests/Remarks BitstreamRemarksParsingTest.cpp

[Remarks] Return the error when the bitstream parser cannot enter a block

`BitstreamBlockParserHelperBase::enterBlock` tested the `Error` from `BitstreamCursor::EnterSubBlock` as a boolean and never consumed it. A container that ends right after a block header makes `EnterSubBlock` fail, and a build with `LLVM_ENABLE_ABI_BREAKING_CHECKS` then aborts with "Program aborted due to an unhandled Error" instead of reporting a parse error.

`parseBlock` now calls `EnterSubBlock` itself and returns its error, as the other bitstream readers do. That leaves `enterBlock` without a job, so it is gone. The new test cuts a container written by the serializer after every 32-bit word and expects each prefix to fail. Without the fix it aborts in a build with ABI-breaking checks.

Assisted-by: Claude Code (Claude Fable 5.2)
DeltaFile
+28-2llvm/unittests/Remarks/BitstreamRemarksParsingTest.cpp
+0-6llvm/lib/Remarks/BitstreamRemarkParser.cpp
+1-3llvm/lib/Remarks/BitstreamRemarkParser.h
+29-113 files

LLVM/project c6148f3 — llvm/lib/Remarks BitstreamRemarkParser.cpp, llvm/unittests/Remarks BitstreamRemarksParsingTest.cpp

[Remarks] Reject remarks of type Unknown in the bitstream parser

The bitstream remark parser only rejected type values above `Type::Last`, so a record with type 0, `Type::Unknown`, parsed as a valid remark. Writing such a remark as YAML reaches `llvm_unreachable("Unknown remark type")` in `YAMLRemarkSerializer.cpp`, which is how `llvm-remarkutil bitstream2yaml` crashes on a container with a zeroed type field. The YAML parser already rejects a remark without a type.

Reject type 0 with the existing "Unknown remark type." error. The new test serializes a remark without a type and expects that error.

Assisted-by: Claude Code (Claude Fable 5.2)
DeltaFile
+18-1llvm/unittests/Remarks/BitstreamRemarksParsingTest.cpp
+3-2llvm/lib/Remarks/BitstreamRemarkParser.cpp
+21-32 files

LLVM/project 5f0ab9f — llvm/lib/Target/LoongArch LoongArchMergeBaseOffset.cpp

Make the LU52I.D case look like others
DeltaFile
+2-2llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+2-21 files

LLVM/project 83915c5 — llvm/lib/IR Verifier.cpp

Verifier: Look up the AMDGPU metadata kinds once (#242573)

visitInstruction looked up two AMDGPU metadata kinds by name for every
instruction. Look up their IDs when constructing the Verifier.

O3 instructions in opt:
consumer-typeset z08.bc -0.34%, kimwitu++ k.bc -0.22%, sqlite3 -0.15%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-3llvm/lib/IR/Verifier.cpp
+10-31 files

LLVM/project 3377a1d — llvm/lib/IR Verifier.cpp

Verifier: Check each metadata attachment of an instruction once (#242574)

visitInstruction looked up about 30 metadata kinds for every
instruction, followed by another getAllMetadata call. Collect the set
once and switch over the kinds.

instructions in opt: consumer-typeset z08.bc -0.94%,
  kimwitu++ k.bc -0.64%, sqlite3 -0.43%, SPASS cnf.bc -0.09%.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+157-166llvm/lib/IR/Verifier.cpp
+157-1661 files

LLVM/project 466ee6f — llvm/lib/Target/AArch64 AArch64TargetMachine.h AArch64TargetMachine.cpp

AArch64: Migrate to LastSubtargetCache in getSubtargetImpl (#242555)

These already reused the last subtarget for functions with the same
function attribute set. Use LastSubtargetCache to additionally filter
to the subtarget relevant attributes and work towards all targets 
using a common pattern.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+29-21llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+17-2llvm/lib/Target/AArch64/AArch64TargetMachine.h
+46-232 files

LLVM/project 8792610 — llvm/lib/Transforms/IPO WholeProgramDevirt.cpp

[WholeProgramDevirt] Do not keep the locally built summary in the pass (#242421)
DeltaFile
+6-5llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+6-51 files