LLVM/project 839093dllvm/lib/IR AsmWriter.cpp

[IR] Avoid collecting COMDATs for non-module printing (#221460)

`AssemblyWriter` scans every global object in its constructor to collect
referenced COMDATs. That collection is only used when printing a
complete module, but the constructor also runs for standalone value and
instruction printing.

Move COMDAT emission into `printModule()`. Print each group at its first
global-object use and keep only a local set to avoid duplicate
declarations.

On `bench/sqlite/original/shell.ll` from `llvm-opt-benchmark`, the
median `opt -passes=dot-cfg` time dropped from 1.65 s to 0.40 s, about
4.1x faster. All 687 generated DOT files matched after normalizing
process-specific node IDs.
DeltaFile
+10-15llvm/lib/IR/AsmWriter.cpp
+10-151 files

LLVM/project c899487flang-rt/include/flang-rt/runtime tools.h, flang-rt/lib/runtime environment.cpp assign.cpp

[flang-rt] Copy out only the modified suffix of an argument temporary (#222101)

`CopyOutAssign` currently copies the whole temporary back over the
original unconditionally. When the effective argument is not definable —
a named constant, for example — and the callee, conformingly, never
modified it, that copy-back stores unmodified bytes into storage that
may be read-only. With this change, `CopyOutAssign` scans the temporary
for the first element whose bit pattern differs from the original and
copies back only from that element through the end, in one fused pass:
an unmodified copy-out performs no stores at all, so compiler-generated
copy-out can never be the reason a conforming program writes into
read-only storage. The comparison is bitwise, which is exact here
because the temporary was created as a bitwise copy by `CopyInAssign`:
unmodified elements compare equal even for NaNs and padding bytes, which
a value comparison would misjudge.

The change is performance-neutral in practice (measurements summarized
in a comment below): copy-out's destination is essentially always
discontiguous — the temporary exists only because the actual argument

    [11 lines not shown]
DeltaFile
+231-0flang-rt/unittests/Runtime/Assign.cpp
+161-0flang-rt/lib/runtime/tools.cpp
+18-1flang-rt/lib/runtime/assign.cpp
+17-0flang/docs/RuntimeEnvironment.md
+15-0flang-rt/include/flang-rt/runtime/tools.h
+13-0flang-rt/lib/runtime/environment.cpp
+455-12 files not shown
+467-28 files

OpenBSD/src R5cb6zWsys/arch/amd64/conf Makefile.amd64

   update the list of amdgpu files to build with sse

   following the linux Makefiles it is amd/display/dc/dml*
   and dcn401_soc_and_ip_translator.c

   dml2_top_legacy.c is excluded as we don't build it

   prompted by a shorter diff from daniel@
VersionDeltaFile
1.146+56-28sys/arch/amd64/conf/Makefile.amd64
+56-281 files

DragonFlyBSD/src ab80faasys/vm vm_fault.c

kernel - Fix cryptsetup bug / fix bug in mlockall()

* mlockall() uncovererd an old bug in the VM system that was previously
  masked by other code.  The VM system going way way back assumed that
  wired pages were already wired and that at worst only a zero-fill was
  needed, so the TRYPAGER() macro checked for the case.

  However, when issuing a mlockall(), the refactored VM system uses
  vm_fault() to bring in missing wired pages to satisfy the request,
  was hitting the old condition, and doing a zero-fill instead.

* This caused cryptsetup() (one of the few programs to actually use
  mlockall()) to seg-fault under typical conditions.

* Fix by removing that part of the conditional.  Regardless of the
  wiring flags, the pager is still tried for non-default VM objects.

Reported-by: mneumann, aly
DeltaFile
+8-7sys/vm/vm_fault.c
+8-71 files

LLVM/project f144b3eclang/lib/Parse Parser.cpp, clang/lib/Sema SemaModule.cpp

[clang][Modules] make ActOnPrivateModuleFragmentDecl return non-null on success.  (#223757)

his code
```cpp
module;
module :private;
export module Foo;
```
a Private module fragment here is illegal because it can only be
declared in a primary module interface unit, instead of raising an error
clang crashed because of this assertion
```cpp
  assert((!getLangOpts().CPlusPlusModules ||
          SeenGMF == (bool)this->TheGlobalModuleFragment) &&
         "mismatched global module state");
``` 
the mismatch happened because `ParseModuleDecl` assigned ImporState
wether or not it was semantically correct:
```cpp

    [12 lines not shown]
DeltaFile
+8-5clang/lib/Parse/Parser.cpp
+5-0clang/test/Modules/mismatched_global_module_sate.cppm
+2-1clang/lib/Sema/SemaModule.cpp
+15-63 files

DragonFlyBSD/src 3d7bc73sys/platform/pc64/x86_64 pmap.c

kernel - Fix pmap wiring bug

* Fix a pmap wiring accounting bug.  The refactored wiring and pmap code
  expects only a single increment for a pmap wiring when the "W" bit
  transitions from 0 to 1, plus a count on the vm_page.

Found-by: Claude Sonnet 5 (aly)
DeltaFile
+2-3sys/platform/pc64/x86_64/pmap.c
+2-31 files

OpenBSD/ports mIVMdRbsysutils/moor Makefile distinfo

   Update to moor-2.19.1

   From Lydia Sobot (maintainer)
VersionDeltaFile
1.14+2-2sysutils/moor/distinfo
1.14+1-1sysutils/moor/Makefile
+3-32 files

NetBSD/src 0cqUwx5sys/kern uipc_usrreq.c

   uipc_usrreq: Fix unix-domain socket inode assignment.

   1. `if (unp->unp_ino == 0) unp->unp_ino = unp_ino++' would assign
      zero the first time around by mistake, and then assign nonzero
      after that.  `if (unp->unp_ino == 0) unp->unp_ino = ++unp_ino'
      avoids this silliness.

   2. Make the ++unp_ino part atomic.

   PR kern/60729: incosistent st_ino from the first stat(2) on a socket
VersionDeltaFile
1.210+25-5sys/kern/uipc_usrreq.c
+25-51 files

LLVM/project 86b7f51llvm/include/llvm/Transforms/IPO Attributor.h, llvm/lib/Transforms/IPO AttributorAttributes.cpp

[Attributor] Only seed live internal callees during deduction (#222226)

When a basic block becomes live, assumeLive marks its internal callees
live to seed attributes for deduction. Currently, this also happens when
a liveness AA is initialized during MANIFEST or CLEANUP, after the
fixed-point iteration has finished.

In CGSCC runs, cleanup can query the liveness of a shared caller for
each callee SCC. Seeding all internal callees in that caller's live blocks
can then cause quadratic initialization work.

Restrict this bulk seeding to SEEDING and UPDATE. Continue recording
live blocks and allow on-demand attribute queries in the later stages.
DeltaFile
+55-0llvm/test/Transforms/Attributor/cleanup-no-seeding.ll
+12-1llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+8-2llvm/include/llvm/Transforms/IPO/Attributor.h
+75-33 files

LLVM/project 37d8d8dllvm/lib/Target/AMDGPU GCNCreateVOPD.cpp, llvm/test/CodeGen/AMDGPU vopd3-imm-fold.ll bf16.ll

[AMDGPU] Form VOPD3 pairs with pair-local literal moves

This PR lets GCNCreateVOPD form a VOPD3 pair when its components use one
distinct non-inline constant. VOPD3 cannot encode literal operands, but src0
can read scalar registers, so we move the value to a free SGPR. If both
components use the same value, one move serves both.

We reject pairs that need two values because two moves add more instructions
than one fusion removes. We also reject functions without tracked liveness and
functions optimized for size.

We use one reverse liveness walk to find an SGPR that is free over each
pair-local range. We exclude reserved registers and VCC. Disjoint selected
pairs can reuse the same SGPR, and each accepted pair adds at most one
S_MOV_B32 for the one instruction removed by fusion.

When overlapping candidates form the same number of pairs, we prefer the set
that needs fewer scalar moves. We keep pair count as the primary objective.


    [2 lines not shown]
DeltaFile
+383-393llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+326-308llvm/test/CodeGen/AMDGPU/float-to-arbitrary-fp-fp8-hw.ll
+433-0llvm/test/CodeGen/AMDGPU/vopd3-imm-fold.mir
+225-181llvm/test/CodeGen/AMDGPU/bf16.ll
+373-0llvm/test/CodeGen/AMDGPU/vopd3-imm-fold.ll
+201-26llvm/lib/Target/AMDGPU/GCNCreateVOPD.cpp
+1,941-90847 files not shown
+3,280-2,06253 files

LLVM/project a566d4bllvm/lib/Target/AMDGPU GCNVOPDUtils.cpp GCNVOPDUtils.h

[NFC][AMDGPU] Separate VOPD candidate selection (#223518)

This PR separates VOPD candidate matching from selection without
changing generated code.

`GCNCreateVOPD` used to choose a pair as soon as `tryMatchVOPDPair`
found one. That made matching and selection one operation: the first
match consumed both instructions before later work could decide whether
the pair was usable.

We now record matches in program order, collect every adjacent
candidate, and select the same greedy non-overlapping set in a separate
step.

This gives later changes a place to reject or rank a candidate without
hiding an overlapping pair that uses its second instruction.
DeltaFile
+36-39llvm/lib/Target/AMDGPU/GCNCreateVOPD.cpp
+12-7llvm/lib/Target/AMDGPU/GCNVOPDUtils.h
+2-2llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+50-483 files

FreeBSD/ports 06f14bdtextproc/krep Makefile distinfo, textproc/krep/files patch-Makefile patch-krep.c

textproc/krep: Update 3.0.2 => 3.1.0
DeltaFile
+0-30textproc/krep/files/patch-krep.c
+4-4textproc/krep/files/patch-Makefile
+3-3textproc/krep/distinfo
+1-1textproc/krep/Makefile
+8-384 files

FreeNAS/freenas 3b25092

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 8ef60b1

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 706ba55

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 52ab64f

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 9eacfecsrc/middlewared/middlewared/plugins smb.py

NAS-143145 / 27.0.0-BETA.1 / always trigger smbd service reload on attachment op (#19784)

This commit adds a manual reload of the smb.conf whenever we trigger a
filesystem attachment event for an SMB share. Established SMB sessions
will only check for changes to smb.conf every 180 seconds which can
cause TCON refused messages. This behavior regressed when we
transitioned from the old libzfs python library, which necessitated a
large-scale service / filesystem attachment refactor.
DeltaFile
+8-6src/middlewared/middlewared/plugins/smb.py
+8-61 files

FreeNAS/freenas 581890dsrc/middlewared/middlewared/plugins/truenas_s3 __init__.py

NAS-143860 / 27.0.0-BETA.1 / Restart the S3 service when the license changes (#19781)

The S3 daemon asks truenas.entitlements.check for S3_VERSIONING and
S3_AUDIT once, before it registers a bucket, and holds the answer for
the life of the process. A reload re-reads its files and not the license
-- by design, so every registration-consumed fact arrives the same way,
a restart. Nothing performed that restart: no system.post_license_update
subscriber reached the service, and the license reconcile pass carried
no S3 delegate.

So a revoked versioning entitlement went on minting versions until
someone restarted the service by hand, and -- the direction that reaches
a customer -- a granted one left every object-lock bucket the daemon had
excluded at start answering 503 after the license that would serve it
was installed.

Register a RESTART delegate for the service, ordered after the user
delegate since the credentials file the restart renders resolves every
access key through NSS. It runs only while the service is up: RESTART
starts a stopped unit, which a license change must not do, and a stopped
service reads the license fresh at its next start anyway.
DeltaFile
+38-2src/middlewared/middlewared/plugins/truenas_s3/__init__.py
+38-21 files

FreeBSD/src 90ad63blib/libbsdconf bsdconf.h bsdconf.c

libbsdconf: Remove unnecessary parens

Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D59745
DeltaFile
+11-11lib/libbsdconf/bsdconf_put.c
+6-6lib/libbsdconf/bsdconf.c
+2-2lib/libbsdconf/bsdconf.h
+19-193 files

LLVM/project c3f4c58clang/include/clang/CIR/Dialect/IR CIRAttrs.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Use the LLVM dialect's memory effects attribute

#cir.memory_effects copied #llvm.memory_effects slot for slot, and the
compact printer copied the memory( block of Attribute::getAsString,
diverging from it on target_mem in both directions.  Reusing the LLVM
attribute drops both, along with the ModRefInfo enum and the lowering
conversion.

Assisted-by: Cursor / claude-opus-5
DeltaFile
+32-135clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+0-70clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+0-50clang/test/CIR/IR/invalid-memory-effects.cir
+5-33clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+15-23clang/test/CIR/IR/call.cir
+14-9clang/test/CIR/Lowering/memory-effects.cir
+66-32017 files not shown
+143-36623 files

FreeBSD/src 99191cesys/dev/ice ice_iflib_txrx.c

ice: Honor iflib transmit completion batching

ice marked every transmitted packet RS and recorded every last
descriptor in its report-status queue.  Hardware therefore wrote
descriptor status for every packet, and the driver traversed every
packet while reclaiming completed descriptors.

iflib marks selected packets with IPI_TX_INTR as completion
checkpoints.  It forces a checkpoint as deferred work or ring pressure
grows.  Retain EOP on every packet, but set RS and record the descriptor
only at those checkpoints.

DPDK uses the same sparse-RS design and defaults tx_rs_thresh to 32.
Let iflib choose the adaptive interval for FreeBSD.  This reduces PCIe
and memory traffic while preserving bounded descriptor reclamation.

Validated on an E810-XXV in an A-B-A test with five matched
four-stream, TSO-disabled transmit runs per phase.  Median throughput
was 9.413, 9.413, and 9.414 Gbps.  Median whole-system CPU was 21.54%,

    [11 lines not shown]
DeltaFile
+12-7sys/dev/ice/ice_iflib_txrx.c
+12-71 files

LLVM/project a0dfeeclldb/source/API SBThread.cpp, lldb/source/Commands CommandObjectThread.cpp

Allow scripted frames to implement custom step operations (#223834)

Add an API to the ScriptedFrame interface that gives the ScriptedFrame a
chance to return a scripted ThreadPlan class name for a class that
implements the requested step type.

LLDB will consult the ScriptedFrame (if any) first. If the ScriptedFrame
returns an empty class name, the standard stepping algorithms will be
used, otherwise an instance of the provided class will be constructed -
passing in an optional - ScriptedFrame provided `extra_args` dictionary
- and added to the ThreadPlanStack to handle this step.
DeltaFile
+242-0lldb/test/API/functionalities/scripted_frame_provider/step_with_type/frame_provider.py
+102-81lldb/source/Commands/CommandObjectThread.cpp
+117-31lldb/source/API/SBThread.cpp
+138-0lldb/test/API/functionalities/scripted_frame_provider/step_with_type/TestFrameProviderStepping.py
+71-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.cpp
+30-3lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+700-11515 files not shown
+834-12921 files

FreeBSD/src aae5b16sys/dev/ice ice_lib.h ice_strings.c

ice: Defer RDMA critical error notifications

ice_msix_admin() runs as an interrupt filter inside a critical section.
ice_rdma_notify_pe_intr() acquires the global RDMA sx and invokes the
client event handler, both of which require sleepable thread context.  A
PE or HMC critical error could therefore panic under WITNESS or sleep
from interrupt context.

Accumulate OICR causes atomically in the interrupt filter and mark them
pending in the driver state.  Deliver the notification from the iflib
admin task before processing reset events.  This preserves the existing
ordering, lets an iRDMA-requested reset run in the same admin pass, and
coalesces causes from multiple interrupts.

MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59340
DeltaFile
+28-1sys/dev/ice/if_ice_iflib.c
+3-0sys/dev/ice/ice_iflib.h
+2-0sys/dev/ice/ice_strings.c
+1-0sys/dev/ice/ice_lib.h
+34-14 files

FreeNAS/freenas 361f547tests/sharing_protocols/s3 test_s3_buckets.py test_s3_bucket_lifecycle.py

NAS-143880 / 26.0.0 / Add S3 protocol tests under tests/sharing_protocols/s3 (by anodos325) (#19787)

A bucket's stored options are almost all unobservable through the API:
what object_ownership means, what a DENY grant does, whether a
manage_buckets key can create a bucket. Provision through the API,
observe over the protocol.

Assets split in two. The middleware half is assets/s3.py -- accounts,
access keys, buckets, grants, the service -- and imports no client
library, so it stays usable on a runner without one. The client half is
s3_client.py in the test directory rather than tests/protocols/, whose
`__init__` imports every client it re-exports and would make an S3 case
need samba and pynfs to reach boto3.

The session stands up two principals and nine buckets, one per thing
that is only answerable per bucket, and skips rather than proving
something weaker where it could not make one.

Beside the bucket plane: the object surfaces. Metadata and the content

    [13 lines not shown]
DeltaFile
+693-0tests/sharing_protocols/s3/test_s3_multipart.py
+657-0tests/sharing_protocols/s3/test_s3_acl.py
+534-0tests/sharing_protocols/s3/test_s3_list_objects.py
+449-0tests/sharing_protocols/s3/test_s3_snapshot_versions.py
+419-0tests/sharing_protocols/s3/test_s3_bucket_lifecycle.py
+418-0tests/sharing_protocols/s3/test_s3_buckets.py
+3,170-026 files not shown
+8,077-34632 files

FreeBSD/ports 404e42dgames/veloren-weekly Makefile distinfo

games/veloren-weekly: update to s20260915

Changes:        https://gitlab.com/veloren/veloren/-/compare/b2bf67917f...86808a45a4
(cherry picked from commit ec7e657f0cba93d46113ff0bb25e4f730fcff05c)
DeltaFile
+3-3games/veloren-weekly/distinfo
+2-2games/veloren-weekly/Makefile
+5-52 files

FreeBSD/ports 399e3fagraphics/mesa-devel Makefile distinfo

graphics/mesa-devel: update to 26.2.b.3482

Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/0ba4b08edc6...a6bb6e52b7c
DeltaFile
+3-3graphics/mesa-devel/distinfo
+2-2graphics/mesa-devel/Makefile
+5-52 files

FreeBSD/ports ec7e657games/veloren-weekly Makefile distinfo

games/veloren-weekly: update to s20260915

Changes:        https://gitlab.com/veloren/veloren/-/compare/b2bf67917f...86808a45a4
DeltaFile
+3-3games/veloren-weekly/distinfo
+2-2games/veloren-weekly/Makefile
+5-52 files

FreeBSD/ports 0a05dfamultimedia/vmaf Makefile distinfo

multimedia/vmaf: update to 3.2.1

Changes:        https://github.com/Netflix/vmaf/releases/tag/v3.2.1
Reported by:    GitHub (watch releases)
DeltaFile
+3-3multimedia/vmaf/distinfo
+1-1multimedia/vmaf/Makefile
+4-42 files

FreeBSD/ports 7de6a54www/gallery-dl Makefile distinfo

www/gallery-dl: update to 1.32.12

Changes:        https://github.com/mikf/gallery-dl/releases/tag/v1.32.12
Reported by:    GitHub (watch releases)
DeltaFile
+3-3www/gallery-dl/distinfo
+1-1www/gallery-dl/Makefile
+4-42 files

LLVM/project 739def2flang/lib/Lower PFTBuilder.cpp, flang/test/Lower main_location.f90

[flang] Fix unknown location for a main program that starts with INCLUDE (#224166)
DeltaFile
+18-0flang/test/Lower/main_location.f90
+10-1flang/lib/Lower/PFTBuilder.cpp
+28-12 files