LLVM/project 7a4d1bd — llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Transforms/ConstantHoisting/RISCV wide-mul-immediates.ll

[RISCV] Make cost of wide constant with MUL user free if can lower to shifts (#248199)

Prevents hoisting of such constants.

AI Usage: Codex assisted review and test generation.
DeltaFile
+80-0llvm/test/Transforms/ConstantHoisting/RISCV/wide-mul-immediates.ll
+6-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+86-02 files

FreeBSD/src 6103a96 — usr.sbin/bhyve pci_emul.c

bhyve: fix bootorder for PCI slots >= 10

Currently, bhyve writes slots as decimals. Firmware such as EDK2
interprets them as hexadecimals, so slot 10 becomes 16, breaking
the configured boot order.

Reviewed by:    markj
Fixes:          6632a0a4e3ab ("bhyve: add helper to create a bootorder")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61997

(cherry picked from commit 653c5d3b5f9f3f157c043c0acdcfc2ba85718016)
DeltaFile
+1-1usr.sbin/bhyve/pci_emul.c
+1-11 files

LLVM/project 9cd8e55 — clang/tools/diagtool FindDiagnosticID.cpp

[diagtool] Parse find-diagnostic-id arguments without cl::opt (#246761)

Parse the find-diagnostic-id command line by hand, like the other
diagtool subcommands, as part of removing cl::opt from clang/. LLVM's
global options (e.g. -debug-only, --version) are no longer accepted.

LLM-aided
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
DeltaFile
+11-16clang/tools/diagtool/FindDiagnosticID.cpp
+11-161 files

LLVM/project 4d54d99 — utils/bazel/llvm-project-overlay/clang BUILD.bazel

[Bazel] Fixes fc9f627 (#248608)

This fixes fc9f62705e03597e42e9b5bf35da2a37fbbdd43d (#244313).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=fc9f62705e03597e42e9b5bf35da2a37fbbdd43d

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+1-01 files

LLVM/project c5861bb — llvm/lib/TargetParser RISCVISAInfo.cpp

[nspr] update
DeltaFile
+2-2llvm/lib/TargetParser/RISCVISAInfo.cpp
+2-21 files

LLVM/project e749f21 — llvm/lib/Target/AMDGPU AMDGPULowerModuleLDSPass.cpp, llvm/test/CodeGen/AMDGPU lower-module-lds-link-time-constant-use.ll amdgpu-sw-lower-lds-object-linking.ll

[AMDGPU] Replace constant uses of LDS variables in the object linking mode

In the object linking mode, `AMDGPULowerModuleLDS` moves an LDS variable into a
struct and replaces the uses of the variable in instructions. A use outside
instructions, for example in the initializer of a table in global memory, kept
the old variable as an LDS definition next to the struct. Code that read the
address from the table then used another location than the instructions, and
`AMDGPUAsmPrinter` stopped at the assertion for LDS definitions.

The LDS lowering for ASan (`AMDGPUSwLowerLDS`) makes such a table for the LDS
slot of each kernel. So in object linking mode, ASan code crashed when a
non-kernel function used LDS.

Since the linker does the allocation in object linking mode, the remaining uses
now get the same field of the struct, after the variables are removed from the
used lists.
DeltaFile
+128-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-object-linking.ll
+55-0llvm/test/CodeGen/AMDGPU/lower-module-lds-link-time-constant-use.ll
+12-2llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
+195-23 files

LLVM/project 9e20251 — mlir/include/mlir/Analysis/Presburger IntegerRelation.h PresburgerRelation.h, mlir/unittests/Analysis/Presburger PresburgerSetTest.cpp

[mlir][Presburger] NFC: Mark set ops nodiscard (#247433)

Mark PresburgerRelation, PresburgerSet, IntegerRelation, and
IntegerPolyhedron methods that return a new set or relation (such as
complement, subtract, intersect, coalesce, and simplify) [[nodiscard]]
so callers do not confuse them with in-place mutators such as
IntegerRelation::simplify. Remove a discarded complement() call in a
unit test.

Assisted-by: gemini-4-carbon
DeltaFile
+21-16mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
+10-8mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
+0-1mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
+31-253 files

FreeBSD/src 9ffe291 — usr.sbin/bsdconfig Makefile, usr.sbin/bsdconfig/share geom.subr

bsdconfig: Resolve GEOM ids and names without scanning

f_device_get_all probes every DEV geom. Each probe calls
f_geom_find_by to turn a provider ref into a struct, and
f_geom_find for the gpt, geli, and nop parent names. Those walks
cover every class and geom, so a machine with a large disk set
spends its time in sh at "Probing devices".

Record each struct by id, and each geom by name, while
f_geom_get_all parses kern.geom.confxml. f_geom_find_by resolves
property id from the id map. f_geom_find resolves a non-empty name
from the name map. The same name can appear in more than one class,
so the name map stores a list of structs. A name that is still not
a shell identifier after rewriting is left for the linear scan.
f_geom_reset drops both maps.

Add an ATF test that times id and name lookups at 100 and 200
disks, and checks names that are not shell identifiers.


    [3 lines not shown]
DeltaFile
+324-0usr.sbin/bsdconfig/tests/geom_subr_test.sh
+316-3usr.sbin/bsdconfig/share/geom.subr
+3-0usr.sbin/bsdconfig/Makefile
+3-0usr.sbin/bsdconfig/tests/Makefile
+646-34 files

LLVM/project 7d27442 — llvm/lib/Target/SPIRV SPIRVLegalizerInfo.cpp SPIRVPrepareFunctions.cpp, llvm/test/CodeGen/SPIRV/GlobalISel fn-ptr-memset.ll

[SPIR-V] Lower constant memsets to global copies before ISel (#247249)

NewPM expensive checks abort when ISel adds an IR global
DeltaFile
+7-74llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+42-8llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
+14-5llvm/test/CodeGen/SPIRV/llvm-intrinsics/memset.ll
+19-0llvm/test/CodeGen/SPIRV/llvm-intrinsics/memset.shader.ll
+0-4llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
+1-1llvm/test/CodeGen/SPIRV/GlobalISel/fn-ptr-memset.ll
+83-926 files

LLVM/project fc9f627 — clang/include/clang/CIR/Dialect/OpenACC CIROpenACCUtils.h CIROpenACCOpsInterfaces.h, clang/lib/CIR/Dialect/OpenACC RegisterOpenACCExtensions.cpp CIROpenACCUtils.cpp

[CIR][OpenACC] Attach acc global variable interfaces (#244313)

Attaches the OpenACC dialect operation interfaces to `cir.get_global`
and `cir.global` which are used for implicit `acc declare`
determination.

Along with it, the OpenACC passes are registered so they can run through
`cir-opt` and a new test folder to hold the IR tests for OpenACC dialect
Transforms.
DeltaFile
+223-0clang/test/CIR/OpenACC/acc-implicit-declare.cir
+66-0clang/lib/CIR/Dialect/OpenACC/CIROpenACCOpsInterfaces.cpp
+51-0clang/lib/CIR/Dialect/OpenACC/CIROpenACCUtils.cpp
+41-0clang/include/clang/CIR/Dialect/OpenACC/CIROpenACCOpsInterfaces.h
+32-0clang/include/clang/CIR/Dialect/OpenACC/CIROpenACCUtils.h
+4-0clang/lib/CIR/Dialect/OpenACC/RegisterOpenACCExtensions.cpp
+417-03 files not shown
+422-09 files

FreeBSD/src e109c8d — usr.sbin/bhyve pci_emul.c

bhyve: fix bootorder for PCI slots >= 10

Currently, bhyve writes slots as decimals. Firmware such as EDK2
interprets them as hexadecimals, so slot 10 becomes 16, breaking
the configured boot order.

Reviewed by:    markj
Fixes:          6632a0a4e3ab ("bhyve: add helper to create a bootorder")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61997

(cherry picked from commit 653c5d3b5f9f3f157c043c0acdcfc2ba85718016)
DeltaFile
+1-1usr.sbin/bhyve/pci_emul.c
+1-11 files

NetBSD/src 7DeQqEX — distrib/sets/lists/base ad.earmv7hf ad.earmv7

   Include the ad.arm entries in ad.earmv7 and ad.earmv7hf

   This will hopefully finally fix the evbarm-earmv7hf build failures.

   Note: I did not copy the obsolete entries, based upon the assumption
   that no earmv7 or earmv7hf systems would have existed when those
   old files were part of the build.  If that is incorrect, by all means,
   add them back (that won't affect the daily autobuilds, or any other
   fully clean build, as those never experience files from a previous generation).
VersionDeltaFile
1.2+32-1distrib/sets/lists/base/ad.earmv7hf
1.2+32-1distrib/sets/lists/base/ad.earmv7
+64-22 files

NetBSD/src F7HfnMh — common/include/rpc xdr.h types.h

   PR/61113: Edmund: Apply Sun's BSD relicensing, like FreeBSD did in 2013:
   "Replace Sun RPC license in TI-RPC library with a 3-clause BSD license,
   with the explicit permission of Sun Microsystems in 2009"
VersionDeltaFile
1.4+27-28common/include/rpc/xdr.h
1.5+27-28common/include/rpc/types.h
+54-562 files

NetBSD/pkgsrc dBRLlZQ — doc pkg-vulnerabilities

   add mercurial HG-SA-2026-001 HG-SA-2026-002 HG-SA-2026-003 HG-SA-2026-004
VersionDeltaFile
1.820+5-1doc/pkg-vulnerabilities
+5-11 files

FreeBSD/ports bb5b3e3 — games/anki Makefile distinfo

games/anki: Update to 26.09.5

Changelog:

https://github.com/ankitects/anki/releases/tag/26.09.5

MFH:            2026Q4
Security:       2ef2b7c4-eee4-11f1-aff8-901b0edee044
(cherry picked from commit 6af6ce75e32588eab2413b4817e305009b0bc2ff)
DeltaFile
+9-9games/anki/distinfo
+2-2games/anki/Makefile
+11-112 files

FreeBSD/ports 6f871d5 — games/anki distinfo Makefile

games/anki: fix build on powerpc64le

Since 92401c33b734 the node modules archive has the architecture in its
name, so the one for powerpc64le is missing from distinfo. It's the same
file as the amd64 one, so add it under its own name.

Approved by:    portmgr (blanket)

(cherry picked from commit d861ab659356b926fd0ef15505b116aa8b048889)
DeltaFile
+4-3games/anki/Makefile
+2-0games/anki/distinfo
+6-32 files

LLVM/project 7ada306 — llvm/include/llvm/Analysis EmitCModelRunner.h, llvm/lib/Analysis MLInlineAdvisor.cpp

[MLGO] Reject EmitC models with mismatched input buffer sizes (#242629)

Since #224598 a tensor can be wider than the compiled field, so writing
a tensor wider than the compiled field corrupted the heap

Report an error and fall back to the default advisor instead, as the AOT
runner does

Requires https://github.com/llvm/llvm-project/pull/242627
DeltaFile
+24-5llvm/include/llvm/Analysis/EmitCModelRunner.h
+18-3llvm/unittests/Analysis/MLModelRunnerTest.cpp
+7-0llvm/test/CodeGen/MLRegAlloc/rel-codepath.ll
+4-2llvm/unittests/Analysis/MLGOUtilsTest.cpp
+2-1llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
+2-1llvm/lib/Analysis/MLInlineAdvisor.cpp
+57-126 files

LLVM/project 39079c9 — llvm/lib/Target/RISCV RISCVSubtarget.cpp, llvm/unittests/TargetParser RISCVISAInfoTest.cpp

[nspr] update
DeltaFile
+2-2llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+0-1llvm/lib/Target/RISCV/RISCVSubtarget.cpp
+2-32 files

FreeBSD/ports 14b0298 — sysutils/egress-monitor distinfo Makefile

sysutils/egress-monitor: Update 0.0.5 => 0.0.6

Changelog: https://github.com/mekanix/egress-monitor/releases/tag/0.0.6

While here, update maintainer address, sort Makefile (pet portclippy).

PR:     301445
DeltaFile
+5-5sysutils/egress-monitor/Makefile
+3-3sysutils/egress-monitor/distinfo
+8-82 files

LLVM/project 1e1744c — mlir/include/mlir/Analysis/Presburger PWMAFunction.h, mlir/lib/Analysis/Presburger PWMAFunction.cpp

[mlir][Presburger] Fix MAF duplicate div merging (#247440)

When MultiAffineFunction::mergeDivs merges duplicate division j in
`other` with division i in `this`, it removes column j from
`other.output`. Before removing column j, it added column i into column
j instead of adding column j into column i, dropping the duplicate
division's output coefficients.

As a result, unionLexMin and unionLexMax compared the wrong expressions
when two pieces shared a division.

Also remove the outdated comment on unionLexMin and unionLexMax stating
that pieces with divisions are unsupported.

Assisted-by: gemini-4-carbon
DeltaFile
+16-0mlir/unittests/Analysis/Presburger/PWMAFunctionTest.cpp
+0-4mlir/include/mlir/Analysis/Presburger/PWMAFunction.h
+1-1mlir/lib/Analysis/Presburger/PWMAFunction.cpp
+17-53 files

FreeBSD/src 7fc5b4e — usr.sbin/sysrc sysrc.8 sysrc, usr.sbin/sysrc/tests sysrc_test.sh

sysrc: Add -u and -U

-U names a user in the jail password database and is passed to
jexec(8). It requires a running jail.

-u names a user in the host password database and is passed to
both jexec(8) and chroot(8).

The two cannot be combined, matching jexec(8).

MFC after:      2 weeks
Reported by:    ngie
Reviewed by:    kfv, ngie (previous revision)
Differential Revision:  https://reviews.freebsd.org/D61930
DeltaFile
+209-0usr.sbin/sysrc/tests/sysrc_test.sh
+54-6usr.sbin/sysrc/sysrc
+37-1usr.sbin/sysrc/sysrc.8
+300-73 files

LLVM/project 110845d — flang/lib/Optimizer/Builder HLFIRTools.cpp, flang/lib/Optimizer/HLFIR/Transforms OptimizedBufferization.cpp SimplifyHLFIRIntrinsics.cpp

[flang] Inline scalar hlfir.transfer

Add a SimplifyHLFIRIntrinsics pattern for TRANSFER with a scalar MOLD
and without SIZE when the storage size of SOURCE is a compile time
constant. Trivial results are loaded from SOURCE storage if it is large
enough and suitably aligned, or copied into a temporary otherwise. Other
results are evaluated with an hlfir.eval_in_mem that copies the bytes of
SOURCE, so that the bytes can be copied directly into the LHS of the
assignment.

For instance, no temporary and no runtime call are needed anymore for:

  integer(8) :: codes(100)
  character(8) :: tags(100)
  do concurrent (j = 1:100)
    tags(j) = transfer(codes(j), tags(j))
  end do

Like the runtime, the bytes of the result that are not covered by SOURCE

    [19 lines not shown]
DeltaFile
+181-0flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
+140-0flang/test/HLFIR/simplify-hlfir-intrinsics-transfer.fir
+92-0flang/test/HLFIR/opt-bufferization-eval_in_mem.fir
+21-0flang/test/HLFIR/eval_in_mem-codegen.fir
+8-2flang/lib/Optimizer/Builder/HLFIRTools.cpp
+5-1flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
+447-32 files not shown
+452-48 files

LLVM/project bc6d064 — flang/lib/Lower ConvertCall.cpp HlfirIntrinsics.cpp, flang/test/Lower polymorphic-temp.f90

[flang] Lower TRANSFER to hlfir.transfer

Use the new hlfir.transfer operation when lowering TRANSFER, including
when its arguments are polymorphic.

Logical actual arguments computed as i1 values are converted to the
logical kind of their Fortran type before the operation is created.

Tests checking the code generated by the intrinsic library for TRANSFER
now check the FIR produced after hlfir.transfer has been lowered.
DeltaFile
+105-0flang/test/Lower/HLFIR/transfer.f90
+53-0flang/lib/Lower/HlfirIntrinsics.cpp
+24-23flang/test/Lower/Intrinsics/transfer.f90
+28-0flang/lib/Lower/ConvertCall.cpp
+1-5flang/test/Lower/polymorphic-temp.f90
+3-3flang/test/Lower/Intrinsics/transfer-rec-tail-pad.f90
+214-311 files not shown
+215-327 files

LLVM/project b2aac89 — clang/include/clang/Basic BuiltinsAMDGPU.td, clang/test/SemaOpenCL builtins-amdgcn-error-gfx12-ids.cl

review feedback
DeltaFile
+1-2clang/include/clang/Basic/BuiltinsAMDGPU.td
+2-1clang/test/SemaOpenCL/builtins-amdgcn-error-gfx12-ids.cl
+1-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+5-54 files

FreeBSD/ports 6a64756 — mail/py-mailsuite distinfo Makefile, mail/py-mailsuite/files patch-setup.py

mail/py-mailsuite: Security Update 1.11.2 => 2.3.7

Changelog:
https://github.com/seanthegeek/mailsuite/blob/2.3.7/CHANGELOG.md

While here, update maintainer address, switch to GitHub, switch to
USE_PYTHON=pep517 and testing via pytest.

PR:             301443
Security:       GHSA-4g5q-xm2p-2gc4
Security:       GHSA-748w-c9w9-79xp
Security:       GHSA-x9xp-chhr-45cg
Security:       GHSA-2x4j-7g3q-wr6f
Security:       GHSA-9jx3-p8wm-g8vw
MFH:            2026Q4
(cherry picked from commit b07c2822e14825bb002e3f5ff729370a4f4378e9)
DeltaFile
+0-78mail/py-mailsuite/files/patch-setup.py
+13-10mail/py-mailsuite/Makefile
+3-3mail/py-mailsuite/distinfo
+16-913 files

FreeBSD/ports 1fdf08c — mail/py-imapclient distinfo Makefile, mail/py-imapclient/files patch-pyproject.toml

mail/py-imapclient: Update 3.0.1 => 4.3.0

Changelogs:
https://github.com/mjs/imapclient/releases/tag/3.1.0
https://github.com/mjs/imapclient/releases/tag/4.0.0
https://github.com/mjs/imapclient/releases/tag/4.0.1
https://github.com/mjs/imapclient/releases/tag/4.1.0
https://github.com/mjs/imapclient/releases/tag/4.2.0
https://github.com/mjs/imapclient/releases/tag/4.3.0

While here, update maintainer address, switch to GitHub, switch to
USE_PYTHON=pep517.

PR:     301433
MFH:    2026Q4
(cherry picked from commit f2437bf743e6aa89fe6c6e6333493cfc525c8d1a)
DeltaFile
+12-7mail/py-imapclient/Makefile
+9-0mail/py-imapclient/files/patch-pyproject.toml
+3-3mail/py-imapclient/distinfo
+24-103 files

LLVM/project 184432e — clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Flang.cpp

[flang][Frontend] Add -fexperimental-openacc-exec (#247270)

The flag enables experimental support for executing OpenACC
constructs. Plain -fopenacc stays as it is, and the constructs that are
not supported yet are still rejected when it is given. The driver passes
the flag to the frontend, and the frontend keeps it in the language
options. It will be used as a language option to relax the current
errors that get emitted for unsupported acc constructs in order to
enable experimental OpenACC execution.

Assisted-by: Claude Sonnet 5.5

---------

Co-authored-by: Tarun Prabhu <tarun at lanl.gov>
DeltaFile
+26-0flang/test/Driver/openacc-experimental-exec.f90
+4-0clang/include/clang/Options/Options.td
+3-0flang/lib/Frontend/CompilerInvocation.cpp
+3-0flang/include/flang/Support/LangOptions.def
+3-0clang/lib/Driver/ToolChains/Flang.cpp
+39-05 files

LLVM/project c42941e — llvm/lib/Target/ARM ARMLatencyMutations.cpp

[ARM] Remove M7/M85 scheduling global. NFCI (#247714)

This removes the InstructionInformation used in M7 and M85 scheduling,
that originally used a global and was attempted to change to a
ManagedStatic recently. Instead of creating an array of Info for each
instruction, the relevant pieces of information are queried on the fly.
The compile time impact, according to my measurements was not
significantly impacted.

Co-authored-by: Alexis Engelke <engelke at in.tum.de>
DeltaFile
+401-464llvm/lib/Target/ARM/ARMLatencyMutations.cpp
+401-4641 files

FreeBSD/src 98ca8c5 — sys/dev/virtio/network if_vtnet.c

vtnet: disable mq by default to work around busdma usage bugs

The busdma tag / locking isn't right for multiqueue usage, so
disable it for now until it's been resolved.

PR: kern/301386

Reviewed by:    cperciva
Differential Revision:  https://reviews.freebsd.org/D62387

(cherry picked from commit a4c9e53a393505c22126f2a929e0087d9a9296f7)
DeltaFile
+1-1sys/dev/virtio/network/if_vtnet.c
+1-11 files

FreeBSD/src a4c9e53 — sys/dev/virtio/network if_vtnet.c

vtnet: disable mq by default to work around busdma usage bugs

The busdma tag / locking isn't right for multiqueue usage, so
disable it for now until it's been resolved.

PR: kern/301386

Reviewed by:    cperciva
Differential Revision:  https://reviews.freebsd.org/D62387
DeltaFile
+1-1sys/dev/virtio/network/if_vtnet.c
+1-11 files