LLVM/project 38146e8flang/lib/Optimizer/Transforms/CUDA CUFAddConstructor.cpp, flang/test/Fir/CUDA cuda-constructor-2.f90

[flang][cuda] Only register module variables defined in the current translation unit (#213720)

CUFAddConstructor registered every CUF module variable mirrored in the
GPU module, including variables brought in with USE from another
translation unit. Without relocatable device code each translation unit
has its own device module, so registering a declaration binds the host
address to a module that does not contain the symbol, and a later
cudaGetSymbolAddress fails with cudaErrorInvalidSymbol or
cudaErrorSymbolNotFound. Under unified memory the same declaration is
registered as host memory, overriding the defining unit's device
registration.

Skip globals that have no initializer and no body. Non-allocatable
managed globals still register, since they go through a companion
pointer local to the translation unit.
DeltaFile
+40-0flang/test/Fir/CUDA/cuda-constructor-2.f90
+18-0flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+58-02 files

LLVM/project 275c9efllvm/tools/llvm-gpu-loader llvm-gpu-loader.cpp

[Offload] Add `--kernel <name>` command to `llvm-gpu-loader` (#213738)

Summary:
This makes it easier to test a single function without opting-in to the
whole `crt1.o` infra for `libc` that was originally intended to test
existing CPU tests. Good for possible future unit tests, cheap tool that
can launch a kernel. Only provides `foo(void)` kernels for now, can be
improved.
DeltaFile
+22-9llvm/tools/llvm-gpu-loader/llvm-gpu-loader.cpp
+22-91 files

LLVM/project 1d3ea0fllvm/include/llvm/ADT Hashing.h

[ADT] Fix - gcc warning: buf may be used uninitialized [-Werror=maybe-uninitialized] (#213578)

When compiled with `gcc`, the uninitialized `buf` triggers a warning.
Since some external projects (e.g., `TPP-MLIR`) treat warnings as
errors, the build fails. This patch initializes `buf` to eliminate the
warning and prevent those build failures
DeltaFile
+1-1llvm/include/llvm/ADT/Hashing.h
+1-11 files

DragonFlyBSD/src f48dc6ainitrd mkinitrd.sh

initrd/mkinitrd.sh: Force strip the binaries to fix size exceeding

A user may set DEBUG_FLAGS in /etc/make.conf to retain debug symbols
during the installation phase, so the copied /rescue tools containing
the debug symbols would exceed the allowed maximum initrd image (current
15MB) and then break the installworld phase.

This issue was introduced by my commit 9d10863cc2df1e9077eb6405dd8572c243ba94d7
that removed the hardcoded 'strip' invocation from crunchgen(1)-
generated makefiles.

Now we force strip the binaries after copying them to the initrd build
directory.

Reported-by: swildner
Discussed-with: swildner
DeltaFile
+18-6initrd/mkinitrd.sh
+18-61 files

DragonFlyBSD/src cb392f0initrd/oinit Makefile oinit.c

initrd/oinit: Implement login_tty() to avoid depending on libutil

Copy the login_tty() from libutil and thus remove the dependency on
libutil.  However, this doesn't reduce the final binary size...

Meanwhile, remove unnecessary header inclusions.
DeltaFile
+18-14initrd/oinit/oinit.c
+0-7initrd/oinit/Makefile
+18-212 files

DragonFlyBSD/src fe73fd3. Makefile_upgrade.inc, initrd Makefile

initrd: Exclude 'oinit' from rescue tools

oinit is a stripped-down init(8), so it's only useful on an initrd
image.  Move it from ${RESCUE_SUBDIRS} to ${INITRD_SUBDIRS} and remove
the existing /rescue/oinit.  Adjust the makefiles to simplify the
installation logic.
DeltaFile
+3-4initrd/Makefile
+5-0initrd/oinit/Makefile
+5-0initrd/etc/Makefile
+1-0Makefile_upgrade.inc
+14-44 files

DragonFlyBSD/src 4cb09ffinitrd mkinitrd.sh

initrd/mkinitrd.sh: Actually use check_initrd() and small changes

* The check_initrd() was not used. Now use it before making the image.
* Simplify the awk command to be bc(1) to round up the image size.
* Shell syntax and style cleanups.
DeltaFile
+17-26initrd/mkinitrd.sh
+17-261 files

HardenedBSD/src bf9965elib/libc/gen fts.c uexterr_format.c, sys/kern subr_exterr.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+1,355-0lib/libc/gen/fts-compat15.c
+169-0sys/kern/subr_exterr.c
+97-0lib/libc/gen/fts-compat15.h
+78-6lib/libc/gen/uexterr_format.c
+38-11lib/libc/gen/fts.c
+36-11sys/netgraph/ng_ipfw.c
+1,773-2815 files not shown
+1,981-5721 files

HardenedBSD/src b43e98clib/libc/gen fts.c uexterr_format.c, sys/kern subr_exterr.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,355-0lib/libc/gen/fts-compat15.c
+169-0sys/kern/subr_exterr.c
+97-0lib/libc/gen/fts-compat15.h
+78-6lib/libc/gen/uexterr_format.c
+38-11lib/libc/gen/fts.c
+36-11sys/netgraph/ng_ipfw.c
+1,773-2815 files not shown
+1,981-5721 files

HardenedBSD/src cfca4e2bin/sh input.h eval.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+70-72bin/sh/input.c
+2-2bin/sh/parser.c
+1-1bin/sh/input.h
+1-1bin/sh/eval.c
+74-764 files

LLVM/project 3cdc913llvm/utils/gn/secondary/lldb/source/Utility BUILD.gn

[gn build] Port f84bacf82a15 (#213804)
DeltaFile
+1-0llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn
+1-01 files

LLVM/project d667528llvm/utils/gn/secondary/llvm/lib/Transforms/Utils BUILD.gn

[gn build] Port 2354dce21ab1 (#213803)
DeltaFile
+2-0llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
+2-01 files

FreeBSD/src 5ab48fbsys/fs/nfs nfs_commonkrpc.c

nfs_commonkrpc.c: Fix recovery that was broken by 4d80d4913e79

Commit 4d80d4913e79 added a check for nfsess_defunct already
being set.  This was incorrect because, once set, nfsess_defunct
remains set and an additional recovery might be needed.

This patch reverts this part of 4d80d4913e79.

PR:     297252
Suggested by:   olivier
MFC after:      3 days
Fixes:  4d80d4913e79 ("nfs: Fix argument typo to avoid a crash")
DeltaFile
+9-3sys/fs/nfs/nfs_commonkrpc.c
+9-31 files

LLVM/project f67bc3bllvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG/AMDGPU convergent-jump-threading.ll

[SimplifyCFG] Do not thread branches into uncontrolled convergent regions

SimplifyCFG's foldCondBranchOnValueKnownInPredecessor can thread an edge past
a block that acts as a reconvergence point. If the threaded destination reaches
an uncontrolled convergent operation before returning to the threaded-through
block, the transform can change which dynamic instance of the convergent
operation is executed.

Add a conservative destination scan for this fold and skip the threading
candidate when it can reach an uncontrolled convergent call before returning
to the original block. Controlled convergent operations using convergence
control tokens are left alone.

Fixes ROCM-26496.
DeltaFile
+78-6llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+52-3llvm/test/Transforms/SimplifyCFG/AMDGPU/convergent-jump-threading.ll
+130-92 files

LLVM/project cd0c60ellvm/test/Transforms/SimplifyCFG/AMDGPU convergent-jump-threading.ll

[NFC] Pre-commit a test case for a SimplifyCFG issue
DeltaFile
+94-0llvm/test/Transforms/SimplifyCFG/AMDGPU/convergent-jump-threading.ll
+94-01 files

LLVM/project b010a18mlir/docs/Rationale SideEffectsAndSpeculation.md, mlir/include/mlir/Interfaces SideEffectInterfaceBase.td

[mlir][ODS] Allow parameters on side-effect resources (#213792)

Assisted-by: OpenAI Codex

---------

Co-authored-by: jeffniu-openai <jeffniu at openai.com>
DeltaFile
+13-9mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+15-0mlir/test/mlir-tblgen/op-side-effects.td
+7-1mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
+7-0mlir/test/lib/Dialect/Test/TestOps.td
+6-0mlir/test/IR/test-side-effects.mlir
+4-0mlir/docs/Rationale/SideEffectsAndSpeculation.md
+52-103 files not shown
+61-109 files

NetBSD/pkgsrc SgsvcZbdoc CHANGES-2026

   Updated textproc/p5-PPIx-QuoteLike to 0.024
VersionDeltaFile
1.4953+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 14jzFystextproc/p5-PPIx-QuoteLike Makefile distinfo

   Update to 0.024

   Upstream changes:
   0.024           2026-06-13      T. R. Wyant
       Remove references to the RT bug tracking system.
       Replace wyant at cpan.org with harryfmudd at comcast.net.
       Repackage licenses so that GitHub can find them (maybe).
       Thanks to Mikko Koivunalho (specifically his blog post
       https://blogs.perl.org/users/mikko_koivunalho/2025/11/github-and-the-perl-license.html
       for the how-to.
       Add SECURITY policy.
       No functional changes.
VersionDeltaFile
1.14+4-4textproc/p5-PPIx-QuoteLike/distinfo
1.22+2-3textproc/p5-PPIx-QuoteLike/Makefile
+6-72 files

NetBSD/pkgsrc 4WPoMmNdoc CHANGES-2026

   Updated textproc/p5-Encode-IMAPUTF7 to 1.07
VersionDeltaFile
1.4952+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc mqpPSSbtextproc/p5-Encode-IMAPUTF7 Makefile distinfo

   Update to 1.07

   Upstream changes:
   1.07      2025-05-25 21:55:49-04:00 America/New_York
           - mostly just packaging updates, documentation fixing
           - bump minimum perl to v5.12 (ca. 2010)
   1.06      Fri May  9 12:23:00 2025
           - Fix tests to work under perl v5.40
VersionDeltaFile
1.2+4-4textproc/p5-Encode-IMAPUTF7/distinfo
1.7+2-3textproc/p5-Encode-IMAPUTF7/Makefile
+6-72 files

NetBSD/pkgsrc EQyDydywww/drupal11 Makefile

   Fix build by adding more files to REPLACE_PHP and REPLACE_BASH

   Thanks to wiz@
VersionDeltaFile
1.11+8-4www/drupal11/Makefile
+8-41 files

LLVM/project a7e25e4llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmax.ll buffer-fat-pointer-atomicrmw-fadd.ll

Merge commit '2a302f87f0f1' into add-data-motion-map-type-bit
DeltaFile
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,299-3,240llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,594-2,524llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
+20,441-20,4141,228 files not shown
+116,705-76,0231,234 files

LLVM/project f7b7ec8llvm/docs AlignedBundling.rst, llvm/lib/MC MCELFStreamer.cpp MCAssembler.cpp

[MC][X86] Reintroduce aligned instruction bundling (#175830)

Aligned bundling partitions instructions into fixed-size, naturally
aligned groups called bundles and guarantees that no instruction
crosses a bundle boundary, giving the instruction stream a single
canonical decoding. It is a building block for software-based fault
isolation: control flow cannot jump into the middle of an instruction
to manufacture a different, unchecked sequence, and when combined with
masking of indirect branch targets it constrains control flow to a
statically verifiable set of locations.

The previous target-independent implementation was removed in #148781,
which simplified MC by eliminating per-fragment BundlePadding, the
virtual emitInstToData, and BundleGroupBeforeFirstInst. This change
reimplements the feature in the X86 backend on top of the existing
MCBoundaryAlignFragment infrastructure added for branch alignment,
keeping the generic MC surface smaller:

* AsmParser parses .bundle_align_mode, .bundle_lock and .bundle_unlock

    [36 lines not shown]
DeltaFile
+208-22llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+165-0llvm/test/MC/X86/AlignedBundling/prefix-padding.s
+151-0llvm/test/MC/X86/AlignedBundling/bundle-errors.s
+106-0llvm/docs/AlignedBundling.rst
+63-31llvm/lib/MC/MCAssembler.cpp
+92-0llvm/lib/MC/MCELFStreamer.cpp
+785-5321 files not shown
+1,418-6027 files

LLVM/project c25617cmlir/docs/Rationale SideEffectsAndSpeculation.md, mlir/include/mlir/Interfaces SideEffectInterfaceBase.td

[mlir][ODS] Simplify effect-parameter documentation and tests

Assisted-by: OpenAI Codex
DeltaFile
+5-26mlir/test/mlir-tblgen/op-side-effects.td
+3-16mlir/docs/Rationale/SideEffectsAndSpeculation.md
+2-2mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
+1-1mlir/include/mlir/TableGen/SideEffects.h
+11-454 files

OpenBSD/src JHWjqibregress/usr.bin/ssh pubkey-priority.sh

   Fix expected output for implicit ordering test.  ok djm@
VersionDeltaFile
1.2+3-3regress/usr.bin/ssh/pubkey-priority.sh
+3-31 files

LLVM/project 2a302f8llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmax.ll buffer-fat-pointer-atomicrmw-fadd.ll

Merge remote-tracking branch 'upstream/main' into propagate-map-type-modifiers-to-mappers

# Conflicts:
#       offload/test/mapping/mapper_map_mbr_ptee_then_present_mbr_ptee.c
#       offload/test/mapping/mapper_map_mbr_then_present_mbr_ptee.c
#       offload/test/mapping/mapper_map_present_ptee.c
DeltaFile
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,299-3,240llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,594-2,524llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmax.ll
+20,441-20,4141,228 files not shown
+116,705-76,0231,234 files

LLVM/project a805dd6llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[Flang][OpenMP][OpenMPIRBuilder] Implement module scope declare target use rewrite mechanism (#212920)

During lowering of declare target'd variables we generate new global
variables for device that replace the use of the pre-existing global
variable. In Flang we currently rewrite this for each target region, but
that's not enough to cover indirect use cases inside of declare target
functions which can be imported into the module and utilised inside of a
target region. This PR tries to extend the scope of the rewriting to the
module than a per target region rewrite.

It does so by creating a mechanism where we can register globals for
replacement which will trigger on finalization of the OMPIRBuilder. This
is required as due to the ordering of lowering for MLIR, where we
generate the replacement global at the beginning of the module before
any uses have been generated, effectively meaning we cannot replace the
uses at that point. So, we defer the replacement to the OMPIRBuilder as
there is no deferral mechanism directly in the OpenMP MLIR lowering.

The alternative might be to rebind the global maps in ModuleTranslation

    [7 lines not shown]
DeltaFile
+270-0mlir/test/Target/LLVMIR/omptarget-declare-target-module-rewrite-device.mlir
+103-0llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+14-74mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+37-0llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+36-0llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+460-745 files

LLVM/project 7a0afd3clang/lib/CIR/Dialect/IR CIRTypes.cpp, clang/test/CIR/CodeGen empty-union.cpp

[CIR] Fix record layout for a union with no storage type (#213591)

A union whose CIR type ends up with no members keeps its whole size in
its
padding field, and `UnionType::getTypeSizeInBits` returned early in
exactly that
case, before reaching the padding. A union need not look empty in the
source to
land there: a lone zero-length bitfield is dropped during lowering,
leaving the
same no-storage state.

A record embedding such a union was then laid out wrong. In an unpacked
record
`insertPadding` pads whenever the end of the members placed so far,
rounded up
to the next member's alignment, falls short of that member's offset, so
a union
measuring zero earns a pad the AST layout does not have.  In C++,

    [22 lines not shown]
DeltaFile
+151-19clang/test/CIR/CodeGen/empty-union.cpp
+6-9clang/lib/CIR/Dialect/IR/CIRTypes.cpp
+157-282 files

FreeNAS/freenas deb7636src/middlewared/middlewared/plugins/container __init__.py attachments.py, src/middlewared/middlewared/plugins/pool_ export.py

Keep container records unless their pool was really destroyed

## Problem
The container FS attachment delegate was the only stateful-workload delegate whose `delete()` destroyed configuration: it undefined the libvirt domain and removed the `container_container` and `container_device` rows, while deliberately leaving the rootfs dataset alone. VMs and apps only stop. That made `pool.export(cascade=True, destroy=False)` — the flow that exists precisely because the pool is moving elsewhere intact — permanently orphan live storage. A container's definition, devices and idmap slice live only in SQLite, nothing on disk can rebuild them (unlike the migrated incus containers, we write no manifest), and a freed idmap slice can be reissued to another container while the surviving rootfs still carries its UID range.

`pool.dataset.delete` reached the same code with no cascade flag at all, so deleting a dataset that a container merely bind-mounted as a FILESYSTEM device destroyed the whole container. And since `query()` only reports containers in ACTIVE_STATES, the cleanup was not even coherent — it dropped the records of running containers and kept those of stopped ones.

## Solution
- **`delete()` is now stop-only**, matching the VM and apps delegates. Records are never removed from the delegate.
- **Record removal moved to a new `destroy()` step on the attachment delegate**, which `pool.export` calls once the zpool destroy has returned — the only point that can see whether the data actually went away. `delete()` still has to run first so the datasets are released, whereas discarding configuration is safe only once the data it describes is confirmed gone, and everything in between (the `pool.pre_export` hook, `kill_processes`, the destroy itself) can abort the job with the pool still fully intact. It is gated on `cascade` together with a `destroyed` flag reflecting what the export really did rather than `options['destroy']`: asking to destroy an OFFLINE pool leaves it untouched on its disks, so the requested option on its own would still have discarded records whose storage was intact. The base implementation is a no-op, since the share/task delegates already disposed of their attachments in `delete()` while the pool was still there; the container one matches on the pool its root dataset lives on and ignores runtime state, so stopped containers are cleaned up too, and a container merely bind-mounting the destroyed pool keeps its definition.
- **Containers are re-pointed at their storage when a pool is imported under a new name.** The dataset is always `<pool>/.truenas_containers/containers/<name>`, so the new location is derived rather than guessed. The remap is committed only when the old pool is genuinely gone, the derived dataset exists, and no other container claims it; each container is applied behind its own boundary so one failure cannot abort the import or block the rest.
- **`pool.reimport` no longer starts everything on the pool.** It walks the delegates in start-priority order (it was using registration order, quietly defeating the docker/apps ordering) and calls a new `start_on_import`, which containers and VMs override to honour `autostart`. Previously every stopped container and VM on the pool came up regardless.

Also documents why `storage_paths()` derives the container root from the dataset name rather than its real mountpoint — both consumers need the name-derived form, and switching to the mountpoint would silently stop matching containers on pool export and lock.
DeltaFile
+164-10src/middlewared/middlewared/pytest/unit/plugins/test_container_attachment_matching.py
+161-0tests/api2/test_container_pool_export.py
+83-5src/middlewared/middlewared/plugins/container/attachments.py
+73-0src/middlewared/middlewared/plugins/container/__init__.py
+52-0src/middlewared/middlewared/pytest/unit/plugins/pool/test_destroy_pool_attachments.py
+36-0src/middlewared/middlewared/plugins/pool_/export.py
+569-155 files not shown
+673-2511 files

NetBSD/pkgsrc-wip 4640a02forgejo TODO Makefile, forgejo/files forgejo.sh app.ini.sample

forgejo: correct a few mistakes

While there, also differentiate more paths from Gitea, and remove the
TODO file.
DeltaFile
+13-12forgejo/files/app.ini.sample
+15-0forgejo/Makefile
+3-3forgejo/files/forgejo.sh
+0-2forgejo/TODO
+31-174 files