LLVM/project c36b84cllvm/lib/Target/AMDGPU AMDGPULowerKernelArguments.cpp, llvm/test/CodeGen/AMDGPU lower-noalias-kernargs.ll

[AMDGPU] Fix noalias metadata for calls that capture a pointer earlier (#219887)

A call could get `!noalias` against a kernel noalias argument even when
that argument was captured into a global earlier and the call can reach
it that way

Only calls that touch just their own argument pointees are actually safe
to mark this way
DeltaFile
+234-28llvm/test/CodeGen/AMDGPU/lower-noalias-kernargs.ll
+53-50llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
+287-782 files

LLVM/project 0465907mlir/lib/Dialect/XeGPU/Transforms XeGPUSgToLaneDistribute.cpp, mlir/test/Dialect/XeGPU sg-to-lane-distribute-unit.mlir

[mlir][xegpu] Fix lane-local classification for packed-lane-data reductions (#223077)

isReductionLaneLocal decided whether a subgroup vector.multi_reduction
reduces within a lane by comparing the result vector type against its
distributed type. This assumes the lane_layout along the non-reduction
dim is always larger than 1, which is not always true.

This PR fixes it by checking the source's lane_layout along the
reduction dimension is 1.

assisted-by-claude

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+22-0mlir/test/Dialect/XeGPU/sg-to-lane-distribute-unit.mlir
+13-8mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToLaneDistribute.cpp
+35-82 files

FreeBSD/src 31a77c1share/man/man4 ice.4, sys/dev/ice ice_iov.h if_ice_iflib.c

ice: Report SR-IOV VF status

Report the VF MAC, allocated transmit and receive queues, exact trunk
VLAN-filter count and capacity, negotiated virtchnl API, configured MAC,
VLAN, spoof-check, and promiscuous-mode policy, automatic link-state
policy, PF traffic permission, and fault containment through iflib.

Expose mirror configuration and active hardware rules, precise
malicious-driver isolation and counters, software mailbox-overflow
isolation and counters, VF-owned MAC-filter count and limit, and reset
diagnostics through a versioned driver.ice extension.  Distinguish a
failed VF reset from a required VSI rebuild, which may still be pending
rather than failed.  Keep the namespace schema local to the driver so
future extensions need no changes to common network headers or the
formatter.

Invalidate cached VF handshakes during preparation for an externally
initiated device reset, before releasing the context lock to wait for
hardware.  Mark the VFs as requiring rebuild even if an early PF rebuild

    [14 lines not shown]
DeltaFile
+182-7sys/dev/ice/ice_iov.c
+72-1share/man/man4/ice.4
+30-0sys/dev/ice/if_ice_iflib.c
+3-1sys/dev/ice/ice_iov.h
+287-94 files

LLVM/project 09046d9libc/test/src/mathvec sinf_test.cpp CMakeLists.txt

[libc] Fix sinf unit test failures (#224475)

https://github.com/llvm/llvm-project/pull/224339 suppressed the tests
but the executable still runs. This change further suppressed the
executable so lit didn't discover and run it.

Bot kept failing on the libc test:
https://lab.llvm.org/buildbot/#/builders/10/builds/36051

tested locally:
>Total Discovered Tests: 817
  Passed: 817 (100.00%)
DeltaFile
+22-19libc/test/src/mathvec/CMakeLists.txt
+0-5libc/test/src/mathvec/sinf_test.cpp
+22-242 files

LLVM/project 1b1e9d1llvm/lib/Object GOFFObjectFile.cpp

Recommit [GOFFObjectFile] replace snprintf with formatv (#224435) (#224489)

Recommit [GOFFObjectFile] replace snprintf with formatv (#224435)
DeltaFile
+2-3llvm/lib/Object/GOFFObjectFile.cpp
+2-31 files

LLVM/project 5fa7f81flang/docs ReleaseNotes.md, flang/lib/Optimizer/Builder IntrinsicCall.cpp

[flang] Fix RecordType sizes, TRANSFER lowering, and BIND(C) ABI on SystemZ/PPC64le (#220377)

### Summary

`fir::getTypeSizeAndAlignment` had two bugs in its `RecordType` branch:

1. **Packed records**: `isPacked()` was ignored. LLVM packed structs
advance by `getTypeAllocSize` per field (not `getTypeStoreSize`), so
each component occupies `alignTo(storeSize, ABIalign)` bytes with no
inter-field or tail padding, and the struct ABI alignment is 1. For
example, a packed `{i32, f64}` on x86-64 is 12 bytes, not 16.

2. **Tail padding**: the unpacked field loop returned the raw summed
size without the final `alignTo(size, align)`. For example, `{i32, i8}`
(sum = 5 bytes, align = 4) was returned as 5 bytes instead of the
correct allocation size 8 bytes.

### Changes


    [30 lines not shown]
DeltaFile
+89-0flang/test/Lower/Intrinsics/transfer-rec-tail-pad.f90
+72-0flang/test/Fir/CUDA/cuda-constructor-2.f90
+56-9flang/lib/Optimizer/Builder/IntrinsicCall.cpp
+63-0flang/test/Fir/box-elesize-canonicalize.fir
+54-0flang/docs/ReleaseNotes.md
+44-0flang/test/Fir/CUDA/cuda-shared-offset.mlir
+378-98 files not shown
+551-1614 files

LLVM/project 3ac17f2clang-tools-extra/clang-tidy/readability RedundantParenthesesCheck.cpp, clang-tools-extra/docs ReleaseNotes.md

[clang-tidy] Fix readability-redundant-parentheses false positive on typeof (#223512)

Preserve the required parentheses around the operand of `typeof`,
`typeof_unqual`, and GNU `__typeof__` by skipping `ParenExpr` nodes
whose immediate parent is a `TypeOfExprTypeLoc`. Redundant inner
parentheses such as those in `typeof((x))` are still diagnosed.

Fixes #220899.
DeltaFile
+16-0clang-tools-extra/test/clang-tidy/checkers/readability/redundant-parentheses-c23.c
+8-1clang-tools-extra/clang-tidy/readability/RedundantParenthesesCheck.cpp
+4-0clang-tools-extra/docs/ReleaseNotes.md
+2-0clang-tools-extra/test/clang-tidy/checkers/readability/redundant-parentheses.cpp
+30-14 files

LLVM/project a18489c.github/workflows test-suite.yml

[Github] Remove additional cmake install from test-suite (#224486)

Now that we are on ubuntu 26.04 we can resolve this todo as the system
CMake is new enough and already installed.
DeltaFile
+1-8.github/workflows/test-suite.yml
+1-81 files

LLVM/project 08cedc5.github/workflows subscriber.yml new-prs.yml

[Github] Fix container references from #224471 (#224490)

I screwed up some of the references (copying and pasting added an extra
sh256:) and they didn't show up because the workflow definitions for all
of these jobs only comes from main.
DeltaFile
+1-1.github/workflows/subscriber.yml
+1-1.github/workflows/new-prs.yml
+1-1.github/workflows/merged-prs.yml
+1-1.github/workflows/commit-access-greeter.yml
+4-44 files

FreeBSD/src cef57e8share/man/man4 ice.4, sys/dev/ice ice_vf_mbx.h ice_iov.h

ice: Protect the PF mailbox from flooding VFs

Wire the shared code mailbox-overflow detector into the VF lifecycle and
virtchnl dispatcher.  E830 controllers use their per-VF hardware
in-flight-message watermark.  On older controllers, attribute a
congested mailbox snapshot to its sender, reset it with its queues
disabled, and discard its subsequent requests.  Advance snapshot
accounting even for discarded requests.  A physical VFLR, PF reset, or
IOV recreation releases the VF.  A blocked VF can still submit mailbox
messages after reset, so discarding requests does not stop it from
replenishing the shared queue.

Process at most one initially full mailbox immediately.  If producers
keep it nonempty, mask only the mailbox interrupt cause and let the
periodic admin timer schedule bounded drain work.  Keep the shared admin
vector enabled so that OICR and other control-queue events can still be
serviced.  Re-enable the mailbox cause after draining and recheck the
queue head for arrivals while the cause was masked.  Retry failed reads
through the same deferred path instead of treating them as an empty queue.

    [14 lines not shown]
DeltaFile
+138-5sys/dev/ice/ice_iov.c
+60-13sys/dev/ice/if_ice_iflib.c
+39-4sys/dev/ice/ice_lib.c
+10-0share/man/man4/ice.4
+6-1sys/dev/ice/ice_iov.h
+1-0sys/dev/ice/ice_vf_mbx.h
+254-231 files not shown
+255-237 files

LLVM/project f909f84mlir/lib/Dialect/XeGPU/Transforms XeGPUSgToLaneDistribute.cpp, mlir/test/Dialect/XeGPU sg-to-lane-distribute-unit.mlir

[MLIR][XeGPU]  Fix insert_strided_slice distribution divisor for partial-lane dims (#223060)

SgToLaneVectorInsertStridedSlice divided the distributed dimension's
size and offset by the full subgroup size. That divisor holds only when
the dimension spans every lane. When it spans a subset (lane_layout[dim]
< subgroupSize) — say size 2 across 2 lanes — 2 % 16 != 0 made the
pattern reject the op and failing legalization.

This PR divides the dimension size by lane_layout[destDistDim], the
number of lanes actually covering that dimension.

assisted-by-claude

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+13-12mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToLaneDistribute.cpp
+16-0mlir/test/Dialect/XeGPU/sg-to-lane-distribute-unit.mlir
+29-122 files

FreeBSD/ports a1d073cwww/vinyl09 Makefile distinfo

www/vinyl09: Update to 9.0.2

Security:       a2fda5d7-b2fb-11f1-9800-641c67a117d8
DeltaFile
+3-3www/vinyl09/distinfo
+1-1www/vinyl09/Makefile
+4-42 files

FreeBSD/ports e4a5843security/vuxml/vuln 2026.xml

security/vuxml: document vinyl/varnish issue
DeltaFile
+37-0security/vuxml/vuln/2026.xml
+37-01 files

LLVM/project fa86d52llvm/include/llvm/CodeGen SlotIndexes.h, llvm/lib/CodeGen SlotIndexes.cpp

[SlotIndexes] Add queries for stale indexes

An erased instruction leaves its index list entry in place, making the
index indistinguishable from a block boundary entry. Add
isBlockBoundaryIndex() and isStaleIndex() to tell the two apart, and
canonicalizeIndex() to resolve a stale index to the closest preceding
instruction's register slot, or the block start if none survives.

NFC. No caller yet. LiveDebugVariables is next.
DeltaFile
+207-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+29-0llvm/lib/CodeGen/SlotIndexes.cpp
+14-0llvm/include/llvm/CodeGen/SlotIndexes.h
+1-0llvm/unittests/CodeGen/CMakeLists.txt
+251-04 files

LLVM/project 137285bllvm/include/llvm/CodeGen LiveDebugVariables.h, llvm/lib/CodeGen RegAllocGreedy.cpp LiveDebugVariables.cpp

[LiveDebugVariables] Repair stale SlotIndexes

The analysis keeps its indexes from before the first register allocator
until DBG_VALUEs are emitted, by which point passes in between have
erased some of the instructions they point at. Resolve them at the
start of each allocator run and before emitting.

SlotIndexes can then reclaim the entries of erased instructions without
sparing the ones held here, which would have made generated code depend
on -g. Emitted locations are unchanged, except that intervals resolving
to one position now emit a single DBG_VALUE rather than identical
consecutive ones.
DeltaFile
+135-0llvm/lib/CodeGen/LiveDebugVariables.cpp
+57-0llvm/test/DebugInfo/AMDGPU/live-debug-vars-stale-slot-indexes.ll
+8-4llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir
+8-0llvm/include/llvm/CodeGen/LiveDebugVariables.h
+7-0llvm/lib/CodeGen/RegAllocGreedy.cpp
+4-2llvm/test/CodeGen/X86/debug-spilled-snippet.ll
+219-61 files not shown
+223-87 files

LLVM/project a133404.github/workflows test-suite.yml sycl-tests.yml

[Github] Bump build workflows to Ubuntu 26.04 (#224455)

To pull in the new version of CMake and also now that the 24.04 images
won't recieve any new updates.
DeltaFile
+1-1.github/workflows/test-suite.yml
+1-1.github/workflows/sycl-tests.yml
+1-1.github/workflows/spirv-tests.yml
+1-1.github/workflows/mlir-spirv-tests.yml
+1-1.github/workflows/ci-post-commit-analyzer.yml
+5-55 files

DragonFlyBSD/src a888571sys/sys param.h

Bump __DragonFly_version for merging libthread_xu into libc

There is no ABI/API change with this merge, but it's a general good idea
to bump the version.

Suggested-by: tuxillo
DeltaFile
+2-1sys/sys/param.h
+2-11 files

OpenBSD/ports MDErXUtdevel/codex Makefile crates.inc

   devel/codex: update to 0.155.0
VersionDeltaFile
1.50+6-2devel/codex/distinfo
1.52+1-1devel/codex/Makefile
1.32+2-0devel/codex/crates.inc
+9-33 files

OpenBSD/ports fhSG6nNlang/mono/patches patch-mono_btls_CMakeLists_txt

   Disable direct ccache usage in mono.

   Fix tested by tb@
VersionDeltaFile
1.4+13-1lang/mono/patches/patch-mono_btls_CMakeLists_txt
+13-11 files

FreeBSD/ports b72ee29devel/ruby-build Makefile distinfo

devel/ruby-build: Update to 20260917

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260917
(cherry picked from commit 851b3efb548e55014133e0a296e39c7f4129536e)
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

FreeBSD/ports 851b3efdevel/ruby-build Makefile distinfo

devel/ruby-build: Update to 20260917

Changes:        https://github.com/rbenv/ruby-build/releases/tag/v20260917
DeltaFile
+3-3devel/ruby-build/distinfo
+1-1devel/ruby-build/Makefile
+4-42 files

LLVM/project 75c8398.github/workflows subscriber.yml pr-code-lint.yml

[Github] Bump non-build jobs to Ubuntu 26.04 (#224471)

Mostly so we pull in a new CMake version for the jobs that need it like
ids.
DeltaFile
+2-2.github/workflows/llvm-abi-tests.yml
+2-2.github/workflows/libclang-abi-tests.yml
+1-1.github/workflows/subscriber.yml
+1-1.github/workflows/pr-code-lint.yml
+1-1.github/workflows/pr-code-format.yml
+1-1.github/workflows/new-prs.yml
+8-83 files not shown
+11-119 files

OpenBSD/src 1ZJdtFHusr.sbin/ntpd ntp.c

   Center timestamps in frequency regression

   Subtract the first timestamp in each sample batch before accumulating the
   least-squares terms. This preserves the fitted slope while avoiding
   catastrophic cancellation between squared absolute Unix timestamps.

   from Adam DePrince <adam.deprince at gmail.com>

   ok bluhm@, deraadt@
VersionDeltaFile
1.187+6-1usr.sbin/ntpd/ntp.c
+6-11 files

FreeBSD/src 923b9a8share/man/man4 ice.4, sys/dev/ice ice_iov.h ice_lib.h

ice: Isolate VFs after malicious-driver detection

Consume the per-function MDD latches to attribute transmit and receive
events to the offending VF.  Treat the global debug registers only as
the last-cause diagnostic, add the missing Tx data-protection cause, and
select the E830 TCLAN register addresses when required.

Block every virtchnl request from an offending VF, reset it, and leave
its queues and interrupt mappings unconfigured.  Most MDD classes stop a
queue, but Tx data protection only drops the offending packet; the reset
makes the reported blocked state an actual DMA fence for every class.
Complete VFR without restoring resources so a later physical FLR can
create a new reset edge and recover the function.

Complete VFR before restoring queue and interrupt mappings.  E810 does
not retain mapping writes while VFSWR remains asserted; retaining the
original hardware order prevents an immediate post-attach VFR from
leaving queue-map enable clear.


    [25 lines not shown]
DeltaFile
+169-15sys/dev/ice/ice_iov.c
+122-59sys/dev/ice/ice_lib.c
+21-0sys/dev/ice/ice_common_sysctls.h
+14-1share/man/man4/ice.4
+12-0sys/dev/ice/ice_lib.h
+6-0sys/dev/ice/ice_iov.h
+344-752 files not shown
+347-758 files

FreeBSD/src 43851fbshare/man/man4 ice.4

ice(4): Correct SR-IOV filter defaults

The documented VLAN and MAC filter limits are reversed.  Match the
defaults in the driver schema: 64 VLAN filters and 16 non-primary MAC
filters per VF.

MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59027
DeltaFile
+2-2share/man/man4/ice.4
+2-21 files

FreeBSD/src 3faea48share/man/man4 ice.4, sys/dev/ice ice_iov.h ice_iov.c

ice: Make VF MAC filter requests idempotent

VF drivers replay their address filters after reset and may retry a
request whose reply was lost.  The PF tracked only a count and
incremented it after an idempotent hardware add, so duplicate replays
eventually exhausted the quota.  It then rejected an entire address
batch, including the administrator-assigned address.

Track exact non-primary MAC filter membership within each VF quota.
Validate a complete batch before changing hardware, charge only unique
absent addresses, and update ownership after each successful operation.
Preserve an administrator-assigned address when the VF is not permitted
to change it.

Validated on an E810-XXV with a host-attached iavf VF.  The configured
filter quota was filled, then the complete set was replayed across VFR
and PF reset without a duplicate warning or ADD_ETH_ADDR NACK.  Deleting
an absent address was a no-op.  With allow-set-mac disabled, the guest
could not remove its administrator-assigned filter, while multicast

    [5 lines not shown]
DeltaFile
+107-37sys/dev/ice/ice_iov.c
+14-5share/man/man4/ice.4
+5-0sys/dev/ice/ice_iov.h
+126-423 files

FreeBSD/src 31fb4efsys/dev/ice ice_iov.c

ice: Add VF reset and policy failure injection

Extend the optional ICE failure-injection facility with points for the
MAC anti-spoof firmware update and each mandatory VF reset stage.

The reset points report a failed Tx drain command, VFR timeout, receive
queue disable, or final PCIe transaction drain after the corresponding
hardware operation.  This permits fail-closed state and recovery tests
without deliberately leaving live DMA during teardown.

The points remain absent unless the kernel is built with
options DRIVER_FAILPOINTS and retain the existing PF and VF selectors.

MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59025
DeltaFile
+31-0sys/dev/ice/ice_iov.c
+31-01 files

FreeBSD/src bcf6be6sys/dev/ice ice_iov.h if_ice_iflib.c

ice: Quiesce VFs before device reset

Reset preparation notifies cooperative VFs, then immediately releases
queue maps and firmware topology.  A VF which ignores the notification
can continue DMA while the PF tears down the resources which describe
it.

Assert VFSWR for each configured VF before teardown.  Run the mandatory
firmware drain serially, disable active receive queues, verify that PCIe
transactions have drained, and leave the VF held until its VSI rebuild
succeeds.  Block ordinary mailbox requests as soon as quiesce begins so
a hostile VF cannot re-enable queues in the warning interval.

Also clear VFLR status only after VFRD and perform the final Transaction
Pending check before publishing VFACTIVE.  This follows the VF reset
flow in section 4.1.3.3.3 of the Intel E810 Datasheet.  Serializing VFs
stays below the documented limit of four concurrent VM/VF reset flows.

Validated on an E810-XXV with active host VFs and a Linux passthrough

    [16 lines not shown]
DeltaFile
+140-46sys/dev/ice/ice_iov.c
+14-2sys/dev/ice/if_ice_iflib.c
+1-0sys/dev/ice/ice_iov.h
+155-483 files

FreeBSD/src 98a7c2esys/dev/iavf iavf_drv_info.h

iavf: Probe the Hyper-V VF device ID

The shared code already recognizes IAVF_DEV_ID_VF_HV and handles it
through the regular iavf register and virtchnl paths, but the PCI probe
table omits it.  Add the missing entry so the driver attaches.

PR:             239849

(cherry picked from commit d983dc521b6ecaf054bdbe938bd1bf079030f76d)
DeltaFile
+2-0sys/dev/iavf/iavf_drv_info.h
+2-01 files

FreeBSD/src 2723a9cshare/man/man4 ix.4, sys/dev/ixgbe ixgbe.h if_ixv.c

ixgbe: Correct Wake-on-LAN configuration

Wake-on-LAN capability was inferred from NVM bits on every MAC even
though 82599 support is board and sometimes port specific.  Private
sysctls formed a second policy interface, and the driver neither
coordinated the controller wake source with PCI PME nor reliably
rebuilt address filters erased by the stop-time reset.

Use the standard ifconfig wake capabilities.  Derive support from the
82599 board and port matrix or the X540-and-newer NVM capability.
Require D3hot PME support, and use the NVM APME bit only to select the
initial magic-packet policy after initializing the LAN function number.

Snapshot requested filters before the terminal stop so shared reset and
PHY code sees the active wake policy.  After reset, restore RAR0, the
multicast table, receive filtering, and the optical laser before arming
WUFC, WUC, and PCI PME.  Remove device wake sources before clearing PCI
PME on detach, resume, and when wake is disabled.  Clear autonomous APM
so ifconfig remains authoritative.

    [19 lines not shown]
DeltaFile
+212-153sys/dev/ixgbe/if_ix.c
+19-1share/man/man4/ix.4
+1-6sys/dev/ixgbe/if_ixv.c
+2-3sys/dev/ixgbe/ixgbe.h
+234-1634 files