LLVM/project dd7236dllvm/lib/CodeGen MachineModuleSlotTracker.cpp, llvm/lib/IR AsmWriter.cpp

Reland "[IR] Use persistent metadata IDs for printing" (#220390)

This relands 85e903099313aa5ea98d175698aaa40e27a0d743 with fixes for
the buildbot failures that prompted its revert.

Move the MachineModuleSlotTracker debug-location query out of line so
DILocation is complete when SmallPtrSet pointer traits are instantiated
by MSVC.

The legacy DXIL pretty-printer renumbers persistent metadata IDs, which
changes module print state. Make the pass report the modification and
register it as a transformation rather than an analysis.

Repeated pass and debug printing currently rebuilds metadata slot
numbers by scanning the module. On large modules, this repeated setup
can take more time than printing the requested function.

Store a persistent print ID in each metadata node and use that ID
whenever metadata is printed. Before final assembly output, renumber the

    [9 lines not shown]
DeltaFile
+236-178llvm/lib/IR/AsmWriter.cpp
+124-0llvm/unittests/IR/AsmWriterTest.cpp
+62-56llvm/lib/CodeGen/MachineModuleSlotTracker.cpp
+95-17llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
+78-29llvm/unittests/MIR/MachineMetadata.cpp
+94-0llvm/test/Other/print-persistent-metadata-ids.ll
+689-28069 files not shown
+1,244-50975 files

LLVM/project d6aa824openmp/device/include State.h, openmp/device/src Reduction.cpp State.cpp

[offload] Add global addrspace qualifier to KLE and member pointers (#213918)

Claude assisted with this patch.
DeltaFile
+5-5openmp/device/src/State.cpp
+2-1openmp/device/src/Reduction.cpp
+1-1openmp/device/include/State.h
+8-73 files

LLVM/project da07688llvm/lib/Transforms/Scalar Reassociate.cpp, llvm/test/Transforms/Reassociate fma-pairs.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+26-0llvm/test/Transforms/Reassociate/fma-pairs.ll
+5-4llvm/lib/Transforms/Scalar/Reassociate.cpp
+31-42 files

FreeBSD/src c85a253release/tools oci-image-runtime.conf

oci: Install FreeBSD-pam in the runtime image

In 16.0/15.1, the PAM modules were split from FreeBSD-runtime into a
new FreeBSD-pam package.  FreeBSD-runtime does not install FreeBSD-pam,
which means if a user starts from runtime, then installs sshd, sshd will
fail to authenticate users because of missing PAM modules.

Since FreeBSD-pam is relatively small (about 230kB on amd64), and is
already part of FreeBSD-set-minimal, add it to the runtime image as
well.  Users who absolutely don't want this can still build their
own images without it.

MFC after:      1 week
Reviewed by:    dfr
Reported by:    Michael Johnson <ahze at ahze.net>
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59194
DeltaFile
+1-0release/tools/oci-image-runtime.conf
+1-01 files

LLVM/project c5870e8clang/lib/CIR/CodeGen CIRGenRecordLayoutBuilder.cpp, clang/lib/CIR/Dialect/IR CIRTypes.cpp

[CIR][NFC] Add a declared-extent example and restore max_element

The filter needs stateless functors rather than lambdas, since max_element
assigns its iterator and a C++17 lambda has no copy assignment.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+27-14clang/lib/CIR/Dialect/IR/CIRTypes.cpp
+15-5clang/lib/CIR/CodeGen/CIRGenRecordLayoutBuilder.cpp
+42-192 files

LLVM/project 34dc057flang/include/flang/Evaluate tools.h, flang/test/Lower/CUDA cuda-managed-assign.cuf

[flang][cuda] Honor component CUDA attrs in assignment copies (#220398)
DeltaFile
+68-40flang/include/flang/Evaluate/tools.h
+39-0flang/test/Lower/CUDA/cuda-managed-assign.cuf
+107-402 files

LLVM/project b95aa19mlir/lib/Dialect/OpenACC/Transforms ACCRecipeMaterialization.cpp

[mlir][OpenACC][NFC] Avoid per-recipe module walks in ACCRecipeMaterialization (#220420)
DeltaFile
+30-7mlir/lib/Dialect/OpenACC/Transforms/ACCRecipeMaterialization.cpp
+30-71 files

LLVM/project 0725c48llvm/lib/CodeGen/SelectionDAG LegalizeTypes.h LegalizeVectorTypes.cpp, llvm/test/CodeGen/AArch64 default-partial-reduce.ll

[AArch64] Fix widening of half/bfloat partial reductions. (#220261)

Includes testing aimed at letting us use partial reductions as the
default for add/fadd reductions when ordering isn't required.
DeltaFile
+1,150-0llvm/test/CodeGen/AArch64/default-partial-reduce.ll
+13-0llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+1-0llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
+1,164-03 files

OPNSense/core 36bde9dsrc/opnsense/www/js opnsense_ui.js

ui: dialog search field, minor cleanups
DeltaFile
+8-10src/opnsense/www/js/opnsense_ui.js
+8-101 files

LLVM/project b13a22ellvm/lib/Target/AMDGPU AMDGPU.td, llvm/unittests/TargetParser TargetParserTest.cpp

Apply batched suggestions from code review

Co-authored-by: Chinmay Deshpande <chdeshpa at amd.com>
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPU.td
+0-1llvm/unittests/TargetParser/TargetParserTest.cpp
+2-32 files

LLVM/project 36cf06dutils/bazel/llvm-project-overlay/llvm BUILD.bazel

[Bazel] Fixes e4ef6e5 (#220598)

This fixes e4ef6e5ba3c82ec467840774949f38eb7085d7a8 (#220564).

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

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+4-8utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+4-81 files

LLVM/project be3bc93llvm/lib/Target/AMDGPU AMDGPU.td

Update AMDGPU.td
DeltaFile
+1-1llvm/lib/Target/AMDGPU/AMDGPU.td
+1-11 files

FreeBSD/src 8fab8b3tests/sys/netpfil/common rdr.sh

tests/netpfil: xfail ipfnat_local_redirect testcase

PR:             296944
Reviewed by:    cy
MFC after:      3 days
MFC to:         stable/15
Sponsored by:   The FreeBSD Foundation
DeltaFile
+2-0tests/sys/netpfil/common/rdr.sh
+2-01 files

LLVM/project cae8f2bllvm/lib/Target/AMDGPU AMDGPU.td, llvm/unittests/TargetParser TargetParserTest.cpp

AMDGPU: Fix LDS bank count for gfx704 and gfx950

Both inherited a bank count that does not match the hardware: Bonaire
has 16 banks, and gfx950 doubled the count to 64 along with its larger
LDS. The ROCm device metadata has reported these values all along, so
the subtarget and the TargetParser table were the outliers.

Moving the count out of FeatureISAVersion9_4_Common is required because
the emitter rejects a GPU whose feature closure sets a field twice.

Change-Id: I9b6fb9edafbf3f2c5eb834308cc8388604382160
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+4-2llvm/lib/Target/AMDGPU/AMDGPU.td
+4-0llvm/unittests/TargetParser/TargetParserTest.cpp
+8-22 files

LLVM/project 89b21belibc/test/src/stdio fputc_test.cpp

[libc] Stop printing \0 in stdio/fputc_test.cpp (#220544)

This test defines two strings in the form of constant char[] arrays, and
then loops over the characters of each one using a range-for. This
iteration includes the implicit terminating \0, which is printed to the
output channels along with everything else. This is mildly inconvenient
because the presence of a \0 in a log file causes standard tools like
`grep` and `less` to default to treating it as binary.

Now each loop breaks before printing the NUL, so the characters sent to
the output streams are exactly the same as in fputs_test.cpp.

Also, while I was here, I moved the check of fputc's return value into
the loop, so that it's checked on every iteration instead of just the
final one, matching the other loop checking putchar. (Surely this was
intended all along; there was no comment explaining the difference.)
DeltaFile
+5-1libc/test/src/stdio/fputc_test.cpp
+5-11 files

FreeBSD/ports 03159bdwww/freenginx-devel Makefile Makefile.extmod

www/freenginx-devel: third-party modules management

- njs module security update to 1.0.1

Bump PORTREVISION.

Sponsored by:   tipi.work

<ChangeLog>

nginx modules:

*) Security: fixed an access control bypass in js_access when an
   asynchronous request body continuation threw an exception or
   produced an unhandled rejection.  Previously, nginx could continue
   processing the request as though the js_access check had succeeded.
   Thanks to Ta Duc Thien.

*) Security: fixed a worker process crash when reading

    [48 lines not shown]
DeltaFile
+3-3www/freenginx-devel/distinfo
+1-1www/freenginx-devel/Makefile.extmod
+1-0www/freenginx-devel/Makefile
+5-43 files

LLVM/project 3ae01afflang/include/flang/Optimizer/Builder/Runtime Intrinsics.h

[flang][NFC] Remove dead declarations and fix include guard (#219961)
DeltaFile
+3-10flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
+3-101 files

FreeNAS/freenas c9db3easrc/middlewared/middlewared/plugins/interface bond.py

NAS-142731 / 26.0.0-RC.1 / Fix bond transmit hash policy never reaching the kernel (by Qubad786) (#19594)

## Problem
The stored hash policy string was translated into the `truenas_pynetif`
enum by member-name lookup. The stored values are `layer2`, `layer2+3`
and `layer3+4`, while the enum members are `LAYER2`, `LAYER23` and
`LAYER34` — `+` cannot appear in a Python identifier, so two of the
three resolved to `None`, and `getattr`'s default swallowed the miss
with no log or exception. The netlink attribute was then never packed
and the kernel silently kept its default `layer2`, so outbound traffic
could not spread across bond members. Every LACP/LOADBALANCE bond
defaults to `layer2+3`, so this was not limited to people who picked a
policy explicitly. `lacpdu_rate` goes through the identical construct
and only works because `SLOW` and `FAST` happen to be valid identifiers.

## Solution
Map the choice enums to library members explicitly, behind two helpers
that take the stored string and return an enum or `None`. Dict literals
rather than a name lookup, so a rename on the library side becomes a

    [4 lines not shown]
DeltaFile
+9-2src/middlewared/middlewared/plugins/interface/bond.py
+9-21 files

FreeNAS/freenas ad5686asrc/middlewared/middlewared/plugins/interface bond.py

NAS-142731 / 26.0.0 / Fix bond transmit hash policy never reaching the kernel (by Qubad786) (#19593)

## Problem
The stored hash policy string was translated into the `truenas_pynetif`
enum by member-name lookup. The stored values are `layer2`, `layer2+3`
and `layer3+4`, while the enum members are `LAYER2`, `LAYER23` and
`LAYER34` — `+` cannot appear in a Python identifier, so two of the
three resolved to `None`, and `getattr`'s default swallowed the miss
with no log or exception. The netlink attribute was then never packed
and the kernel silently kept its default `layer2`, so outbound traffic
could not spread across bond members. Every LACP/LOADBALANCE bond
defaults to `layer2+3`, so this was not limited to people who picked a
policy explicitly. `lacpdu_rate` goes through the identical construct
and only works because `SLOW` and `FAST` happen to be valid identifiers.

## Solution
Map the choice enums to library members explicitly, behind two helpers
that take the stored string and return an enum or `None`. Dict literals
rather than a name lookup, so a rename on the library side becomes a

    [4 lines not shown]
DeltaFile
+9-2src/middlewared/middlewared/plugins/interface/bond.py
+9-21 files

FreeNAS/freenas 3d22931src/middlewared/middlewared/plugins/interface bond.py

Fix bond transmit hash policy never reaching the kernel

## Problem
The stored hash policy string was translated into the `truenas_pynetif` enum by member-name lookup. The stored values are `layer2`, `layer2+3` and `layer3+4`, while the enum members are `LAYER2`, `LAYER23` and `LAYER34` — `+` cannot appear in a Python identifier, so two of the three resolved to `None`, and `getattr`'s default swallowed the miss with no log or exception. The netlink attribute was then never packed and the kernel silently kept its default `layer2`, so outbound traffic could not spread across bond members. Every LACP/LOADBALANCE bond defaults to `layer2+3`, so this was not limited to people who picked a policy explicitly. `lacpdu_rate` goes through the identical construct and only works because `SLOW` and `FAST` happen to be valid identifiers.

## Solution
Resolve the library member by name through the existing choice enums, whose member names already line up: `XmitHashChoices.LAYER23` carries the value `LAYER2+3` and matches `BondXmitHashPolicy.LAYER23`. An unmappable value now raises rather than quietly becoming `None`.

The call sites catch that and log the offending value instead of letting it propagate, because `configure_bonds_impl` swallows per-bond exceptions — raising here would abandon the bond before its members are enslaved and its MTU is set, turning a degraded network into an absent one on the boot path.

(cherry picked from commit 72ff889f1943261945ada456bc6d27ed1f1416ce)
DeltaFile
+9-2src/middlewared/middlewared/plugins/interface/bond.py
+9-21 files

FreeNAS/freenas 97d1486src/middlewared/middlewared/plugins/interface bond.py

Fix bond transmit hash policy never reaching the kernel

## Problem
The stored hash policy string was translated into the `truenas_pynetif` enum by member-name lookup. The stored values are `layer2`, `layer2+3` and `layer3+4`, while the enum members are `LAYER2`, `LAYER23` and `LAYER34` — `+` cannot appear in a Python identifier, so two of the three resolved to `None`, and `getattr`'s default swallowed the miss with no log or exception. The netlink attribute was then never packed and the kernel silently kept its default `layer2`, so outbound traffic could not spread across bond members. Every LACP/LOADBALANCE bond defaults to `layer2+3`, so this was not limited to people who picked a policy explicitly. `lacpdu_rate` goes through the identical construct and only works because `SLOW` and `FAST` happen to be valid identifiers.

## Solution
Resolve the library member by name through the existing choice enums, whose member names already line up: `XmitHashChoices.LAYER23` carries the value `LAYER2+3` and matches `BondXmitHashPolicy.LAYER23`. An unmappable value now raises rather than quietly becoming `None`.

The call sites catch that and log the offending value instead of letting it propagate, because `configure_bonds_impl` swallows per-bond exceptions — raising here would abandon the bond before its members are enslaved and its MTU is set, turning a degraded network into an absent one on the boot path.

(cherry picked from commit 72ff889f1943261945ada456bc6d27ed1f1416ce)
DeltaFile
+9-2src/middlewared/middlewared/plugins/interface/bond.py
+9-21 files

FreeNAS/freenas c1d7aadsrc/middlewared/middlewared/plugins/interface bond.py

NAS-142731 / 27.0.0-BETA.1 / Fix bond transmit hash policy never reaching the kernel (#19586)

## Problem
The stored hash policy string was translated into the `truenas_pynetif`
enum by member-name lookup. The stored values are `layer2`, `layer2+3`
and `layer3+4`, while the enum members are `LAYER2`, `LAYER23` and
`LAYER34` — `+` cannot appear in a Python identifier, so two of the
three resolved to `None`, and `getattr`'s default swallowed the miss
with no log or exception. The netlink attribute was then never packed
and the kernel silently kept its default `layer2`, so outbound traffic
could not spread across bond members. Every LACP/LOADBALANCE bond
defaults to `layer2+3`, so this was not limited to people who picked a
policy explicitly. `lacpdu_rate` goes through the identical construct
and only works because `SLOW` and `FAST` happen to be valid identifiers.

## Solution
Map the choice enums to library members explicitly, behind two helpers
that take the stored string and return an enum or `None`. Dict literals
rather than a name lookup, so a rename on the library side becomes a
static attribute error at import time instead of another silent `None`.
DeltaFile
+9-2src/middlewared/middlewared/plugins/interface/bond.py
+9-21 files

LLVM/project 4c9fd71clang/include/clang/Basic DiagnosticLexKinds.td DiagnosticSemaKinds.td, clang/lib/Parse ParseDecl.cpp ParseStmt.cpp

[Clang] Use Compat diagnostics for most extension/compatibility warnings (#216693)

This changes the wording of a few diagnostic messages to be more
canonical. Otherwise this should be NFC.
DeltaFile
+80-252clang/include/clang/Basic/DiagnosticParseKinds.td
+22-82clang/include/clang/Basic/DiagnosticSemaKinds.td
+22-66clang/lib/Parse/ParseDeclCXX.cpp
+13-30clang/lib/Parse/ParseStmt.cpp
+12-27clang/lib/Parse/ParseDecl.cpp
+11-25clang/include/clang/Basic/DiagnosticLexKinds.td
+160-48232 files not shown
+278-67238 files

LLVM/project 54d9414lldb/docs/resources lldbgdbremote.md, lldb/source/API SBProcess.cpp

[lldb] Add generic address space support (#214089)

Relevant RFC:
https://discourse.llvm.org/t/rfc-address-spaces-support-in-lldb/91222/

Stacked on #206370 and the
https://github.com/llvm/llvm-project/pull/214088

This PR
- Adds new gdb remote packets - jAddressSpacesInfo, for retreiving the
address spaces from lldb-server.
- supports to enable the feature using the `address-spaces+` in
`qSupported`
- supprot `;address_space:` suffic in memory-read packets. writes are
natural extension.
 -  SB API, and docs.


https://github.com/llvm/llvm-project/pull/217092 contains an end to end
test to validate the address spaces.
DeltaFile
+123-0lldb/test/API/functionalities/gdb_remote_client/TestAddressSpaceMemoryRead.py
+81-0lldb/docs/resources/lldbgdbremote.md
+67-0lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
+55-5lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+56-0lldb/source/API/SBProcess.cpp
+53-1lldb/source/Target/Process.cpp
+435-615 files not shown
+650-1221 files

LLVM/project 78f20e3lldb/docs/resources lldbgdbremote.md, lldb/include/lldb/Utility AcceleratorGDBRemotePackets.h

[lldb-server] Add dynamic loader support to accelerator plugin protocol (#214564)

Context:

https://discourse.llvm.org/t/upstreaming-basic-support-for-accelerators/89827/

This is PR#1 of a PR stack adding dynamic loader support for accelerator
(GPU) targets to lldb:

the next PR is  **#214581**

In this PR we are adding the protocol foundation for the dyld
- Added handling of new GDB Remote packet
`jAcceleratorPluginGetDynamicLoaderLibraryInfo` and testing it with the
Mock Server Plugin
- see the dyld implementation in **#217393**
DeltaFile
+110-0lldb/docs/resources/lldbgdbremote.md
+81-0lldb/unittests/Utility/AcceleratorGDBRemotePacketsTest.cpp
+65-0lldb/include/lldb/Utility/AcceleratorGDBRemotePackets.h
+59-0lldb/source/Utility/AcceleratorGDBRemotePackets.cpp
+55-0lldb/test/API/accelerator/mock/TestMockAcceleratorPackets.py
+33-0lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+403-06 files not shown
+429-012 files

LLVM/project 815a337clang/lib/CIR/Dialect/IR CIRDialect.cpp

fix: separate CIR attribute dispatch from OpenCL verification
DeltaFile
+20-8clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+20-81 files

FreeBSD/src 064d190lib/libarchive/tests Makefile

[tests] libarchive: mark `test_read_filter_lz4_raw_skip` broken

This test has not passed since 185becb1e1bd2657c156f78aeb52edac05ba5fb5
(the libarchive 3.8.9 upgrade).

PR:             273732
MFC after:      1 week
Reviewed by:    siva
Differential Revision:  https://reviews.freebsd.org/D59314
DeltaFile
+6-1lib/libarchive/tests/Makefile
+6-11 files

LLVM/project bba78f7clang/test/Driver amdgpu-offload-arch-subarch-names.c

clang/AMDGPU: Fix test to work with -lgomp (#220331)

Recently added test fails with "error: '-fopenmp-targets' must be used
in conjunction with a '-fopenmp' option compatible with offloading;
e.g., '-fopenmp=libomp' or '-fopenmp=libiomp5'" if it is built with
-lgomp. This adds a default value (libomp) for the -fopenmp flag to
prevent this test failure.

(The test was added as part of
https://github.com/llvm/llvm-project/pull/219963)
DeltaFile
+66-66clang/test/Driver/amdgpu-offload-arch-subarch-names.c
+66-661 files

LLVM/project fc25409mlir/test/Dialect/LLVMIR types-invalid.mlir, mlir/test/Dialect/Linalg hoisting.mlir

[mlir] Remove unnecessary allow-unregistered-dialect flags (#220613)

This is bad practice, instead use unknown operations in the test dialect
when tests only need placeholders.

Use a registered SPIR-V operation for translation diagnostics.

Assisted-by: Codex
DeltaFile
+220-220mlir/test/Dialect/Vector/vector-warp-distribute.mlir
+111-111mlir/test/Transforms/move-operation-deps.mlir
+76-76mlir/test/Dialect/XeGPU/sg-to-lane-distribute-unit.mlir
+66-66mlir/test/Dialect/Linalg/hoisting.mlir
+33-33mlir/test/Dialect/MLProgram/pipeline-globals.mlir
+29-29mlir/test/Dialect/LLVMIR/types-invalid.mlir
+535-53521 files not shown
+599-59727 files

NetBSD/pkgsrc vbMSgzEdoc CHANGES-2026

   Updated devel/atf, devel/py-pyvcd
VersionDeltaFile
1.5773+3-1doc/CHANGES-2026
+3-11 files