FreeBSD/ports a297825 — security/arti Makefile Makefile.crates

security/arti: Update to 2.8.0
DeltaFile
+325-333security/arti/distinfo
+161-165security/arti/Makefile.crates
+2-3security/arti/Makefile
+488-5013 files

LLVM/project 4f65160 — llvm/utils/TableGen/Common CodeGenTarget.cpp

TableGen: Fix advancing past the end of an empty macro fusion list

The MacroFusions list could be empty, so drop_begin went off the
end. This trapped on MSVC debug builds for targets without
fusions. Use adjacent_find to locate the duplicate instead.

Fixes regression from #239102.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-6llvm/utils/TableGen/Common/CodeGenTarget.cpp
+8-61 files

FreeNAS/freenas c4331f7 — src/middlewared/middlewared/test/integration/utils pytest.py, tests ruff.toml

NAS-145089 / 27.1.0 / Ban `pytest.mark.skipif` (by themylogin) (#20149)

Currently, we skip tests based on a variety of conditions that's
difficult to predict. This results in incomplete test suite runs and
issues that can go unnoticed for months.

Let's define `@ha_test`, `@non_ha_test` and `@extended_test` decorators
that will skip tests based on the specific test suite selection that is
well-defined on our CI. Now, if we run extended tests for both HA and
non-HA, we can be sure that no test marked by `skipif` is silently
skipped.

`skipif` usage is banned from now on. If we need to introduce more
conditional tests runs, we must define a decorator and couple if with a
CI option or flag.

Original PR: https://github.com/truenas/middleware/pull/20145

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+17-66tests/sharing_protocols/iscsi/test_261_iscsi_cmd.py
+18-1src/middlewared/middlewared/test/integration/utils/pytest.py
+5-13tests/sharing_protocols/iscsi/test_262_iscsi_alua.py
+3-9tests/api2/test_system_lifetime.py
+4-4tests/directory_services/test_zzz_truenas_ha.py
+8-0tests/ruff.toml
+55-9316 files not shown
+97-15022 files

LLVM/project 58e047e — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination sadd-with-overflow.ll minmax.ll

[ConstraintElim] Split signed min/max across their operands when checking a compare

The existing constraint systems only record the bounds that hold for both
operands of a min/max (smax(a, b) >= a and >= b, smin(a, b) <= a and <= b). The
other direction is a disjunction, which cannot be recorded as a fact. When a
compare of signed decompositions involves a min/max result, split it into its
operands: the decomposition is monotonic in that result, so it is the max or min
of its values on each side, and the relation holds for all or for either side
respectively.

https://alive2.llvm.org/ce/z/zsGkJ-
DeltaFile
+366-3llvm/test/Transforms/ConstraintElimination/minmax.ll
+111-0llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+4-8llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+481-113 files

LLVM/project fe35226 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination add-nsw.ll sadd-with-overflow.ll

[ConstraintElim] A signed sum of operands with opposite signs cannot wrap

If one operand is known non-negative and the other non-positive, the signed
sum is between them, so it cannot overflow.

https://alive2.llvm.org/ce/z/ZF5Yqr
DeltaFile
+97-2llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+19-0llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+3-6llvm/test/Transforms/ConstraintElimination/add-nsw.ll
+119-83 files

LLVM/project 38f0173 — llvm/test/Transforms/ConstraintElimination ssub-with-overflow.ll

add ssub tests
DeltaFile
+100-0llvm/test/Transforms/ConstraintElimination/ssub-with-overflow.ll
+100-01 files

LLVM/project 36f2ae1 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

clang-format
DeltaFile
+1-2llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+1-21 files

LLVM/project 471bc59 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination sadd-with-overflow.ll

[ConstraintElim] Prove sadd/ssub.with.overflow cannot overflow from the exact sum

Decompose the operands and show that the sum lies in the range of the type. This
handles patterns like A + (B - A), as well as sums involving signed min/max
results, which are split across their respective operands using monotonicity
(for example start + smax(end - start - 1, 0) <= end).

https://alive2.llvm.org/ce/z/ze8LCk
DeltaFile
+539-0llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+160-3llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+699-32 files

LLVM/project db62b96 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

adopt PR239379's WithCache<Value*> : public WithCache<const Value*>
DeltaFile
+10-20llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+10-201 files

LLVM/project 397caaf — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

reuse known bits result with WithCache

The overloads feel like a bit of a hack, but we need them because ValueTracking
is much more strict about const than ConstraintElimination, and where we'd want
automatic conversion from WithCache<Value*>& to WithCache<const Value*>& we
can't even do it manually. See: https://github.com/llvm/llvm-project/pull/235158#discussion_r4449759101
DeltaFile
+23-12llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+23-121 files

LLVM/project 707655f — llvm/lib/Transforms/Scalar ConstraintElimination.cpp

don't add redundant facts
DeltaFile
+14-10llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+14-101 files

LLVM/project 0ec1137 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination transfer-samesign-facts.ll

add ConstraintInfo::isKnownNegative for symmetry
DeltaFile
+48-0llvm/test/Transforms/ConstraintElimination/transfer-samesign-facts.ll
+12-1llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+60-12 files

LLVM/project 6e224f5 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination transfer-samesign-facts.ll

[ConstraintElim] Propagate the sign across an icmp samesign

If one operand of `icmp samesign` is known (non-)negative, so is the other. Add
that as a fact in the signed system.

https://alive2.llvm.org/ce/z/xUgGRM
DeltaFile
+92-8llvm/test/Transforms/ConstraintElimination/transfer-samesign-facts.ll
+16-2llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+108-102 files

LLVM/project 7f048e2 — llvm/include/llvm/Analysis WithCache.h

clang-format
DeltaFile
+6-4llvm/include/llvm/Analysis/WithCache.h
+6-41 files

FreeBSD/src 12f90bb — sys/dev/virtio/random virtio_random.c

virtio_random: defer first enqueue until after DRIVER_OK

According to the virtio spec:

> The driver MUST NOT send any buffer available notifications to the
> device before setting DRIVER_OK.

DRIVER_OK isn't set until after attach completes, so defer the first
enqueue.  We haven't found any problems as a result of this to the best
of my knowledge: q35 and other devices that we *have* been used with
will apparently check when we go DRIVER_OK.

Tested with q35 virtio-random, which still works.

Reported by:    llm-postcr
Reviewed by:    kfv, markj
Fixes:  f1c5a2e3a62505 ("virtio_random: Pipeline fetching the data")
Sponsored by:   Stormshield
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D61228
DeltaFile
+16-2sys/dev/virtio/random/virtio_random.c
+16-21 files

LLVM/project e35d05e — llvm/utils/lit/lit InprocBuiltins.py

[lit] Specify endianness in `int.to_byte` (#239388)

Complement to #239364. Adds on other non-default argument to
`int.to_bytes`, which are needed for Python versions <= 3.10.
DeltaFile
+1-1llvm/utils/lit/lit/InprocBuiltins.py
+1-11 files

LLVM/project 8dd8e63 — llvm/test/tools/llvm-diff compare-attributes.ll, llvm/tools/llvm-diff/lib DifferenceEngine.cpp

[llvm-diff] Compare function and call-site attributes (#238928)

Compare the function, return and parameter attributes and the calling
convention of the diffed functions, and of their call sites. Print the
attributes that are on only one side. This resolves the FIXMEs for
attributes and calling conventions.

AI-assisted.
DeltaFile
+97-0llvm/test/tools/llvm-diff/compare-attributes.ll
+53-5llvm/tools/llvm-diff/lib/DifferenceEngine.cpp
+150-52 files

LLVM/project 7d9a3f9 — lldb/include/lldb/Core Module.h, lldb/source/Core Module.cpp

[lldb] Remove ConstString from Module::m_prefix_map_search_dirs (#238990)

Assisted-by: Claude
DeltaFile
+5-6lldb/source/Core/Module.cpp
+2-2lldb/include/lldb/Core/Module.h
+7-82 files

LLVM/project 65166e2 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add signatures for size returning new and GPU profiling (#238642)

__size_returning_new and its variants return __sized_ptr_t, a pointer
and size pair. The GPU profiling functions use the compiler-rt
prototypes.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-6llvm/include/llvm/IR/RuntimeLibcalls.td
+8-61 files

LLVM/project ef2f08c — utils/bazel/llvm-project-overlay/mlir/unittests BUILD.bazel

[bazel] Add MLIR Remark tests to the Bazel overlay (#239340)
DeltaFile
+22-0utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
+22-01 files

NetBSD/pkgsrc-wip dccef2e — inflatelib Makefile, inflatelib/patches patch-test_cpp_WindowTests.cpp patch-test_cpp_InflateTests.cpp

inflatelib: use upstream patch for catch2 issue
DeltaFile
+15-0inflatelib/patches/patch-test_cpp_WindowTests.cpp
+15-0inflatelib/patches/patch-test_cpp_InflateTests.cpp
+15-0inflatelib/patches/patch-test_cpp_HuffmanTreeTests.cpp
+15-0inflatelib/patches/patch-test_cpp_CMakeLists.txt
+15-0inflatelib/patches/patch-test_cpp_BitstreamTests.cpp
+0-9inflatelib/Makefile
+75-91 files not shown
+80-97 files

LLVM/project 03d3d83 — libc/src/__support/OSUtil/linux/syscall_wrappers shmget.h, libc/src/sys/shm shmget.h

[libc][sys/shm] Implement shmget syscall wrapper on Linux. (#239380)

`shmget` is a POSIX function (see
[docs](https://pubs.opengroup.org/onlinepubs/9799919799/functions/shmget.html#))
that returns a shared memory identifier created for a particular key.

On Linux, it can be implemented as a simple wrapper around `SYS_shmget`
syscall.

This is the first function from the newly added `<sys/shm.h>` header,
other functions / constants
will be added in the follow-up PRs.
DeltaFile
+39-0libc/test/src/sys/shm/linux/shmget_test.cpp
+35-0libc/src/__support/OSUtil/linux/syscall_wrappers/shmget.h
+34-0libc/src/sys/shm/linux/shmget.cpp
+27-0libc/src/sys/shm/shmget.h
+16-0libc/test/src/sys/shm/linux/CMakeLists.txt
+15-0libc/src/sys/shm/linux/CMakeLists.txt
+166-010 files not shown
+214-116 files

LLVM/project 2abfa10 — clang/docs ReleaseNotes.md, clang/lib/CodeGen MicrosoftCXXABI.cpp

[clang codegen] Fix MS ABI with deleted template constructor (#237634)

Under the Microsoft ABI, a class with a user-provided constructor cannot
be returned in a register. This check was fixed in 3ab4ae9e58c09 to also
handle template constructors. That fix missed a special case of the
special case: a deleted template constructor does not count as
user-provided.

Fixes #237188
DeltaFile
+7-6clang/lib/CodeGen/MicrosoftCXXABI.cpp
+13-0clang/test/CodeGen/arm64-microsoft-arguments.cpp
+5-0clang/docs/ReleaseNotes.md
+25-63 files

LLVM/project d7c9f3a — llvm/lib/CodeGen/GlobalISel Utils.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel urem.i32.ll combine-urem-pow-2.mir

[GlobalISel] Fold urem x, (shl pow2, y) to a mask (#238879)

Fixes #236466

This PR mirrors SelectionDAG's `OrZero` semantics to allow folding where
`d` is known to be a power of two or zero.

Prior to this, for a shift, `isKnownToBeAPowerOfTwo` only matched `1 <<
y` (which can only lose its bit where `y` is out of range, which is
poison), as shifting any other power of two may produce zero. Thus
`urem_pow2_to_mask` did not fire, and on AMDGPU GlobalISel fell back to
the full ~18 instruction division expansion whereas SelectionDAG
produces `x & (d - 1)`.

This patch adds an `OrZero` flag to `isKnownToBeAPowerOfTwo`, which now
recurses through `G_SHL`, `G_LSHR`, and `G_TRUNC` into the value being
shifted or truncated when said flag is set (or the result is known never
to be zero). The inclusion of `G_TRUNC` in this patch is necessary to
handle the `i64` case where `bypass-slow-division` truncates the

    [7 lines not shown]
DeltaFile
+19-367llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
+188-4llvm/test/CodeGen/AMDGPU/GlobalISel/combine-urem-pow-2.mir
+6-51llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
+34-5llvm/lib/CodeGen/GlobalISel/Utils.cpp
+22-0llvm/unittests/CodeGen/GlobalISel/KnownBitsVectorTest.cpp
+22-0llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
+291-4275 files not shown
+307-45311 files

FreeBSD/src 3c40506 — sbin/ggate/ggated ggated.c, sbin/ggate/ggatel ggatel.c

ggate: fix test intermittency

* ggatel: fix piped output.  Flush stdout before daemonizing, so the
  output can be read when it's in a command pipeline.

* ggated: bind the port _before_ daemonizing, so an invoking script can
  be sure that the port is bound as soon as the command returns.

* tests: allow ggatec or ggatel to automatically allocate a device
  number instead of choosing one in a racy way.

With all of these changes I can no run the tests 1000 times without
fail.  And in parallel, too.

Sponsored by:   ConnectWise
PR:             298942
Reported by:    siva
Reviewed by:    ngie
Differential Revision: https://reviews.freebsd.org/D60707

    [2 lines not shown]
DeltaFile
+17-31tests/sys/geom/class/gate/ggate_test.sh
+13-8sbin/ggate/ggated/ggated.c
+3-1sbin/ggate/ggatel/ggatel.c
+0-3tests/sys/geom/class/gate/Makefile
+33-434 files

FreeBSD/ports d27255a — sysutils/hyfetch pkg-plist pkg-descr, sysutils/neofetch Makefile

sysutils/hyfetch: [NEW PORT] Neofetch-like system info tool with pride flag colors

PR:             300029
MFH:            2026Q4
(cherry picked from commit b3bc4eaf81393763978be511b6b3abbf46739bd8)
DeltaFile
+267-0sysutils/hyfetch/distinfo
+132-0sysutils/hyfetch/Makefile.crates
+29-0sysutils/hyfetch/Makefile
+3-1sysutils/neofetch/Makefile
+4-0sysutils/hyfetch/pkg-plist
+4-0sysutils/hyfetch/pkg-descr
+439-11 files not shown
+440-17 files

FreeBSD/ports b3bc4ea — sysutils/hyfetch pkg-descr pkg-plist, sysutils/neofetch Makefile

sysutils/hyfetch: [NEW PORT] Neofetch-like system info tool with pride flag colors

PR:             300029
MFH:            2026Q4
DeltaFile
+267-0sysutils/hyfetch/distinfo
+132-0sysutils/hyfetch/Makefile.crates
+29-0sysutils/hyfetch/Makefile
+3-1sysutils/neofetch/Makefile
+4-0sysutils/hyfetch/pkg-descr
+4-0sysutils/hyfetch/pkg-plist
+439-11 files not shown
+440-17 files

LLVM/project dbce6eb — llvm/test/CodeGen/ARM fpclamptosat_vec.ll vector-llrint.ll, llvm/test/CodeGen/Thumb2 mve-vecreduce-mlapred.ll mve-clmul.ll

[ARM] Enable SlotIndexes compaction by default (#238515)

Greedy measures live ranges in slot indexes, and the entries left by
instructions erased before allocation make some ranges look longer than
they are. Opt ARM into dropping those entries, as was done for AMDGPU,
so allocation reflects the code actually being allocated.

The test updates are register assignment and spill placement changes.
DeltaFile
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+818-816llvm/test/CodeGen/ARM/vector-lrint.ll
+712-715llvm/test/CodeGen/Thumb2/mve-clmul.ll
+655-655llvm/test/CodeGen/ARM/vector-llrint.ll
+628-629llvm/test/CodeGen/ARM/fpclamptosat_vec.ll
+587-591llvm/test/CodeGen/Thumb2/mve-vecreduce-mlapred.ll
+4,384-4,386143 files not shown
+14,010-14,028149 files

FreeBSD/ports c1f900d — filesystems/py-libzfs Makefile distinfo

filesystems/py-libzfs: 2.0.2

https://github.com/asomers/py-libzfs/releases/tag/v2.0.2

Sponsored by:   ConnectWise
DeltaFile
+3-3filesystems/py-libzfs/distinfo
+1-1filesystems/py-libzfs/Makefile
+4-42 files

Linux/linux d68ce4e — mm gup.c userfaultfd.c

Merge tag 'mm-core-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/core

Pull core memory management fixes from David Hildenbrand:
 "Here's a bigger set of MM fixes that we didn't manage to have ready
  for -rc1. All fixes are stable-worthy; the majority fixes nasty
  long-standing bugs instead of being purely hotfixes.

  We have some more of these kinds of stable-worthy fixes in the
  pipeline, but we'll focus on the really urgent fixes as we get closer
  to the release.

  (Leaving urgent MM fixes lurking for various weeks is not good, but
  having too many changes close to the release is also not good, it's
  tricky ...)

  Most issues were reported by Anthropic. Others were found while
  reworking proposed fixes, and of course some of the fixes were just
  reported and fixed on the mailing list.


    [53 lines not shown]
DeltaFile
+120-53mm/shmem.c
+109-37mm/huge_memory.c
+44-59mm/mremap.c
+42-42mm/filemap.c
+35-40mm/userfaultfd.c
+51-17mm/gup.c
+401-24829 files not shown
+717-39235 files