LLVM/project 7544b08llvm/lib/CodeGen/LiveDebugValues InstrRefBasedImpl.h, llvm/test/DebugInfo/MIR/InstrRef expr-operand-count-mismatch.mir

[LiveDebugValues] Do not join debug values whose operand counts disagree (#221929)

Currently, `DbgValueProperties::isJoinable()` decides whether two values
could be joined by comparing their `DIExpressions` only. That was safe
when location-operand count was taken from the expression. In
instruction-referencing `LiveDebugValues`, `NumLocOps` is taken from the
`MachineInstr` (`getNumDebugOperands()`), so two values can share an
expression and still differ in operand count.

Joining pairs location operands by index. When the counts disagreed,
`pickVPHILoc` indexed past the shorter list and hit `assert(Index <
OpCount)` in `DbgValue::getDbgOpID`.

This change makes `isJoinable()` return `false` unless `NumLocOps`
**also agrees**.
DeltaFile
+91-0llvm/test/DebugInfo/MIR/InstrRef/expr-operand-count-mismatch.mir
+18-7llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
+109-72 files

LLVM/project 7ba3ce4mlir/include/mlir/Dialect/Bufferization/IR Bufferization.h BufferizationDialect.h, mlir/lib RegisterAllDialects.cpp

[mlir][Bufferization] Split the dialect declaration (NFC) (#222859)

Introduce a self-contained dialect declaration and use it in four
consumers that do not need the generated operation umbrella.

Across three controlled serial rebuilds of the affected TUs, median
instructions fell from 97.470B to 94.887B (-2.650%) and median wall time
fell from 15.20s to 14.70s (-3.289%). Three -j16 runs confirmed a 2.623%
reduction in instructions, with wall time improving 0.722% on the
parallel critical path.

Assisted-by: Codex
DeltaFile
+16-0mlir/include/mlir/Dialect/Bufferization/IR/BufferizationDialect.h
+1-6mlir/include/mlir/Dialect/Bufferization/IR/Bufferization.h
+1-1mlir/test/lib/Dialect/Bufferization/TestTensorCopyInsertion.cpp
+1-1mlir/lib/RegisterAllDialects.cpp
+1-1mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
+1-1mlir/lib/CAPI/Dialect/Bufferization.cpp
+21-106 files

LLVM/project 94b410ellvm/lib/Target/RISCV RISCVInsertVSETVLI.cpp, llvm/test/CodeGen/RISCV/rvv vsetvli-dead-vl-vtype-liveness.mir

RISCV: Maintain VL/VTYPE liveness when clearing dead flags in InsertVSETVLI

Drop the stale VL/VTYPE ranges when a dead flag is cleared.

RISCVInsertVSETVLI marks the VL and VTYPE defs of an explicit VSETVLI as live by
clearing their dead flags, but did not update LiveIntervals. When a def was
previously a dead def, its live range is a zero-length dead-def segment
ending at the def slot; clearing the flag extends the def past that slot without
extending the range leaving a segment that references no instruction.

Co-authored-by: Claude claude-opus-4.8 <noreply at anthropic.com>
DeltaFile
+33-0llvm/test/CodeGen/RISCV/rvv/vsetvli-dead-vl-vtype-liveness.mir
+10-0llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+43-02 files

LLVM/project 5c0a66dmlir/include/mlir/Dialect/Func/IR FuncOps.h FuncDialect.h, mlir/test/lib/Dialect/GPU TestGpuRewrite.cpp

[mlir][Func] Split the dialect declaration (NFC)

Introduce a self-contained dialect declaration and use it in ten configured
consumers that do not need the generated operation umbrella.

Across three controlled -j16 rebuilds of the affected TUs, median instructions
fell from 224.883B to 220.787B (-1.821%) and median wall time fell from 8.44s
to 8.31s (-1.540%).

Assisted-by: Codex
DeltaFile
+16-0mlir/include/mlir/Dialect/Func/IR/FuncDialect.h
+1-3mlir/include/mlir/Dialect/Func/IR/FuncOps.h
+1-1mlir/unittests/Dialect/Transform/BuildOnlyExtensionTest.cpp
+1-1mlir/unittests/Dialect/OpenACC/OpenACCUtilsTypeTest.cpp
+1-1mlir/unittests/Dialect/Linalg/InferConvolutionDimsTest.cpp
+1-1mlir/test/lib/Dialect/GPU/TestGpuRewrite.cpp
+21-77 files not shown
+28-1413 files

NetBSD/src 55w6bncetc/etc.evbarm Makefile.inc

   fix: don't build armv5 image on earmv5hf
VersionDeltaFile
1.144+2-2etc/etc.evbarm/Makefile.inc
+2-21 files

LLVM/project 68f9d8dmlir/lib/AsmParser AsmParserImpl.h Token.cpp, mlir/test/IR custom-float-attr-roundtrip.mlir parser.mlir

[MLIR][Parser] Fix precision loss when parsing f80 and f128 literals (#220267)

While analyzing this CIR issue
[216422](https://github.com/llvm/llvm-project/issues/216422), I traced
the issue to the MLIR asm parser.

For the following case:
```
%0 = arith.constant 1.0E+309 : f80
```
using `mlir-opt repro.mlir`
we get (infinity):
```
module {
  %cst = arith.constant 0x7FFF8000000000000000 : f80
}
```
instead of
```

    [17 lines not shown]
DeltaFile
+31-0mlir/test/IR/parser.mlir
+10-13mlir/lib/AsmParser/AttributeParser.cpp
+13-8mlir/lib/AsmParser/Parser.cpp
+0-9mlir/lib/AsmParser/Token.cpp
+3-4mlir/lib/AsmParser/AsmParserImpl.h
+5-0mlir/test/IR/custom-float-attr-roundtrip.mlir
+62-344 files not shown
+66-4210 files

FreeNAS/freenas f831a2esrc/middlewared/middlewared/api/v26_0_0 disk.py, src/middlewared/middlewared/plugins/pool_ attach_disk.py

Report SED gate denials consistently and exclude sed in v26

This commit fixes a few problems found while reviewing the SED gates. `sed` is now excluded from the disk update model in v26 as well as v27, because stable/26 serves v26 as its current version and the two have to agree; a `from_previous` hook would not have helped, since the adapter validates a payload against the client's own model before it adapts anything.

The license denial in pool attach now raises before the disk lookup that can throw and discard it, and the global SED password denial accumulates into the same batch as the other advanced settings validators rather than pre-empting them, which needed an optional accumulator on the settings helper. The KMIP tests mock the SED entitlement because they set a global SED password to reach the escrow path.
DeltaFile
+11-2src/middlewared/middlewared/utils/service/settings.py
+6-3src/middlewared/middlewared/plugins/system_advanced/config.py
+4-3src/middlewared/middlewared/utils/license/legacy.py
+4-1tests/api2/test_kmip.py
+4-0src/middlewared/middlewared/plugins/pool_/attach_disk.py
+1-0src/middlewared/middlewared/api/v26_0_0/disk.py
+30-96 files

LLVM/project ade7b91clang-tools-extra/docs/clang-tidy/checks/readability qualified-auto.md

~
DeltaFile
+2-2clang-tools-extra/docs/clang-tidy/checks/readability/qualified-auto.md
+2-21 files

FreeBSD/src a7f51f6usr.sbin/pw pw_group.c

pw: fix error message in grp_set_passwd to use correct fd

MFC After:      1 week

(cherry picked from commit cd575d557bc090cc9fff41b085bd0aee40a42c38)
DeltaFile
+1-1usr.sbin/pw/pw_group.c
+1-11 files

FreeBSD/src 81f8462usr.sbin/pw pw_user.c

pw: simplify group lookup in usermod

MFC After:      1 week

(cherry picked from commit 885b0483fe2e1afc45caaf1294b4b755d1c7abae)
DeltaFile
+1-3usr.sbin/pw/pw_user.c
+1-31 files

FreeBSD/src 8cca719usr.sbin/pw pw_user.c, usr.sbin/pw/tests pw_userdel_test.sh

pw: remove mail file with unlinkat instead of building a path

This is consistent with how at jobs and crontabs are removed.

MFC After:      1 week

(cherry picked from commit 1ccf8075eaa84088ad4acb65aabb1e59c3fddd3f)
DeltaFile
+16-0usr.sbin/pw/tests/pw_userdel_test.sh
+7-4usr.sbin/pw/pw_user.c
+23-42 files

FreeBSD/src c780045usr.sbin/pw pw_user.c, usr.sbin/pw/tests pw_userdel_test.sh

pw: remove crontab with unlinkat instead of spawning crontab

crontab -r only unlinks the crontab file, so spawn it directly with
unlinkat() relative to conf.rootfd.  This also makes the crontab
removal work with pw -R.

MFC After:      1 week

(cherry picked from commit ba391775e8acb7a539c18f1231a396a7d0d763e9)
DeltaFile
+5-21usr.sbin/pw/pw_user.c
+18-0usr.sbin/pw/tests/pw_userdel_test.sh
+23-212 files

FreeBSD/src 4a86c33usr.sbin/pw pw_user.c, usr.sbin/pw/tests pw_userdel_test.sh

pw: fix at job removal when deleting a user

rmat() used stat() with a path relative to the current working
directory, so it never found the job files in /var/at/jobs and the
at(1) jobs of a deleted user were never removed.

ef7d0eb9489f also broke it by introducing a typo: /usr/sbin/atrm instead
of /usr/bin/artm.

Use fstatat() with the directory fd to stat the job files relative to
the at jobs directory, and unlinkat() them directly instead of spawning
atrm.

Those changes allow us to make it works with pw -R.

MFC After:      1 week

(cherry picked from commit 6b6aa45f9a1a35acb7fef68824c1a5eb08503909)
DeltaFile
+29-0usr.sbin/pw/tests/pw_userdel_test.sh
+13-14usr.sbin/pw/pw_user.c
+42-142 files

LLVM/project c1b661fclang/lib/CodeGen/TargetBuiltins ARM.cpp

[clang][SVE][nfc] Remove spurious compare instruction (#222652)

When lowering `sve_svdup_n_bN` SVE builtins, the compare Op is not
required. In fact, that compare Op is removed by subsequent
optimisations, as evident in the tests.

Instead of relying on the middle-end to clean it up, improve the
front-end code-gen by not generating that spurious Op at all.
DeltaFile
+1-3clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+1-31 files

OPNSense/tools c1b59a7build upload.sh download.sh

build: more pkgbase support in other scripts
DeltaFile
+5-1build/rename.sh
+1-1build/upload.sh
+1-1build/download.sh
+7-33 files

LLVM/project 4735d35clang/lib/Sema SemaCUDA.cpp, clang/test/SemaCUDA global-initializers.cu

[CUDA/HIP] Fix errors for device function used in host global initializers (#222338)

The existing checker was simply looking for a call or `CXXConstructExpr`
which would miss a call to device function in case an implicit cast was
in place or if a call was a part of an expression. Use a visitor to
improve the situation.
DeltaFile
+68-2clang/test/SemaCUDA/global-initializers.cu
+45-21clang/lib/Sema/SemaCUDA.cpp
+113-232 files

FreeBSD/src e4922f4usr.sbin/pw pw_user.c

pw: cleanup

No functional change intended.

MFC After:      1 week

(cherry picked from commit 5f5a1657a921c3f7a84ef326c2116d986409e161)
DeltaFile
+21-22usr.sbin/pw/pw_user.c
+21-221 files

FreeBSD/src bd81f04usr.sbin/pw pw.c, usr.sbin/pw/tests Makefile pw_test.sh

pw: check -M, -V and -R input to avoid dereferencing argv[2]

MFC After: 1 week

(cherry picked from commit 2350f75acb0da0271ccff1fb22381f7e8c5948f8)
DeltaFile
+20-0usr.sbin/pw/tests/pw_test.sh
+8-0usr.sbin/pw/pw.c
+2-1usr.sbin/pw/tests/Makefile
+30-13 files

FreeBSD/src 0cb7172usr.sbin/pw pw_utils.c pw_user.c, usr.sbin/pw/tests Makefile pw_useradd_test.sh

pw: use _PWDASH pseudo-fd for "-" in pw_checkfd

pw_checkfd() returned the character "-" (45) for the "-" argument,
which was ambiguous with a real file descriptor.

MFC After:      1 week

(cherry picked from commit 92e8a76b87862aa2ee7e6c3f637034e60ffbc2e6)
DeltaFile
+107-0usr.sbin/pw/tests/pw_unit_test.c
+35-0usr.sbin/pw/tests/pw_useradd_test.sh
+9-1usr.sbin/pw/tests/Makefile
+3-3usr.sbin/pw/pw_user.c
+3-3usr.sbin/pw/pw_group.c
+1-1usr.sbin/pw/pw_utils.c
+158-81 files not shown
+159-87 files

OpenBSD/src oxrbnxfusr.sbin/rpki-client cms.c

   rpki-client: change return 0 to goto out

   This turns cms_parse_validate() into a single exit function and fixes
   a return 0 that should have been return NULL since the last commit.
VersionDeltaFile
1.69+2-2usr.sbin/rpki-client/cms.c
+2-21 files

OPNSense/core fc1b19d. plist, src/etc/rc.syshook.d/carp 20-openvpn

openvpn: remove legacy carp hook

(cherry picked from commit e65b15173d1bb38d19e43644f80214451bb55c12)
(cherry picked from commit a41cc16182e7d7c363e6c04f0972968636f4d927)
DeltaFile
+0-56src/etc/rc.syshook.d/carp/20-openvpn
+0-1plist
+0-572 files

OPNSense/core d078587src/etc/inc interfaces.lib.inc, src/www interfaces.php

Interfaces: split media and mediaopt with tabs instead of spaces as spaces may exist in the actual output.

(cherry picked from commit d740eecdbfe0e39beccd771e704f28f9493e84f1)
DeltaFile
+2-2src/www/interfaces.php
+1-1src/etc/inc/interfaces.lib.inc
+3-32 files

LLVM/project 75ca063llvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp AMDGPUPassRegistry.def, llvm/test/CodeGen/AMDGPU/GlobalISel postlegalizercombiner-mul.mir combine-rsq.mir

[AMDGPU][GIsel][NPM] Port AMDGPUPostLegalizerCombiner to NPM (#216274)

Porting `AMDGPUPostLegalizerCombiner` to work with the New PassManager
to support GISel.

Assisted-by: Codex

---------

Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha at gmail.com>
DeltaFile
+71-28llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
+11-2llvm/lib/Target/AMDGPU/AMDGPU.h
+2-6llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
+2-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+1-0llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-mul.mir
+1-0llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.mir
+88-384 files not shown
+92-3810 files

FreeBSD/src fa7094cshare/man/man5 rc.conf.5

rc.conf.5: Improve NOAUTO configuration + tag SPDX

- Show how to start a NOAUTOed interface
- "configured" is not quite right, try to improve that

MFC after:              3 days
Event:                  EuroBSDcon Devsummit 2026
Reviewed by:            adrian
Discussed with:         Antranig Vartanian <antranigv at freebsd.am>
Differential Revision:  https://reviews.freebsd.org/D59571
DeltaFile
+8-3share/man/man5/rc.conf.5
+8-31 files

FreeBSD/ports e22698bsysutils/firstboot-pkg-upgrade Makefile, sysutils/firstboot-pkg-upgrade/files firstboot_pkg_upgrade.in

sysutils/firstboot_pkg_upgrade: Ignore OSVERSION

Don't just ignore OSVERSION for the 'pkg upgrade' command; we also
need to ignore OSVERSION for the 'pkg update' and also for the 'pkg
bootstrap' (if we somehow don't have pkg installed yet).

Rather than setting it individually for each command, export
IGNORE_OSVERSION=YES into the environment where it will apply to
all of the pkg commands.

Reviewed by:    ziaee
Fixes:  b67d354b6656 ("sysutils/firstboot-pkg-upgrade: Ignore OSVERSION")
Sponsored by:   Amazon
Reported by:    akiyano
Differential Revision:  https://reviews.freebsd.org/D59584
DeltaFile
+2-1sysutils/firstboot-pkg-upgrade/files/firstboot_pkg_upgrade.in
+1-1sysutils/firstboot-pkg-upgrade/Makefile
+3-22 files

LLVM/project e94a0b2clang/include/clang/Options Options.td, flang/test/Driver target-cpu-features.f90

[flang] Add driver support for x86 -m[option] target feature flags (#220159)

Added FlangOption visibility to m_x86_Features_Group so flags such as
-mavx, -mavx2, and -mavx512f are accepted by flang and forwarded as
-target-feature to -fc1 via the shared Clang driver logic.

Also extended target-cpu-features.f90 with grouped driver tests that
cover m_x86_Features_Group options, including representative -mno-*, APX
cases

Assisted by : Cursor (testcase generation)
DeltaFile
+282-0flang/test/Driver/target-cpu-features.f90
+6-3clang/include/clang/Options/Options.td
+288-32 files

HardenedBSD/src a99b45elib/libcasper/libcasper zygote.c libcasper.c, lib/libsys pdfork.2

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+11-0lib/libsys/pdfork.2
+7-1sys/kern/kern_fork.c
+1-1lib/libcasper/libcasper/zygote.c
+1-1lib/libcasper/libcasper/libcasper.c
+2-0sys/dev/ntsync/ntsync.c
+22-35 files

HardenedBSD/src 16b0030lib/libcasper/libcasper zygote.c libcasper.c, lib/libsys pdfork.2

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+11-0lib/libsys/pdfork.2
+7-1sys/kern/kern_fork.c
+1-1lib/libcasper/libcasper/zygote.c
+1-1lib/libcasper/libcasper/libcasper.c
+2-0sys/dev/ntsync/ntsync.c
+22-35 files

HardenedBSD/ports 1ae9687databases/pgterm Makefile.crates distinfo, graphics/tiled Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+2,372-0www/redmine70/pkg-plist
+169-13databases/pgterm/distinfo
+162-0www/redmine70/files/patch-Gemfile
+149-0www/redmine70/Makefile
+81-20graphics/tiled/Makefile
+83-5databases/pgterm/Makefile.crates
+3,016-3878 files not shown
+3,536-17884 files

LLVM/project faa60cforc-rt/lib/bedrock Session.cpp, orc-rt/lib/support Logging.cpp Logging_oslog.cpp

[orc-rt] Wrap C API implementation in `extern "C" {..}` blocks (#222846)

Adopt a consistent style for C API implementation: A banner comment and
an `extern "C" { ... }` block around the definitions.
DeltaFile
+13-11orc-rt/lib/support/Error.cpp
+9-4orc-rt/lib/bedrock/Session.cpp
+8-3orc-rt/lib/support/Logging_printf.cpp
+7-2orc-rt/lib/support/Logging_oslog.cpp
+6-0orc-rt/lib/support/Logging.cpp
+43-205 files