LLVM/project 1e679c0llvm/cmake/modules HandleLLVMOptions.cmake, mlir CMakeLists.txt

[CMake] Move -Wno-unused-but-set-parameter from MLIR up to LLVM (#221824)

This warning is known to have false positives with GCC versions before
14.

Since 3aec6a40bb4e49f9ea181ac5c949b6c7c20a5465, this warning appears
when building LLVMSupport as well - thus move the disabling of the
warning up from MLIR to all of LLVM.

In HandleLLVMOptions, the common procedure is to not check for whether
the options are supported or not, but to just hardcode the version
ranges where the options are supported, per compiler.

This option (and -Wunused-but-set-parameter) is available in GCC since
long before our minimum required version.
DeltaFile
+0-7mlir/CMakeLists.txt
+7-0llvm/cmake/modules/HandleLLVMOptions.cmake
+7-72 files

LLVM/project d402c61llvm/lib/Target/X86 X86ISelLowering.cpp X86InstrCompiler.td, llvm/test/CodeGen/X86 PR40322.ll atomic-unordered.ll

[X86] Fold atomic loads into compares (#221290)

A compare of an atomic load kept the load in a register (mov + cmp/test)
where a compare of a regular load folds the load into the compare's
memory operand. The folded form performs a single full-width load, and
on x86 an ordinary load already provides every ordering up to seq_cst,
so folding is legal for any non-extending atomic load.

Add isel patterns folding an atomic load into CMP (mi/mr/rm forms across
i8/i16/i32/i64). Compare-to-zero already reaches these via EmitTest;
nonzero and register compares are emitted as a flag-only X86ISD::SUB (to
enable CSE with a real subtract) whose load the peephole then folds. The
peephole cannot move an ordered access, so those never folded for atomic
loads. Emit X86ISD::CMP instead when an operand is a foldable atomic
load: it has no non-atomic sibling to CSE with anyway.

x86lint reports 5854 "load foldable into compare" sites in a release
build of Firefox's libxul.so; sampling shows the majority are
atomic-load compares of the kind this folds -- mozilla::Atomic and

    [5 lines not shown]
DeltaFile
+370-0llvm/test/CodeGen/X86/atomic-cmp-fold.ll
+31-0llvm/lib/Target/X86/X86InstrCompiler.td
+12-0llvm/lib/Target/X86/X86ISelLowering.cpp
+5-5llvm/test/CodeGen/X86/atomic-unordered.ll
+1-2llvm/test/CodeGen/X86/PR40322.ll
+419-75 files

LLVM/project 05fa66ellvm/test/CodeGen/X86 var-permute-128.ll stack-align.ll

[UpdateTestChecks][X86] Allow --no_x86_scrub_sp to disable folded stack spill/restore stack math scrubing (#221788)

We were handling cases to show general load/store stack math, but had
missed the r/w/rmw folded cases
DeltaFile
+137-137llvm/test/CodeGen/X86/swifterror.ll
+54-54llvm/test/CodeGen/X86/llvm.sincos.vec.ll
+50-50llvm/test/CodeGen/X86/subcarry.ll
+8-8llvm/test/CodeGen/X86/huge-stack.ll
+4-4llvm/test/CodeGen/X86/var-permute-128.ll
+4-4llvm/test/CodeGen/X86/stack-align.ll
+257-2572 files not shown
+264-2648 files

OPNSense/core 5d4fb31src/opnsense/www/js/widgets/Metadata Core.xml

system: add back the service widget link
DeltaFile
+1-0src/opnsense/www/js/widgets/Metadata/Core.xml
+1-01 files

OPNSense/core ef4d37asrc/www firewall_nat_out.php

firewall: add source NAT migration banner to outbound NAT
DeltaFile
+7-0src/www/firewall_nat_out.php
+7-01 files

OPNSense/core 978f54asrc/opnsense/www/js/widgets BaseGaugeWidget.js Disk.js

widget: disk: fix loading issues (#10849)

(cherry picked from commit 19ad6f0a6b27880f58161856514b68c1ec3dc6e6)
DeltaFile
+20-11src/opnsense/www/js/widgets/Disk.js
+2-2src/opnsense/www/js/widgets/BaseGaugeWidget.js
+22-132 files

OPNSense/core 63e2cecsrc/etc/inc config.inc

interfaces: provide "uuid" in legacy_config_get_interfaces()
DeltaFile
+1-0src/etc/inc/config.inc
+1-01 files

LLVM/project df3c1f7llvm/lib/Target/AMDGPU AMDGPUPassRegistry.def AMDGPUTargetMachine.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-mui.mir regbankselect-load.mir

[AMDGPU][GIsel][NPM] Port "AMDGPURegBankLegalize" to NPM (#217322)

Probably doesn't require all tests to be updated.

Assisted-by: Opus-4.8,
DeltaFile
+50-17llvm/lib/Target/AMDGPU/AMDGPURegBankLegalize.cpp
+21-3llvm/lib/Target/AMDGPU/AMDGPU.h
+2-2llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+3-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
+1-1llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
+1-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-mui.mir
+78-231 files not shown
+79-237 files

LLVM/project cc798fbllvm/docs NVPTXUsage.md, llvm/lib/IR AutoUpgrade.cpp

[LLVM][NVPTX] Add Rubin extensions for G2S Tensor intrinsics (#220029)

This change adds support for the Rubin-extended Global-to-Shared tensor
copy intrinsics for both the Cluster and CTA variants:

1. 32-bit multicast mask support: the G2S Cluster intrinsics are now
overloaded on the multicast mask type (i16/i32); an i32 mask lowers to
`.multicast::cluster::32b`.
2. Data-validity reporting through the mbarrier: all G2S Cluster and CTA
intrinsics, including the property-override forms, take a trailing `i32
%validate_pattern` immediate (range [0, 6)) that selects a
`.mbarrier::report::validity` qualifier. It defaults to 0 (disabled).
3. Override tensor map properties: the G2S Cluster and CTA intrinsics
now support `.override::global_address`, optionally followed by
`.override::global_dim` / `.override::global_dim_stride`, across all
load modes. The dim/stride overrides apply to tile mode only; im2col and
gather4 support the global-address override only.

The new `validate_pattern` argument changes the IR signatures of all G2S

    [3 lines not shown]
DeltaFile
+253-75llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+229-42llvm/docs/NVPTXUsage.md
+108-108mlir/test/Target/LLVMIR/nvvm/tma_load_cluster_im2col.mlir
+212-0llvm/test/CodeGen/NVPTX/cp-async-bulk-tensor-g2s-mc32.ll
+205-0llvm/test/CodeGen/NVPTX/cp-async-bulk-tensor-g2s-override.ll
+133-61llvm/lib/IR/AutoUpgrade.cpp
+1,140-28625 files not shown
+2,088-66431 files

LLVM/project 0ffb307llvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel amdgpu-irtranslator.ll

[GlobalISel] Lower bytecast in IRTranslator

Add translateByteCast and move byte-specific cast lowering out of
translateBitCast. Byte-pointer crossings use G_INTTOPTR/G_PTRTOINT; other
byte casts reuse the existing G_BITCAST/COPY paths.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+17-17llvm/test/CodeGen/AMDGPU/GlobalISel/amdgpu-irtranslator.ll
+19-8llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+36-252 files

LLVM/project a5cbaeellvm/include/llvm/Bitcode LLVMBitCodes.h, llvm/lib/Bitcode/Reader BitcodeReader.cpp

[Bitcode] Add ByteCast encoding and decoding

Add CAST_BYTECAST to the bitcode cast opcode table and wire it through the
reader and writer so bytecast instructions round-trip in bitcode.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+72-0llvm/test/Bitcode/bytecast.ll
+1-0llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+1-0llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+1-0llvm/include/llvm/Bitcode/LLVMBitCodes.h
+75-04 files

LLVM/project 9edc538llvm/include/llvm-c Core.h, llvm/lib/IR Core.cpp

[LLVM-C] Add LLVMBuildByteCast

Expose a C API builder for the bytecast instruction, mirroring the existing
LLVMBuildBitCast entry point, and teach llvm-c-test --echo to clone bytecast
so the new entry point is exercised by a round-trip test.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+53-0llvm/test/Bindings/llvm-c/bytecast.ll
+6-0llvm/lib/IR/Core.cpp
+5-0llvm/tools/llvm-c-test/echo.cpp
+2-0llvm/include/llvm-c/Core.h
+66-04 files

LLVM/project f686638llvm/include/llvm/IR Operator.h Instructions.h, llvm/lib/IR Instructions.cpp

[IR] Add ByteCast opcode and ByteCastInst

Introduce a dedicated bytecast instruction for casts involving byte types.
Split byte cast validation out of bitcast, add ByteCastInst, constant folding,
and verifier support. Renumber subsequent opcodes to keep Instruction.def unique.

Add LLVMByteCast to the C API opcode enum for Core.cpp mapping tables, minimal
codegen stubs, assembler/llubi support, and bitcast-to-bytecast fallback in the
parser so existing IR text continues to assemble.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+83-12llvm/lib/IR/Instructions.cpp
+45-44llvm/test/tools/llvm-ir2vec/entities.ll
+29-29llvm/test/tools/llvm-ir2vec/triplets.ll
+14-14llvm/unittests/Analysis/IR2VecTest.cpp
+28-0llvm/include/llvm/IR/Instructions.h
+24-0llvm/include/llvm/IR/Operator.h
+223-9928 files not shown
+327-14034 files

HardenedBSD/src 9f81818share/misc bsd-family-tree, sys/dev/apple_bce apple_bce_vhci.h apple_bce_vhci.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+134-88sys/dev/apple_bce/apple_bce_vhci.c
+41-37share/misc/bsd-family-tree
+14-0sys/dev/nvme/nvme.h
+5-4sys/dev/nvme/nvme_ctrlr_cmd.c
+7-0sys/dev/nvme/nvme_ctrlr.c
+2-0sys/dev/apple_bce/apple_bce_vhci.h
+203-1296 files

HardenedBSD/src 2c3345bcontrib/expat Changes, contrib/expat/lib xmltok.h xmlparse.c

Merge remote-tracking branch 'rad/hardened/15-stable/main' into hardened/15-stable/pledge
DeltaFile
+189-64contrib/expat/lib/xmlparse.c
+79-0contrib/expat/tests/basic_tests.c
+65-0contrib/expat/Changes
+57-1contrib/expat/tests/misc_tests.c
+3-3lib/libexpat/expat_config.h
+2-2contrib/expat/lib/xmltok.h
+395-7010 files not shown
+408-7916 files

HardenedBSD/src dd6184fshare/misc bsd-family-tree, sys/dev/apple_bce apple_bce_vhci.h apple_bce_vhci.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+134-88sys/dev/apple_bce/apple_bce_vhci.c
+41-37share/misc/bsd-family-tree
+14-0sys/dev/nvme/nvme.h
+5-4sys/dev/nvme/nvme_ctrlr_cmd.c
+7-0sys/dev/nvme/nvme_ctrlr.c
+2-0sys/dev/apple_bce/apple_bce_vhci.h
+203-1296 files

HardenedBSD/src c84ea8fcontrib/expat Changes, contrib/expat/lib xmltok.h xmlparse.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+189-64contrib/expat/lib/xmlparse.c
+79-0contrib/expat/tests/basic_tests.c
+65-0contrib/expat/Changes
+57-1contrib/expat/tests/misc_tests.c
+3-3lib/libexpat/expat_config.h
+2-2contrib/expat/lib/xmltok.h
+395-7010 files not shown
+408-7916 files

HardenedBSD/ports d593a2adevel/uv Makefile.crates distinfo, japanese/fcitx5-karukan Makefile.crates distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+231-275sysutils/tealdeer/distinfo
+114-136sysutils/tealdeer/Makefile.crates
+133-89devel/uv/distinfo
+107-107japanese/fcitx5-karukan/distinfo
+65-43devel/uv/Makefile.crates
+52-52japanese/fcitx5-karukan/Makefile.crates
+702-702102 files not shown
+1,465-1,229108 files

LLVM/project c14dc03llvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel amdgpu-irtranslator.ll

[GlobalISel] Lower bytecast in IRTranslator

Add translateByteCast and move byte-specific cast lowering out of
translateBitCast. Byte-pointer crossings use G_INTTOPTR/G_PTRTOINT; other
byte casts reuse the existing G_BITCAST/COPY paths.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+17-17llvm/test/CodeGen/AMDGPU/GlobalISel/amdgpu-irtranslator.ll
+19-8llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+36-252 files

LLVM/project f68cf9fllvm/include/llvm-c Core.h, llvm/lib/IR Core.cpp

[LLVM-C] Add LLVMBuildByteCast

Expose a C API builder for the bytecast instruction, mirroring the existing
LLVMBuildBitCast entry point, and teach llvm-c-test --echo to clone bytecast
so the new entry point is exercised by a round-trip test.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+53-0llvm/test/Bindings/llvm-c/bytecast.ll
+6-0llvm/lib/IR/Core.cpp
+5-0llvm/tools/llvm-c-test/echo.cpp
+2-0llvm/include/llvm-c/Core.h
+66-04 files

LLVM/project 537d8fallvm/include/llvm/Bitcode LLVMBitCodes.h, llvm/lib/Bitcode/Reader BitcodeReader.cpp

[Bitcode] Add ByteCast encoding and decoding

Add CAST_BYTECAST to the bitcode cast opcode table and wire it through the
reader and writer so bytecast instructions round-trip in bitcode.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+72-0llvm/test/Bitcode/bytecast.ll
+1-0llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+1-0llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+1-0llvm/include/llvm/Bitcode/LLVMBitCodes.h
+75-04 files

LLVM/project be70468llvm/include/llvm/IR Operator.h Instructions.h, llvm/lib/IR Instructions.cpp

[IR] Add ByteCast opcode and ByteCastInst

Introduce a dedicated bytecast instruction for casts involving byte types.
Split byte cast validation out of bitcast, add ByteCastInst, constant folding,
and verifier support. Renumber subsequent opcodes to keep Instruction.def unique.

Add LLVMByteCast to the C API opcode enum for Core.cpp mapping tables, minimal
codegen stubs, assembler/llubi support, and bitcast-to-bytecast fallback in the
parser so existing IR text continues to assemble.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+83-12llvm/lib/IR/Instructions.cpp
+45-44llvm/test/tools/llvm-ir2vec/entities.ll
+29-29llvm/test/tools/llvm-ir2vec/triplets.ll
+14-14llvm/unittests/Analysis/IR2VecTest.cpp
+28-0llvm/include/llvm/IR/Instructions.h
+24-0llvm/include/llvm/IR/Operator.h
+223-9928 files not shown
+327-14034 files

NetBSD/pkgsrc HuvPANFdoc CHANGES-2026

   Updated audio/py-beets, textproc/py-pyquery, devel/py-blessed, sysutils/py-kubernetes
VersionDeltaFile
1.5925+5-1doc/CHANGES-2026
+5-11 files

NetBSD/pkgsrc ZC2AnKLsysutils/py-kubernetes distinfo Makefile

   py-kubernetes: updated to 36.0.3

   v36.0.3

   Kubernetes API Version: v1.36.2

   Bug or Regression
   - Fix Watch.stream selecting watch instead of follow when streaming pod logs.
   - Start the leader election worker thread as a daemon so it does not block process shutdown.
   - Fix readline_channel, readline_stdout and readline_stderr crashing with OverflowError when using the default timeout, and returning None when a timeout expires.
   - Fix format_quantity returning imprecise, non-canonical values for the milli, micro and nano suffixes, and ignoring quantize=Decimal(0).
VersionDeltaFile
1.20+6-6sysutils/py-kubernetes/Makefile
1.13+4-4sysutils/py-kubernetes/distinfo
+10-102 files

LLVM/project 3511bdamlir/include/mlir/Dialect/LLVMIR LLVMIntrinsicOps.td, mlir/test/Conversion/VectorToLLVM use-vector-alignment.mlir vector-to-llvm-interface.mlir

[mlir][llvm] Fix metadata and alignment on masked memory intrinsics

llvm.intr.masked.load, masked.store, masked.gather and masked.scatter
implemented neither AccessGroupOpInterface nor AliasAnalysisOpInterface,
so they could not carry access_groups, alias_scopes, noalias_scopes or
tbaa. Importing LLVM IR that attached such metadata to one of them
silently dropped it, while llvm.memcpy in the same module preserved it.

Also widen alignment from I32Attr to I64Attr, matching the rest of the
LLVM dialect and LLVM proper, and make it optional. LangRef gives the
default alignment of these four intrinsics as the ABI alignment of the
type, exactly as for llvm.load and llvm.store, so an absent align
parameter attribute now imports as an absent alignment attribute instead
of being materialised as align 1, and an absent alignment attribute
exports without an align parameter attribute. This changes the textual
IR, as alignment = 4 : i32 becomes alignment = 4 : i64. Downstream
updates should rewrite only lines that mention a masked intrinsic rather
than blanket-substituting i32 with i64; other i32 spellings must stay,
including llvm.intr.matrix.*'s rows and columns attributes and i32

    [3 lines not shown]
DeltaFile
+167-47mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+73-0mlir/test/Target/LLVMIR/masked-intrinsic-metadata.mlir
+64-0mlir/test/Target/LLVMIR/Import/masked-intrinsic-metadata.ll
+35-23mlir/test/Target/LLVMIR/Import/intrinsic.ll
+26-26mlir/test/Conversion/VectorToLLVM/vector-to-llvm-interface.mlir
+16-16mlir/test/Conversion/VectorToLLVM/use-vector-alignment.mlir
+381-11211 files not shown
+468-14917 files

NetBSD/pkgsrc RprNVxMdevel/py-blessed distinfo Makefile

   py-blessed: updated to 1.49.0

   1.49
   * introduce: :meth:`~Terminal.get_font_coverage` reports codepoints the terminal font has a glyph
     for, by mintty's ``OSC 7771`` Font Glyph Coverage Enquiry or the ``APC 25a1`` Glyph Protocol,
     :ghpull:`407`.
   * bugfix: :ref:`legacy mouse` event names and button values, mouse release events returned by
     :meth:`~Terminal.inkey` were always ``MOUSE_LEFT_RELEASED`` for all buttons, they now report
     ``MOUSE_RELEASED``, :ghpull:`406`.
   * bugfix: Mouse buttons 6 through 11 were erroneously decoded as left, middle, or right instead of
     ``MOUSE_BUTTON_6`` through ``MOUSE_BUTTON_11``, :ghpull:`406`.
   * improve: performance of automatic terminal query replies, :ghpull:`405`.
   * improve: all parameterized capabilities are now memorized, about 50x faster, :ghpull:`404`.
   * bugfix: :meth:`~Terminal.truncate` by bump of dependency ``wcwidth>=0.8.3``, :ghissue:`402`.

   1.48
   *
     bugfix: :meth:`~Terminal.async_inkey` dropped keystrokes while another task is busy,
     :ghissue:`401`.

    [16 lines not shown]
VersionDeltaFile
1.16+4-4devel/py-blessed/distinfo
1.21+4-4devel/py-blessed/Makefile
+8-82 files

NetBSD/pkgsrc MlIYfbFtextproc/py-pyquery distinfo Makefile

   py-pyquery: updated to 2.1.0

   2.1.0 (2026-07-27)
   - pseudo selector ``:has()`` no longer support strings as arguments
VersionDeltaFile
1.20+5-5textproc/py-pyquery/Makefile
1.13+4-4textproc/py-pyquery/distinfo
+9-92 files

LLVM/project 7865658offload/liboffload exports, offload/liboffload/src OffloadImpl.cpp

[offload][omp] Route RPC callback registration through liboffload

Replace __tgt_register_rpc_callback's direct iteration over plugins
with olIteratePlatforms + olPlatformRegisterRPCCallback, and drop the
now-unused RPCServerTy::registerCallback export. Move the
initialized/has-devices guard that used to live in libomptarget into
olPlatformRegisterRPCCallback_impl.
DeltaFile
+7-3offload/libomptarget/interface.cpp
+4-0offload/liboffload/src/OffloadImpl.cpp
+0-1offload/liboffload/exports
+11-43 files

LLVM/project 86fa53eoffload/include device.h, offload/liboffload exports

[offload][omp] Query device info directly through liboffload

Route DeviceTy::getInfo through olGetDeviceInfo instead of the
plugin's obtain_device_info, and drop the now-unused
GenericPluginTy::obtain_device_info wrapper and its liboffload
export.
DeltaFile
+4-9offload/include/device.h
+0-10offload/plugins-nextgen/common/src/PluginInterface.cpp
+0-3offload/plugins-nextgen/common/include/PluginInterface.h
+0-1offload/liboffload/exports
+4-234 files

LLVM/project 9924572offload/liboffload exports, offload/libompaccsupport device.cpp

[offload][omp] Implement printDeviceInfo through liboffload
DeltaFile
+181-2offload/libompaccsupport/device.cpp
+0-19offload/plugins-nextgen/common/src/PluginInterface.cpp
+0-6offload/plugins-nextgen/common/include/PluginInterface.h
+0-1offload/liboffload/exports
+181-284 files