FreeBSD/src fdcb52dsys/ofed/drivers/infiniband/ulp/ipoib ipoib_ib.c

ofed/ipoib: convert to timer_setup linuxKPI

Reviewed by:    bz
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58941
DeltaFile
+6-4sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+6-41 files

FreeBSD/src 814cd91sys/dev/mlx5/mlx5_core mlx5_health.c, sys/dev/mlx5/mlx5_ib mlx5_ib_mr.c

mlx5(4): convert to timer_setup() linuxKPI

Reviewed by:    bz
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58941
DeltaFile
+3-3sys/dev/mlx5/mlx5_ib/mlx5_ib_mr.c
+3-3sys/dev/mlx5/mlx5_core/mlx5_health.c
+6-62 files

LLVM/project 4d8c4b1mlir/lib/Dialect/OpenACC/Transforms ACCSpecializeForHost.cpp, mlir/test/Dialect/OpenACC acc-if-clause-lowering.mlir

[MLIR][OpenACC] Defer lowering atomic capture children (#217475)
DeltaFile
+24-2mlir/test/Dialect/OpenACC/acc-if-clause-lowering.mlir
+13-9mlir/lib/Dialect/OpenACC/Transforms/ACCSpecializeForHost.cpp
+37-112 files

LLVM/project b7cb353llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize div-exact.ll uniform-blend.ll

[VPlan][Predicator] Preserve some uniform control flow

Implements "Partial Control-Flow Linearization" by Simon Moll and
Sebastian Hack. Does **NOT** improve predication/masking yet, so
applicability is artificially narrowed, only some uniform branches are
preserved. In particular, the following is left for future PRs:

* Block masks still contains now-unnecessary term for the preserved
  uniform branches.
* Mixed blends/phis aren't supported yet. Detecting where they would be
  necessary is as complex as implementing proper support (which would
  need either Luke's `reconstructSSA` or Iterated Dominance Frontier),
  so we also limit it to a trivial/structured CFG where there's only
  single block where those would need to be inserted.

I think even the current version might be enough to start implementing
an alternative to https://github.com/llvm/llvm-project/pull/141900 (see
BOSCC in the paper).
DeltaFile
+81-45llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
+107-3llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+45-38llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+32-8llvm/test/Transforms/LoopVectorize/uniform-blend.ll
+18-10llvm/test/Transforms/LoopVectorize/AArch64/transform-narrow-interleave-to-widen-memory-multi-block.ll
+14-6llvm/test/Transforms/LoopVectorize/div-exact.ll
+297-11015 files not shown
+398-13421 files

LLVM/project f660015llvm/lib/Transforms/Vectorize VPlanPredicator.cpp, llvm/test/Transforms/LoopVectorize predicator.ll

Implement non-uniform part of partial linearization algorithm
DeltaFile
+92-92llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+106-19llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+4-4llvm/test/Transforms/LoopVectorize/X86/predicate-switch.ll
+3-3llvm/test/Transforms/LoopVectorize/predicator.ll
+205-1184 files

LLVM/project 195427ellvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Add `*_no_phi` versions
DeltaFile
+623-0llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+623-01 files

LLVM/project 7b6a307llvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Predicator tests for uniform control flow preservation
DeltaFile
+168-0llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+168-01 files

LLVM/project 0a05c2dllvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Create actual test functions (AI-assisted)
DeltaFile
+478-25llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+478-251 files

LLVM/project 2f23ae6llvm/test/Transforms/LoopVectorize/VPlan predicator.ll

Generate CHECKs
DeltaFile
+1,101-1llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll
+1,101-11 files

LLVM/project 3fc15bcllvm/lib/Transforms/Vectorize VPlanPredicator.cpp

[NFC][VPlan] Move `introduceMasksAndLinearize` into a `VPPredicator`'s method

To reduce diff in the next PR.

AI-assisted.
DeltaFile
+21-13llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
+21-131 files

LLVM/project e740ed6flang/include/flang/Optimizer/Builder/Runtime Assign.h, flang/lib/Optimizer/Builder/Runtime Assign.cpp

[flang] - Call _FortranAAssignSimple instead of _FortranAAssign for intrinsic-type array assignments.

This patch adds support for calling _FortranAAssignSimple, a faster-path for array assignments.
`_FortranAAssignSimple` is called when ALL the following conditions are true:
1. Intrinsic element type (not derived type)
2. Matching ranks (no scalar-to-array broadcasting)
3. Non-volatile
4. Not polymorphic
5. Not explicit-length character
6. Not temporary LHS

Otherwise, uses `_FortranAAssign` (or specialized variants like `_FortranAAssignPolymorphic`, `_FortranAAssignExplicitLengthCharacter`).

This is a (perhaps final) part of the fix for https://github.com/llvm/llvm-project/issues/203915
DeltaFile
+287-0flang/test/HLFIR/assign-simple-routing.fir
+46-4flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
+19-13flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+13-0flang/lib/Optimizer/Builder/Runtime/Assign.cpp
+12-0flang/include/flang/Optimizer/Builder/Runtime/Assign.h
+2-2flang/test/HLFIR/assign-codegen.fir
+379-192 files not shown
+381-218 files

LLVM/project 0db61dbflang-rt/unittests/Runtime Assign.cpp

fix clang-format issues
DeltaFile
+4-2flang-rt/unittests/Runtime/Assign.cpp
+4-21 files

LLVM/project 92242c0flang/test/Fir convert-to-llvm-openmp-and-fir.fir, flang/test/Lower/OpenMP target.f90 declare-mapper.f90

[MLIR][OpenMP] Enable strict property assembly format (#217297)

Enable strict property assembly format mode for OpenMP. Spell OpenMP
assembly-only properties directly in directive and clause formats
instead of relying on generic property dictionaries.

Refresh OpenMP dialect, conversion, and LLVM target tests to use the
direct syntax for these properties.

Assisted-by: Codex
DeltaFile
+144-144mlir/test/Dialect/OpenMP/ops.mlir
+75-75flang/test/Transforms/omp-map-info-finalization.fir
+60-60flang/test/Lower/OpenMP/declare-mapper.f90
+61-55mlir/test/Dialect/OpenMP/invalid.mlir
+53-53flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
+43-43flang/test/Lower/OpenMP/target.f90
+436-430230 files not shown
+1,454-1,449236 files

Illumos/gate f575c89usr/src/uts/common/io/virtio virtio_main.c

18359 virtio: virtio_queue_alloc() can return with vio_mutex held
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Kyle Simpson <kyle at oxide.computer>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+1-0usr/src/uts/common/io/virtio/virtio_main.c
+1-01 files

Illumos/gate e02977dusr/src/uts/common/io/vioif vioif.c

18360 vioif reports a nonsense MAC_PROP_SPEED when the device speed is unknown
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Kyle Simpson <kyle at oxide.computer>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+4-1usr/src/uts/common/io/vioif/vioif.c
+4-11 files

Illumos/gate ed10ef5usr/src/uts/common/io/vioif vioif.c

18361 vioif accepts offload features whose dependencies are missing
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Kyle Simpson <kyle at oxide.computer>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+18-0usr/src/uts/common/io/vioif/vioif.c
+18-01 files

Illumos/gate 36d8c52usr/src/uts/common/io/virtio virtio_main.c

18358 virtio_map_cap() reuses another device's BAR register number
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Reviewed by: Michael van der Westhuizen <r1mikey at gmail.com>
Reviewed by: Kyle Simpson <kyle at oxide.computer>
Approved by: Dan McDonald <danmcd at edgecast.io>
DeltaFile
+2-12usr/src/uts/common/io/virtio/virtio_main.c
+2-121 files

OpenBSD/src J9bDdgusys/kern tty.c

   fix theoretically racy code in ttystats_init

   "makes sense" to deraadt@
VersionDeltaFile
1.186+3-2sys/kern/tty.c
+3-21 files

Illumos/gate 2fc1284usr/src/man/man9f Intro.9f ddi_ncpus_expected.9f, usr/src/uts/common/io/nvme nvme.c

18304 add ddi_ncpus_expected(9F) for sizing per-CPU resources
Reviewed by: Robert Mustacchi <rm at fingolfin.org>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+70-0usr/src/man/man9f/ddi_ncpus_expected.9f
+29-1usr/src/uts/common/os/sunddi.c
+2-10usr/src/uts/common/io/vioif/vioif.c
+2-6usr/src/uts/common/io/nvme/nvme.c
+4-3usr/src/man/man9f/Intro.9f
+4-0usr/src/uts/common/sys/sunddi.h
+111-204 files not shown
+115-2210 files

FreeBSD/src 241df6asys/kern uipc_usrreq.c

unix: fix comment

Noticed by:     mckusick
Fixes:          6563dcb6b1f57e51db63854f3774b52e672232ed
DeltaFile
+1-1sys/kern/uipc_usrreq.c
+1-11 files

FreeBSD/ports d3240c4deskutils/vym distinfo Makefile, deskutils/vym/files patch-CMakeLists.txt

deskutils/vym: Update to 3.0.0

- Use QT6 library/components instead of QT5 ones
- Update list of lib dependencies

ChangeLog:      https://github.com/insilmaril/vym/blob/c4b51babf1a6a2d8215f4b46093171fec37bc25b/release-notes-3.0.md
Reported by:    Uwe Drechsel <notifications at github.com>
DeltaFile
+130-61deskutils/vym/pkg-plist
+55-19deskutils/vym/files/patch-CMakeLists.txt
+10-12deskutils/vym/Makefile
+3-3deskutils/vym/distinfo
+198-954 files

LLVM/project 0cf3b17offload/languages/kernel/include LanguageUtils.h, offload/languages/kernel/src LanguageRuntime.cpp LanguageLaunch.cpp

add blocking semantics to LaunchKernel and Memcpy
DeltaFile
+131-0offload/test/offloading/CUDA/blocking_stream_semantics.cu
+125-0offload/test/offloading/HIP/blocking_stream_semantics.hip
+47-4offload/languages/kernel/include/LanguageUtils.h
+17-3offload/languages/kernel/src/LanguageLaunch.cpp
+10-5offload/languages/kernel/src/LanguageRuntime.cpp
+4-2offload/test/offloading/HIP/stream_api.hip
+334-144 files not shown
+343-1810 files

LLVM/project f39d581libc/include CMakeLists.txt signal.yaml, libc/include/llvm-libc-macros/linux signal-macros.h

[libc] Minor fixes/additions to signal.h header. (#217469)

* Fix a typo for si_overrun field inside siginfo_t struct (it is
accessible via `si_overrun` macro, and names should match)
* Add `sig_t` type which is used in BSD for signal handler function.
It's identical to GNU's `sighandler_t`, and glibc provides both. Clarify
this in their YAML entries.
* Add more Linux-specific `SI_*` values.
DeltaFile
+20-0libc/include/llvm-libc-types/sig_t.h
+5-0libc/include/signal.yaml
+4-0libc/include/llvm-libc-macros/linux/signal-macros.h
+1-1libc/include/llvm-libc-types/siginfo_t.h
+1-0libc/include/llvm-libc-types/CMakeLists.txt
+1-0libc/include/CMakeLists.txt
+32-16 files

LLVM/project 5dff3feclang/include/clang/Sema SemaSwift.h, clang/lib/Sema SemaDecl.cpp SemaSwift.cpp

[clang] Redeclarations should inherit all unique SwiftAttrs (#217187)

SwiftAttrs are inherited by redeclarations but only the first attribute
was inherited, the rest was dropped. This behavior is confusing and
inconsistent that lead to some subtle bugs consuming these annotations.
This PR makes sure every instance with a unique argument is inherited.

Co-authored-by: Gabor Horvath <gaborh at apple.com>
DeltaFile
+70-0clang/test/AST/attr-swift_attr-redeclaration.c
+10-0clang/lib/Sema/SemaSwift.cpp
+3-0clang/include/clang/Sema/SemaSwift.h
+2-0clang/lib/Sema/SemaDecl.cpp
+85-04 files

LLVM/project 7a9b0c1llvm/lib/Transforms/Scalar LoopFuse.cpp, llvm/test/Transforms/LoopFusion guarded_peel.ll different_guards.ll

[LoopFusion]  Do not peel guarded loops to enable fusion (#217379)

Loop fusion currently tries to peel guarded loops to expose fusion opportunity.
The logic has a bug: Once we confirm two loops have small difference in
their iteration count and are eligible for peeling, we blindly allow them to
have different guards. The problem is that in some cases, conditions of the
loop guards have nothing to do with the loop iteration count. This is more
likely to be the case when a loop has constant iteration count. At the moment
fusion allows peeling only when both loops have constant iteration counts.
DeltaFile
+63-0llvm/test/Transforms/LoopFusion/different_guards.ll
+13-36llvm/test/Transforms/LoopFusion/guarded_peel.ll
+15-14llvm/lib/Transforms/Scalar/LoopFuse.cpp
+91-503 files

LLVM/project e45fa77lldb/unittests/Target TargetAPIMutexTest.cpp

[lldb][test] Unlock the mutex completely before exiting the test (#217466)

This test fails with hardened libcxx otherwise.

Fixes #212872

---------

Co-authored-by: Med Ismail Bennani <ismail at bennani.ma>
DeltaFile
+9-0lldb/unittests/Target/TargetAPIMutexTest.cpp
+9-01 files

LLVM/project 851ff0emlir/lib/Dialect/X86/Transforms MoveAccumulatorForContractLoop.cpp, mlir/test/Dialect/X86 move-acc-for-contract-loop.mlir

[MLIR][X86] Track accumulator rewrites (#217477)

Route accumulator and result-user operand updates through
PatternRewriter. This lets greedy rewrite listeners observe every
in-place mutation.

Assisted-by: Codex
DeltaFile
+4-2mlir/lib/Dialect/X86/Transforms/MoveAccumulatorForContractLoop.cpp
+0-3mlir/test/Dialect/X86/move-acc-for-contract-loop.mlir
+4-52 files

NetBSD/pkgsrc-wip bc42ecbgrafana distinfo go-modules.mk, grafana/patches patch-go.mod patch-.._k8s.io_apiserver_pkg_server_options_serving__unix.go

grafana: carry over illumos fix from www/

... but add the patch locally here rather than
pointing at jperkin's fork for maintainability.
DeltaFile
+1,039-1,046grafana/go-modules.mk
+46-0grafana/patches/patch-.._k8s.io_apiserver_pkg_server_options_serving__noportreuse.go
+4-23grafana/distinfo
+16-7grafana/patches/patch-go.sum
+10-0grafana/patches/patch-.._k8s.io_apiserver_pkg_server_options_serving__unix.go
+3-1grafana/patches/patch-go.mod
+1,118-1,0771 files not shown
+1,120-1,0777 files

LLVM/project 3b44108clang/lib/CodeGen CGBuiltin.cpp

Fix typo in assert string
DeltaFile
+1-1clang/lib/CodeGen/CGBuiltin.cpp
+1-11 files

LLVM/project e21cfc0llvm/include/llvm/Analysis LibcallLoweringInfo.h, llvm/include/llvm/CodeGen LibcallLoweringInfo.h

Analysis: Move LibcallLoweringInfo from CodeGen to Analysis (#210322)

Middle end passes need to be able to reason about library call
availability and potentially emit them without depending on codegen.
TargetLibraryInfo already lives in Analysis, and this is a step towards
the eventual merger. For now this is a mostly mechanical move, type
erasing the reference to TargetSubtargetInfo.

The per-subtarget customization (TargetSubtargetInfo::initLibcallLoweringInfo)
is inverted into a caller-supplied function_ref, so the Analysis types
carry no CodeGen/TargetSubtargetInfo reference. The module map is keyed on 
an opaque erased pointer. CodeGen continues looking up based on the subtarget.

It is not yet in a state where it is usable from middle end passes; that
will come later. In principle we should be able to write arbitrary rules based 
on a function's ABI attributes for which calls can be used.

Co-authored-by: Claude (Claude Opus 4.8) <noreply at anthropic.com>
DeltaFile
+160-0llvm/include/llvm/Analysis/LibcallLoweringInfo.h
+13-114llvm/include/llvm/CodeGen/LibcallLoweringInfo.h
+23-35llvm/lib/CodeGen/LibcallLoweringInfo.cpp
+49-0llvm/lib/Analysis/LibcallLoweringInfo.cpp
+5-5llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
+5-5llvm/lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
+255-15915 files not shown
+276-17321 files