LLVM/project f560e91 — mlir/lib/Conversion/SPIRVToLLVM SPIRVToLLVM.cpp, mlir/test/Conversion/SPIRVToLLVM cl-ops-to-llvm.mlir

[mlir][SPIR-V] Add SPIRVToLLVM conversion for CL.sincos (#237742)
DeltaFile
+28-1mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+23-0mlir/test/Conversion/SPIRVToLLVM/cl-ops-to-llvm.mlir
+51-12 files

LLVM/project 6ecc5ce — mlir/include/mlir/Dialect/OpenMP OpenMPOpsEnums.h, mlir/include/mlir/Dialect/SPIRV/IR SPIRVEnums.h

[mlir][ODS] Include headers required by generated enum declarations and definitions

Generated enum declarations and definitions use C++ constructs that are
not declared by any header they include. They therefore relied on the
surrounding source file to include these headers first.

The enum declarations and definitions now include the headers declaring
these constructs, depending on the features of the enums.

The declarations still only forward declare `AsmParser` and `FieldParser`
to keep the generated headers cheap to include.

Similar to #236155 and #238735 but for the enum generator.

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+86-0mlir/test/mlir-tblgen/cpp-includes-enums.td
+61-7mlir/tools/mlir-tblgen/EnumsGen.cpp
+0-5mlir/include/mlir/Dialect/OpenMP/OpenMPOpsEnums.h
+0-3mlir/unittests/TableGen/EnumsGenTest.cpp
+0-2mlir/include/mlir/Dialect/Transform/IR/TransformAttrs.h
+0-2mlir/include/mlir/Dialect/SPIRV/IR/SPIRVEnums.h
+147-1912 files not shown
+147-3218 files

LLVM/project 577bf51 — llvm/lib/Transforms/Scalar DeadStoreElimination.cpp, llvm/test/Transforms/DeadStoreElimination noop-stores.ll

[DSE] Extend same ptr operand check to must-aliasing pointers in `storeIsNoop` (#238722)

We have observed a few DSE missed opportunities with a handful of CUDA
APIs that merely annotate a pointer with a cache hint and return it
(notably, `cuda::associate_access_property`). Thus, extend the existing
pointer equality check to must-aliasing pointers as well.

Co-authored-by: Alexander Krolik <akrolik at nvidia.com>
DeltaFile
+26-0llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
+5-1llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+31-12 files

FreeBSD/src 66d078c — sys/netlink netlink_sysevent.c

netlink: Pre-register the missing devctl event systems

devctl_notify() can be called with a mutex held. If the event system is
not listed in devctl_systems[], sysevent_get_group() calls
sysevent_new_group(), which calls strdup() with M_WAITOK, and we may end
up sleeping while holding a non-sleepable mutex.

Add the missing systems.

While here, remove the nonexistent KERNEL system.

PR:             299272
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61161
DeltaFile
+3-1sys/netlink/netlink_sysevent.c
+3-11 files

FreeBSD/ports e104565 — multimedia/haruna pkg-plist Makefile

multimedia/haruna: Update to 1.9.0

Announcement: https://haruna.kde.org/blog/haruna-1.9/
DeltaFile
+3-3multimedia/haruna/distinfo
+1-2multimedia/haruna/Makefile
+1-0multimedia/haruna/pkg-plist
+5-53 files

FreeBSD/ports d1435aa — multimedia/mpv Makefile pkg-plist, multimedia/mpv/files patch-meson.build

multimedia/mpv: Update to 0.42.0

Release notes: https://github.com/mpv-player/mpv/releases/tag/v0.42.0
DeltaFile
+6-6multimedia/mpv/files/patch-meson.build
+3-3multimedia/mpv/distinfo
+1-2multimedia/mpv/Makefile
+2-1multimedia/mpv/pkg-plist
+12-124 files

FreeBSD/ports 2b2a0ee — x11-toolkits/kirigami-addons-qt6 Makefile distinfo

x11-toolkits/kirigami-addons-qt6: Update to 1.16.0
DeltaFile
+48-0x11-toolkits/kirigami-addons-qt6/pkg-plist
+3-3x11-toolkits/kirigami-addons-qt6/distinfo
+1-1x11-toolkits/kirigami-addons-qt6/Makefile
+52-43 files

FreeBSD/ports ea560eb — graphics/qcomicbook distinfo Makefile, graphics/qcomicbook/files patch-src__FrameDetect__CompareFrames.h patch-src__CMakeLists.txt

graphics/qcomicbook: Update to 0.10.0, migrate to Qt6, take maintainership

- Point to https://github.com/valepert/QComicBook fork.
- Raise the compiler floor to C++17.
- Drop deprecation

Approved by:    makc (mentor)
Approved by:    arrowd (co-mentor)

(cherry picked from commit 418f27c2542824710095a6465d8b2532241af5ce)
DeltaFile
+0-25graphics/qcomicbook/files/patch-src_Archivers_P7zipArchiverStrategy.cpp
+10-13graphics/qcomicbook/Makefile
+0-11graphics/qcomicbook/files/patch-src__CMakeLists.txt
+0-10graphics/qcomicbook/files/patch-src__FrameDetect__CompareFrames.h
+3-3graphics/qcomicbook/distinfo
+13-625 files

FreeBSD/ports b99c828 — graphics/qimgv Makefile, graphics/qimgv/files patch-qimgv_main.cpp

graphics/qimgv: Remove Qt5 build option

Make the port build unconditionally with Qt6. The main.cpp patch drops
its Qt version conditional and sets the desktop filename for Qt6 only.
Bump PORTREVISION.

Approved by:    arrowd (co-mentor)

(cherry picked from commit 2e6c1efc6d023024a84676b1d0ca72da582e5bcc)
DeltaFile
+12-16graphics/qimgv/Makefile
+2-6graphics/qimgv/files/patch-qimgv_main.cpp
+14-222 files

FreeBSD/ports 418f27c — graphics/qcomicbook distinfo Makefile, graphics/qcomicbook/files patch-src__FrameDetect__CompareFrames.h patch-src__CMakeLists.txt

graphics/qcomicbook: Update to 0.10.0, migrate to Qt6, take maintainership

- Point to https://github.com/valepert/QComicBook fork.
- Raise the compiler floor to C++17.
- Drop deprecation

Approved by:    makc (mentor)
Approved by:    arrowd (co-mentor)
DeltaFile
+0-25graphics/qcomicbook/files/patch-src_Archivers_P7zipArchiverStrategy.cpp
+10-13graphics/qcomicbook/Makefile
+0-11graphics/qcomicbook/files/patch-src__CMakeLists.txt
+0-10graphics/qcomicbook/files/patch-src__FrameDetect__CompareFrames.h
+3-3graphics/qcomicbook/distinfo
+13-625 files

FreeBSD/ports 2e6c1ef — graphics/qimgv Makefile, graphics/qimgv/files patch-qimgv_main.cpp

graphics/qimgv: Remove Qt5 build option

Make the port build unconditionally with Qt6. The main.cpp patch drops
its Qt version conditional and sets the desktop filename for Qt6 only.
Bump PORTREVISION.

Approved by:    arrowd (co-mentor)
DeltaFile
+12-16graphics/qimgv/Makefile
+2-6graphics/qimgv/files/patch-qimgv_main.cpp
+14-222 files

LLVM/project ee27f89 — mlir/lib/Dialect/SPIRV/Transforms UnifyAliasedResourcePass.cpp, mlir/test/Dialect/SPIRV/Transforms unify-aliased-resource.mlir

[mlir][SPIRV] Handle vector stores when unifying aliased resources (#232185)

I hit this while compiling JAX training code to WebGPU through IREE.

The alias-unification pass can select a smaller vector resource, but its
store conversion currently only handles scalars. Handle vector stores by
splitting them into stores of the canonical vector type, preserving
memory-access flags and alignment.

---------

Signed-off-by: anutosh491 <andersonbhat491 at gmail.com>
DeltaFile
+169-0mlir/test/Dialect/SPIRV/Transforms/unify-aliased-resource.mlir
+67-6mlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp
+236-62 files

LLVM/project 5420fce — mlir/lib/Conversion/SPIRVToLLVM SPIRVToLLVM.cpp, mlir/test/Conversion/SPIRVToLLVM cl-ops-to-llvm.mlir gl-ops-to-llvm.mlir

[mlir][SPIR-V] Add SPIRVToLLVM conversion for CL.ldexp and GL.Ldexp (#237745)

Vector exponents are not covered since llvm.intr.ldexp accepts only a
scalar integer exponent
DeltaFile
+11-0mlir/test/Conversion/SPIRVToLLVM/gl-ops-to-llvm.mlir
+7-0mlir/test/Conversion/SPIRVToLLVM/cl-ops-to-llvm.mlir
+2-0mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
+20-03 files

OpenBSD/ports 1soI09S — devel/ptlib Makefile distinfo

   Update to ptlib-2.10.9.8.
VersionDeltaFile
1.15+2-2devel/ptlib/distinfo
1.60+1-1devel/ptlib/Makefile
+3-32 files

LLVM/project eb85651 — llvm/lib/Target/RISCV RISCVInstrInfoV.td, llvm/test/CodeGen/RISCV/rvv vmv.v.v-peephole.ll

[RISCV] Set DestEEW = EEW1 for VLM_V (#239498)

Assisted-by: Claude
DeltaFile
+14-0llvm/test/CodeGen/RISCV/rvv/vmv.v.v-peephole.ll
+1-1llvm/lib/Target/RISCV/RISCVInstrInfoV.td
+15-12 files

LLVM/project ebc8a1b — llvm/lib/ObjCopy/MachO MachOReader.cpp, llvm/test/tools/llvm-objcopy/MachO arm64-relocs.s

[llvm-objcopy][MachO] Handle ARM64_RELOC_ADDEND for CPU_TYPE_ARM64_32 (#238296)

`ARM64_RELOC_ADDEND` was only handled for arm64, not arm64_32. On
arm64_32 the addend was read as a section index, so `llvm-objcopy` could
crash or write a wrong addend. Handle it for arm64_32 too, and add an
arm64_32 case to `arm64-relocs.s`.

Fixes #238273
I wrote the code and verified everything myself. Claude Code helped me
identify the issue.

Assisted-by: Claude Code
DeltaFile
+4-2llvm/lib/ObjCopy/MachO/MachOReader.cpp
+5-0llvm/test/tools/llvm-objcopy/MachO/arm64-relocs.s
+9-22 files

OpenBSD/ports uwfRJPd — x11/gtk-vnc Makefile distinfo, x11/gtk-vnc/pkg PLIST

   Update to gtk-vnc-1.6.0.
VersionDeltaFile
1.19+41-0x11/gtk-vnc/pkg/PLIST
1.24+2-2x11/gtk-vnc/distinfo
1.79+1-1x11/gtk-vnc/Makefile
+44-33 files

FreeBSD/ports 20a2a74 — misc/ncnn Makefile pkg-plist

misc/ncnn: fix plist

Reported by:    fallout
DeltaFile
+1-1misc/ncnn/pkg-plist
+1-0misc/ncnn/Makefile
+2-12 files

LLVM/project db52992 — llvm/include/llvm/IR IRBuilder.h

Reapply [IRBuilder] Assert correct offset width for CreatePtrAdd (#239262)

Reapply #238806 without changes after fixing more CreatePtrAdd uses.

-----

Assert that the offset width matches the pointer index width. This is
supposed to become an IR well-formedness requirement when we switch to
ptradd, so we should start asserting it in the builder now.

Helpers like CreatePtrAddWith(Unsigned|Signed)Offset and
CreatePtrAddWith[SZ]ExtOrTrunc can be used to more conveniently create
ptradds with appropriately sized offsets.

Problematic uses of CreatePtrAdd were already adjusted in #238347.
DeltaFile
+4-2llvm/include/llvm/IR/IRBuilder.h
+4-21 files

LLVM/project f6f7322 — llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp

[MemorySanitizer] Consistently use unsigned offsets (NFC) (#239193)

Helper functions for getting origin/shadow etc accepted a mix of int and
unsigned. I believe all of these offsets are non-negative, so use
unsigned everywhere to avoid confusion.
DeltaFile
+13-12llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+13-121 files

LLVM/project e0d0b97 — llvm/test/CodeGen/RISCV rvp-simd-32.ll rvp-simd-64.ll

[RISCV][P-ext] Remove line breaks from argument list of function definition in tests. NFC (#238881)

These line breaks cause the update_llc_test_checks.py script to put the
checks in the middle of the argument list.
DeltaFile
+23-44llvm/test/CodeGen/RISCV/rvp-simd-64.ll
+8-16llvm/test/CodeGen/RISCV/rvp-simd-32.ll
+31-602 files

FreeBSD/ports c9db94f — misc/py-onnxruntime Makefile, misc/py-onnxruntime/files patch-onnxruntime_core_platform_posix_env.cc

misc/py-onnxruntime: Fix loading models with external data

fcntl(F_KINFO) needs kf_structsize set to the size of the structure,
otherwise the kernel refuses the request.  Without it the FreeBSD branch
never resolved the path of an opened file, so no model with weights in an
external data file could be loaded.

Pending upstream as microsoft/onnxruntime#33433.

PR:                     300445
Approved by:            portmgr (blanket)
Sponsored by:           Netzkommune GmbH
DeltaFile
+15-2misc/py-onnxruntime/files/patch-onnxruntime_core_platform_posix_env.cc
+1-0misc/py-onnxruntime/Makefile
+16-22 files

OpenBSD/ports Aj6UZzK — lang/gcc/16 distinfo Makefile, lang/gcc/16/patches patch-gcc_config_arm_openbsd1_h

   lang/gcc/16: fix exception table encoding on OpenBSD/arm to fix build
VersionDeltaFile
1.17+2-2lang/gcc/16/distinfo
1.48+2-2lang/gcc/16/Makefile
1.2+3-1lang/gcc/16/patches/patch-gcc_config_arm_openbsd1_h
+7-53 files

LLVM/project 4c22a9f — mlir/include/mlir/Dialect/AMDGPU/IR AMDGPUDialectDecl.h, mlir/include/mlir/Dialect/Affine/IR AffineDialect.h

[mlir][ODS] Include headers required by generated dialect declarations and definitions (#239215)

Generated dialect declarations and definitions use C++ constructs that
are not declared by any header they include. They therefore relied on
the surrounding source file to include these headers first.

The dialect declarations now include the header declaring the dialect
base class, and the headers declaring `StringAttr` and `Operation` if
the dialect has discardable attributes. The dialect definitions include
`MLIRContext.h` if they load dependent dialects.

Similar to #236155 and #238735 but for the dialect generator.

Co-authored-by: Claude <noreply at anthropic.com>
DeltaFile
+40-0mlir/test/mlir-tblgen/cpp-includes-dialect.td
+20-0mlir/tools/mlir-tblgen/DialectGen.cpp
+0-3mlir/include/mlir/Dialect/LLVMIR/ROCDLDialectDecl.h
+0-2mlir/include/mlir/Dialect/Arith/IR/ArithDialect.h
+0-2mlir/include/mlir/Dialect/Affine/IR/AffineDialect.h
+0-2mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPUDialectDecl.h
+60-952 files not shown
+61-7658 files

LLVM/project f133b97 — utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes d1ec07e (#239493)

This fixes d1ec07e0431412a667fecd5c2708f3606b6799a4 (#238966).

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

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+2-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+2-01 files

LLVM/project 5c9aa46 — llvm/test/CodeGen/AMDGPU memintrinsic-unroll.ll amdgcn.bitcast.832bit.ll

[spr] update

Created using spr 2.0.0-beta.2
DeltaFile
+89,147-91,827llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+25,378-26,402llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+9,311-9,381llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+8,998-9,209llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+8,016-8,194llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
+7,335-7,432llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+148,185-152,44513,886 files not shown
+699,970-465,39813,892 files

FreeBSD/ports bec4e18 — www/py-flask-oauthlib Makefile

www/py-flask-oauthlib: mark broken and set to expire

the port is broken at runtime with current version of werkzeug in the tree.
Last release of it was 3 years ago and upstream author recommends to switch
to switch to Authlib (security/py-authlib).

PR:             299797
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+5-1www/py-flask-oauthlib/Makefile
+5-11 files

LLVM/project 47d998a — llvm/lib/Target/LoongArch LoongArchRegisterInfo.cpp, llvm/test/CodeGen/LoongArch/lasx xvldrepl-frame-index.ll

[LoongArch] Fix misaligned frame-index offset for vldrepl.{h,w,d}

eliminateFrameIndex did not check that the final offset is a multiple of
the access size for [X]VLDREPL_{H,W,D}, so a byte-aligned stack object
could produce an unencodable immediate. Materialize the address in a
scratch register in that case, as is already done for [X]VSTELM_*.

Assisted-by: LLM
DeltaFile
+12-0llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp
+6-3llvm/test/CodeGen/LoongArch/lsx/vldrepl-frame-index.ll
+6-3llvm/test/CodeGen/LoongArch/lasx/xvldrepl-frame-index.ll
+24-63 files

LLVM/project e641369 — llvm/test/CodeGen/LoongArch/lasx xvldrepl-frame-index.ll, llvm/test/CodeGen/LoongArch/lsx vldrepl-frame-index.ll

[LoongArch] Pre-commit tests for misaligned frame-index offset on vldrepl

Assisted-by: LLM
DeltaFile
+76-0llvm/test/CodeGen/LoongArch/lasx/xvldrepl-frame-index.ll
+76-0llvm/test/CodeGen/LoongArch/lsx/vldrepl-frame-index.ll
+152-02 files

FreeBSD/ports 5d7f083 — www/py-sockjs-tornado distinfo Makefile, www/py-sockjs-tornado/files patch-sockjs_tornado_transports_htmlfile.py

www/py-sockjs-tornado: update to 1.0.7

This release fixes runtime with tornado 6.5. Also add unreleased upstream
patch that's fix XSS issue. Port has been switched to pep517 with
porlint warnings fixed.

Pass maintainership to python@

PR:             299792
Reported by:    Patrick Crandol <patrick at crandol.com>
DeltaFile
+37-0www/py-sockjs-tornado/files/patch-sockjs_tornado_transports_htmlfile.py
+6-5www/py-sockjs-tornado/Makefile
+3-3www/py-sockjs-tornado/distinfo
+46-83 files