LLVM/project 48f50e8llvm/lib/CodeGen MachineCopyPropagation.cpp

[MCP] Early exit if no copies (NFC) (#201602)

These two functions do expensive per-regunit work, but are no-ops if
there are no Copies, so short-circuit this case.
DeltaFile
+10-0llvm/lib/CodeGen/MachineCopyPropagation.cpp
+10-01 files

LLVM/project 1e87cdfutils/bazel/llvm-project-overlay/compiler-rt BUILD.bazel

Include AArch64 SME builtins to compiler-rt for Bazel. (#196607)

Include the AArch64 SME (Scalable Matrix Extension) source files in the
compiler-rt builtins library when targeting aarch64. Added a selection
based on OS platform to use either Apple or Non-Apple sources.
DeltaFile
+9-0utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+9-01 files

LLVM/project a314c10utils/bazel/llvm-project-overlay/libc BUILD.bazel

[bazel][NFC] Run buildifier on libc/BUILD.bazel (#201616)

Out of order deps
DeltaFile
+1-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-11 files

FreeBSD/ports 76caff1devel/cppcheck distinfo Makefile, devel/cppcheck/files patch-CMakeLists.txt

devel/cppcheck: update 2.20.1 → 2.21.0
DeltaFile
+3-3devel/cppcheck/distinfo
+2-2devel/cppcheck/files/patch-CMakeLists.txt
+1-1devel/cppcheck/Makefile
+6-63 files

FreeNAS/freenas ffecaa0src/middlewared/middlewared/plugins zettarepl.py, src/middlewared/middlewared/plugins/vm lifecycle.py

NAS-141124 / 27.0.0-BETA.1 / Prevent VMs being suspended indefinitely after periodic snapshots (by creatorcary) (#19062)

## Problem

VMs with disks on a dataset covered by a periodic snapshot task could be
left indefinitely in the libvirt `PAUSED` (`SUSPENDED`) state,
recoverable only via `vm.resume` or a host reboot. Two independent bugs
combined to cause this.

## Bug 1: `suspend_on_snapshot` was ignored for running VMs

`vm.suspend_vms` suspended every running VM whose disk was on the
snapshotted dataset, regardless of the per-VM `suspend_on_snapshot`
setting. The opt-out filter in `query_snapshot_begin` (`status NOT IN
active AND suspend_on_snapshot = False`) only ever excluded *stopped*
VMs, so it was a no-op for the running VMs that actually get suspended.

Fix: gate suspension in `suspend_vms` on `RUNNING and
suspend_on_snapshot`. The filter is left in `suspend_vms` rather than

    [25 lines not shown]
DeltaFile
+63-0src/middlewared/middlewared/pytest/unit/plugins/vm/test_suspend_vms.py
+17-4src/middlewared/middlewared/plugins/zettarepl.py
+8-8src/middlewared/middlewared/plugins/vm/lifecycle.py
+88-123 files

LLVM/project 27d0d76llvm/lib/Target/X86 X86InstrSystem.td, llvm/test/MC/Disassembler/X86 ibhf-64.txt

[X86] Add encoding support for indirect branch history fence (#200918)

This patch introduces ISA under BHI_CTRL CPUID.
The following tech paper is published in May, 2025:


[intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/branch-history-injection.html#ibhf](https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/technical-documentation/branch-history-injection.html#ibhf)

As shown in the paper, The encoding is F3 48 0F 1E F8.
It does not need c-intrinsic.

---------

Co-authored-by: mattarde <mattarde at intel.com>
DeltaFile
+7-0llvm/lib/Target/X86/X86InstrSystem.td
+5-0llvm/test/MC/X86/ibhf-64.s
+5-0llvm/test/MC/Disassembler/X86/ibhf-64.txt
+17-03 files

LLVM/project f9a408cclang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp Origins.cpp

[LifetimeSafety] Track per-field origins for record types
DeltaFile
+315-5clang/test/Sema/warn-lifetime-safety.cpp
+68-37clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+91-6clang/lib/Analysis/LifetimeSafety/Origins.cpp
+17-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+4-6clang/test/Sema/warn-lifetime-safety-dangling-field.cpp
+0-1clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+495-556 files

LLVM/project f0887a2clang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h, clang/lib/Analysis/LifetimeSafety Origins.cpp

[LifetimeSafety][NFC] Collect accessed fields in a unified pre-scan
DeltaFile
+22-8clang/lib/Analysis/LifetimeSafety/Origins.cpp
+15-4clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+37-122 files

FreeNAS/freenas c91f064src/freenas/usr/local/libexec disable-rootfs-protection, src/middlewared/middlewared/plugins boot.py

Serialize rootfs read-only/sysext toggles with a shared lock

Remove the ability for concurrent calls to do things with root
filesystem unlocked (either administratively through
disable-rootfs-protection) or internal middleware callers that
do things in /usr to clobber each other.

Protection takes belt-and-suspenders approach of taking pthread
lock, then taking flock.
DeltaFile
+27-0src/middlewared/middlewared/utils/rootfs_protection.py
+17-8src/middlewared/middlewared/plugins/boot.py
+12-7src/freenas/usr/local/libexec/disable-rootfs-protection
+6-2src/middlewared/middlewared/plugins/system_advanced/nvidia.py
+62-174 files

LLVM/project e847e5fclang/include/clang/Analysis/Analyses/LifetimeSafety Origins.h FactsGenerator.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp LiveOrigins.cpp

[LifetimeSafety][NFC] Add field-labeled child edges to OriginNode and generalize subtree walks
DeltaFile
+58-25clang/include/clang/Analysis/Analyses/LifetimeSafety/Origins.h
+26-10clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+21-12clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+16-8clang/lib/Analysis/LifetimeSafety/Facts.cpp
+7-3clang/lib/Analysis/LifetimeSafety/Origins.cpp
+3-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+131-586 files

OpenBSD/ports WUVru2xx11 Makefile

   x11/Makefile: +catclock
VersionDeltaFile
1.801+1-0x11/Makefile
+1-01 files

OpenBSD/ports i1JSQ6yx11/catclock Makefile distinfo, x11/catclock/patches patch-Makefile

   Initial revision
VersionDeltaFile
1.1+31-0x11/catclock/patches/patch-Makefile
1.1+19-0x11/catclock/Makefile
1.1+2-0x11/catclock/pkg/PLIST
1.1+2-0x11/catclock/distinfo
1.1+2-0x11/catclock/pkg/DESCR
1.1.1.1+0-0x11/catclock/distinfo
+56-04 files not shown
+56-010 files

LLVM/project 816e292clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticSemaKinds.td

[Clang] Correct diagnostic notes for C++11 range-based for statements with invalid iterator types (#201461)

Previously, diagnostic notes issued for errors encountered due to invalid
iterator types in C++11 range-based for statements reported the range type
as the iterator type instead of the invalid iterator type.  Now fixed.
DeltaFile
+42-0clang/test/SemaCXX/for-range-dereference.cpp
+6-3clang/lib/Sema/SemaStmt.cpp
+5-1clang/include/clang/Basic/DiagnosticSemaKinds.td
+2-2clang/test/SemaCXX/co_await-range-for.cpp
+3-0clang/docs/ReleaseNotes.rst
+1-1clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp
+59-76 files

LLVM/project 017380dllvm/lib/Target/AArch64 AArch64InstrInfo.td, llvm/lib/Target/AArch64/GISel AArch64RegisterBankInfo.cpp

[AArch64][GlobalISel] Add pattern to prevent scalar uqxtn fallback (#201546)

Previously, attempting to select the intrinsic
@llvm.aarch64.neon.scalar.uqxtn would cause GlobalISel to fall back to
SDAG.
This was both due to:
1. RegBankSelect placing the operands on gpr banks.
2. No instruction selection patterns for the intrinsic.
Add pattern, and fix RegBankSelect to place operands on the correct
banks.
DeltaFile
+8-1llvm/test/CodeGen/AArch64/arm64-arith-saturating.ll
+3-0llvm/lib/Target/AArch64/AArch64InstrInfo.td
+1-0llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
+12-13 files

FreeBSD/ports 40a6620multimedia/plexmediaserver distinfo Makefile

multimedia/plexmediaserver: Update 1.43.1.10611 => 1.43.2.10687

Changelog:
https://forums.plex.tv/t/plex-media-server/30447/706

PR:             295846
Reported by:    Ben Shertenlieb <b.shertenlieb at yahoo.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3multimedia/plexmediaserver/distinfo
+2-2multimedia/plexmediaserver/Makefile
+5-52 files

FreeBSD/ports 841f7f0net/freeradius3 pkg-plist distinfo

net/freeradius3: Update to 3.2.10

PR:             295841
Submitted by:   Marek Zarychta <zarychtam at plan-b.pwste.edu.pl>
DeltaFile
+17-4net/freeradius3/pkg-plist
+3-3net/freeradius3/distinfo
+1-1net/freeradius3/Makefile
+21-83 files

LLVM/project 9f53175llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rvp-simd-64.ll rvp-simd-32.ll

[RISCV][P-ext] Support packed bswap/bitreverse. (#200448)

We can implement these using combinations of rev, rev8, and ppairoe.*.

Rename REV16->REV16_RV64. A hypothetical REV16 on RV32 would have a
different encoding like REV and REV8.

Long term we should probably custom lower these instead of having
complex isel patterns. That would allow additional optimizations. But I
think the isel patterns are fine as a starting point.
DeltaFile
+17-146llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+14-45llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+39-1llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+6-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+76-1934 files

FreeNAS/freenas 36d3b63src/middlewared/middlewared/alert/source smart.py, src/middlewared/middlewared/pytest/unit/alert/source test_smart.py

NAS-141215 / 26.0.0-RC.1 / fix SMART test checks for ATA drives (by yocalebo) (#19063)
DeltaFile
+101-0src/middlewared/middlewared/pytest/unit/alert/source/test_smart.py
+13-1src/middlewared/middlewared/alert/source/smart.py
+114-12 files

FreeNAS/freenas 4b7ada3src/middlewared/middlewared/alert/source smart.py, src/middlewared/middlewared/pytest/unit/alert/source test_smart.py

NAS-141215 / 27.0.0-BETA.1 / fix SMART test checks for ATA drives (#19061)
DeltaFile
+101-0src/middlewared/middlewared/pytest/unit/alert/source/test_smart.py
+13-1src/middlewared/middlewared/alert/source/smart.py
+114-12 files

FreeNAS/freenas 50fb601tests/protocols pynfs_proto.py, tests/sharing_protocols/nfs test_nfs_ha.py nfs_ha_utils.py

NFS HA Tests
DeltaFile
+832-0tests/sharing_protocols/nfs/test_nfs_ha.py
+336-2tests/protocols/pynfs_proto.py
+310-0tests/sharing_protocols/nfs/nfs_ha_utils.py
+28-22tests/sharing_protocols/nfs/conftest.py
+14-16tests/sharing_protocols/nfs/test_nfs_snapdir.py
+7-0tests/sharing_protocols/nfs/test_nfs_change_attr.py
+1,527-406 files

LLVM/project 8858dddclang/include/clang/Basic AttrDocs.td Attr.td

[Clang][Docs] Documented sentinel attribute (#196088)

The documentation of the sentinel attribute was missing, this PR
documents the behavior of the sentinel attribute.
DeltaFile
+64-2clang/include/clang/Basic/AttrDocs.td
+1-1clang/include/clang/Basic/Attr.td
+65-32 files

LLVM/project 6530683clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 neon-intrinsics.c neon-across.c

[CIR] Maximum across vector (IEEE754) (#199779)

Part of https://github.com/llvm/llvm-project/issues/185382

Move the test cases to

[intrinsics.c](https://github.com/llvm/llvmproject/pull/clang/test/CodeGen/AArch64/neon/intrinsics.c)
Removed the test cases from

[neon-intrinsics.c](https://github.com/llvm/llvmproject/pull/clang/test/CodeGen/AArch64/neon/intrinsics.c)

Removed [neon-across.c](clang/test/CodeGen/AArch64/neon-across.c)

---------

Co-authored-by: Andrzej Warzyński <andrzej.warzynski at gmail.com>
DeltaFile
+35-0clang/test/CodeGen/AArch64/neon/intrinsics.c
+0-20clang/test/CodeGen/AArch64/neon-intrinsics.c
+0-18clang/test/CodeGen/AArch64/neon-across.c
+3-0clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+38-384 files

LLVM/project ef86984utils/bazel MODULE.bazel.lock extensions.bzl, utils/bazel/third_party_build zlib-ng.BUILD zstd.BUILD

[Bazel]: Pull from Bazel-Central-Registry for third party deps. (#197316)

The majority of these dependencies are available in the
[Bazel-Central-Registry](https://github.com/bazelbuild/bazel-central-registry)
(BCR) and to improve build performance for bzlmod users, llvm-project
should pull from the BCR to consolidate targets.
DeltaFile
+34-83utils/bazel/MODULE.bazel.lock
+0-105utils/bazel/third_party_build/zlib-ng.BUILD
+16-70utils/bazel/extensions.bzl
+0-44utils/bazel/third_party_build/zstd.BUILD
+0-43utils/bazel/third_party_build/pfm.BUILD
+0-38utils/bazel/third_party_build/nanobind.BUILD
+50-38312 files not shown
+91-55718 files

LLVM/project 1fe66fcllvm/include/llvm/Target/GlobalISel Combine.td, llvm/test/CodeGen/AMDGPU/GlobalISel prelegalizer-combiner-redundant-bitcast.mir

[GlobalISel] Add bitcast chain combine (#200694)
DeltaFile
+8-1llvm/include/llvm/Target/GlobalISel/Combine.td
+3-4llvm/test/CodeGen/AMDGPU/GlobalISel/prelegalizer-combiner-redundant-bitcast.mir
+11-52 files

LLVM/project 9d3f50allvm/test/CodeGen/X86 machine-block-hash.mir

[X86] Fix MachineBlockInfo hash for machine-block-hash.mir (#201039)

I looked at llvm/include/llvm/CodeGen/MachineBlockHashInfo.h,
BlendedBlockHash function and rewrote failing test.

---------

Co-authored-by: mattarde <mattarde at intel.com>
DeltaFile
+16-6llvm/test/CodeGen/X86/machine-block-hash.mir
+16-61 files

NetBSD/pkgsrc-wip f20038atnt-ham tntpatches.tgz

Change Where PLIST puts the docs
DeltaFile
+0-0tnt-ham/tntpatches.tgz
+0-01 files

FreeBSD/src 8bbe1d5. ObsoleteFiles.inc

ObsoleteFiles: Add some ancient locale symlinks

These were dropped in 2021 but were never listed in ObsoleteFiles.inc,
so systems that have been upgraded from source since before that date
(or from 13.x) may still have them.

PR:             295668
MFC after:      1 week
Fixes:          0a36787e4c1f ("locales: separate unicode from other locales")
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D57331

(cherry picked from commit 1cef7e9eb0822c606fc34f975efd14b6daeff756)
DeltaFile
+7-0ObsoleteFiles.inc
+7-01 files

FreeBSD/src 34fc5cclib/libutil login_class.c

login_class: Fix kqueues, pipebuf resource types

* kqueues is a count but is listed as a size

* pipebuf is a size but is listed as a count

PR:             295623
MFC after:      1 week
Fixes:          a4c04958f526 ("libutil: support RLIMIT_PIPEBUF")
Fixes:          85a0ddfd0b26 ("Add a resource limit for the total...")
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D57333

(cherry picked from commit b5dce0ae4f78251f56ffcb6c6a58b9e6c20380e0)
DeltaFile
+2-2lib/libutil/login_class.c
+2-21 files

FreeBSD/src c435622bin/sh miscbltin.c

sh: Fix pipebuf limit

Since the factor is not 1, we need to provide a unit.

MFC after:      1 week
Fixes:          5d92f20c7d31 ("bin/sh: support RLIMIT_PIPEBUF")
Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D57352

(cherry picked from commit dfd2273d27627313f944650840381e878077e825)
DeltaFile
+1-1bin/sh/miscbltin.c
+1-11 files

FreeBSD/src 78381cdlib/libutil login.conf.5

login.conf(5): Add missing resource limits

While here, reorder the table.

PR:             295618
MFC after:      1 week
Reviewed by:    olce
Differential Revision:  https://reviews.freebsd.org/D57258

(cherry picked from commit e9346d1d1383e8c1dced50a3aceb28edd5a4a5e2)
DeltaFile
+6-5lib/libutil/login.conf.5
+6-51 files