LLVM/project ea56c33llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fadd.ll

[MachineLICM] Use `RegisterClassInfo::getRegPressureSetLimit` (#211715)

This recommits #119826, which taught `MachineLICM` to use
`RegisterClassInfo` when computing register pressure limits so
reserved registers are accounted for (#118787).

The original change was reverted by eeac0ff because it increased
compile time by causing repeated `RegisterClassInfo` computations.

This PR is based on #210826, in which `MachineRegisterClassInfo`
analysis pass was added. `MachineRegisterClassInfo` is required
by `MachineLICM` now, but the intervening machine passes that do
not affect `RegisterClassInfo` now preserve it, so the analysis
is reused instead of recomputed.

Assisted-by: TRAE CLI (GPT-5.5)
DeltaFile
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,809-3,814llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,465-3,511llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,299-3,240llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,594-2,524llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20,441-20,41468 files not shown
+47,110-46,02774 files

LLVM/project 81a8451llvm/lib/Target/Mips MipsCallingConv.td MipsRegisterInfo.cpp, llvm/test/CodeGen/Mips write_register_gp.ll

[Mips] Fix $gp was restored when used as global register variable (#201778)

The function `eliminateDeadMI` would check `if (MRI.isReserved(Reg))`,
now we only set GP to reserved when `!Subtarget.isABICalls()`. So
`eliminateDeadMI` delete the `move $gp, $4`. And we would restore $gp
after instr selection through `$gp_64 = LD $sp_64, 8`.

Check the module metadata `llvm.named.register.$28` to detect if $28 is
used as global register. Then append new conditon when set $gp to
reserverd status and return CalleeSavedRegs without $gp.

Fix #176546.
DeltaFile
+31-0llvm/test/CodeGen/Mips/write_register_gp.ll
+17-5llvm/lib/Target/Mips/MipsRegisterInfo.cpp
+13-0llvm/lib/Target/Mips/MipsCallingConv.td
+61-53 files

LLVM/project 275365fllvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-merge-values.mir fp-int-conversions.ll

GlobalISel: Fix lowerMergeValues when dst type is float (#212795)

Lowering is done in the integer domain. Similar to the type
mismatch when dst is a pointer, make a bitcast when dst is float.
DeltaFile
+37-0llvm/test/CodeGen/AMDGPU/GlobalISel/fp-int-conversions.ll
+28-0llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir
+2-0llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+67-03 files

FreeBSD/ports 2583bd8java/openjdk25 Makefile distinfo

java/openjdk25: Update to version 25.0.4

Includes the following FreeBSD specific fixes:
- Set wxneeded flag for executables on FreeBSD.
- Fix build with clang 22

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3java/openjdk25/distinfo
+2-2java/openjdk25/Makefile
+5-52 files

LLVM/project dcce9declang/test/CodeGenCXX dynamic-cast-address-space.cpp, clang/test/CodeGenOpenCL builtins-amdgcn-gfx13.cl

AMDGPU: Give v_cvt_sr_pk_bf16_f32 its own subtarget feature (#213150)

v_cvt_sr_pk_bf16_f32 was gated on bf16-cvt-insts, but that feature is
also present on gfx950 where the (non-sr) v_cvt_pk_bf16_f32 was first
added. The stochastic-rounding v_cvt_sr_pk_bf16_f32 was only added
for gfx1250 and has no gfx950 encoding, so it would mis-select and
later hit the "Invalid opcode" assert. Introduce
cvt-sr-pk-bf16-f32-inst, currently added to gfx13 and 125*

Co-authored-by: Claude (Claude-Opus-4.8)
DeltaFile
+25-0clang/test/CodeGenOpenCL/builtins-amdgcn-gfx13.cl
+12-0clang/test/SemaOpenCL/builtins-amdgcn-cvt-sr-pk-bf16-f32-err.cl
+8-0llvm/test/MC/AMDGPU/gfx950-unsupported.s
+6-0llvm/lib/Target/AMDGPU/AMDGPU.td
+4-1llvm/lib/Target/AMDGPU/VOP3Instructions.td
+2-2clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
+57-35 files not shown
+65-611 files

LLVM/project 9621bedlldb/include/lldb/Core Module.h, lldb/source/Core Module.cpp

[lldb] Only preload a Module's symbols once (#213094)

Creating several targets for the same file concurrently could deadlock.

Targets share Module objects. Therefore, each concurrent
`SBDebugger::CreateTarget()` call creates a `PreloadSymbols()` task for
the *same* Module. The thread pool running those tasks can pick up a
duplicate preload task for the same Module. The mutex used by the Module
is recursive, so the thread starts the task again, enters the same
`std::call_once` and deadlocks.

Preloading only needs to happen once: it does work taht a later lookup
would do anyway. If it's already in progress, skip it. This deduplicate
the task that causes the deadlock.

At desk, this fixes a timeout in
`api/multiple-targets/TestMultipleTargets.py`, roughly 1/40 runs. To
reproduce the issue, I shrunk the thread pool to 2 threads, which makes
it always timeout.
DeltaFile
+4-0lldb/source/Core/Module.cpp
+1-0lldb/include/lldb/Core/Module.h
+5-02 files

FreeBSD/src 4b67335sys/dev/ixgbe ixgbe_type.h ixgbe_common.c

ixgbe: isolate VF reset state

IXGBE_VF_INDEX() selects a 32-VF register bank.  PFMBMEM() selects
one mailbox per VF, while ixgbe_toggle_txdctl() calculates queue
offsets from a VF number.  Passing the bank index aliases VF1-31 to
VF0 and VF32-63 to VF1.  Resetting one VF can therefore clear the peer
mailbox and leave its transmit queues disabled.

The VF raises its reset event before posting its mailbox request.  The
PF checks reset events before mailbox messages.  If both are pending,
clearing PFMBMEM during generic reset handling can erase the request
before ixgbe_read_mbx() consumes it.  Clear the mailbox only from the
reset-message handler after the request has been read.

Use the VF number for queue toggling and document that API contract.

MFC after:      1 week
DeltaFile
+6-14sys/dev/ixgbe/if_sriov.c
+3-3sys/dev/ixgbe/ixgbe_api.c
+1-1sys/dev/ixgbe/ixgbe_type.h
+1-1sys/dev/ixgbe/ixgbe_common.c
+1-1sys/dev/ixgbe/ixgbe_api.h
+12-205 files

LLVM/project 303ec27llvm/include/llvm/ProfileData SampleProfReader.h, llvm/lib/Transforms/IPO SampleProfileMatcher.cpp SampleProfile.cpp

Revert "[ProfileData] Implement contains in SampleProfileNameTable (NFC)" (#213231)

Reverts llvm/llvm-project#211995
Broke arm 32-bit buildbots (narrowing conversion uint64_t -> size_t)
DeltaFile
+18-65llvm/include/llvm/ProfileData/SampleProfReader.h
+25-5llvm/lib/Transforms/IPO/SampleProfile.cpp
+0-11llvm/unittests/ProfileData/SampleProfTest.cpp
+2-1llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
+45-824 files

FreeBSD/src 9d30fd3sys/dev/igc igc_base.h igc_base.c

igc: Disable ASPM L1.2 on I226 to prevent RX stalls

I226 parts advertise support for the PCIe L1.2 link substate, but a
hardware erratum makes the exit latency from that low-power state
longer than the packet buffer can absorb under load. This stalls the
inbound packet stream. Disabling ASPM system-wide (BIOS or OS ASPM
policy) does not fix it. The L1.2 enable bit must be cleared directly
in the device's own PCIe L1 PM extended capability.

Add igc_is_device_id_i226() to identify affected parts and
igc_disable_broken_aspm_l1_2() to clear the ASPM L1.2 enable bit
on attach and after resume, since PCIe config space can be
reset across a suspend/resume cycle.

Adapted from the Linux igc driver:

  0325143b59c6 igc: disable L1.2 PCI-E link substate to avoid
               performance issue
  1468c1f97cf3 igc: fix disabling L1.2 PCI-E link substate on I226

    [8 lines not shown]
DeltaFile
+44-0sys/dev/igc/if_igc.c
+21-0sys/dev/igc/igc_base.c
+1-0sys/dev/igc/igc_base.h
+66-03 files

FreeBSD/src 04f8a6asys/dev/pci pcireg.h

pci: Add L1 PM definitions

Add register/bit definitions for the L1 PM substates capability
(PCIZ_L1PM) to pcireg.h.

Signed-off-by: Michael Adler <madler at tapil.com>

MFC after:      1 week
Pull-Request:   https://github.com/freebsd/freebsd-src/pull/2318
DeltaFile
+14-0sys/dev/pci/pcireg.h
+14-01 files

LLVM/project 81cd5b6lldb/source/Utility Args.cpp, lldb/test/API/commands/register/register_command TestRegisters.py

[lldb] Convert generic register names in a case insensitive way (#213001)

Part of #212778.

There are 3 types of register name:
* The primary name, displayed by default.
* An optional alias, for example AArch64 "lr" is also "x30".
* Generic convenience names like "sp", "ra" and so on.

The first two types are handled case insensitively, but generic names
were not. For example:
(lldb) register read RA
error: Invalid register name 'RA'
(lldb) register read ra
  lr = 0x0000fffff7e27400

In this change I've fixed that.

This does close a workaround for #212778, where you could get to the

    [2 lines not shown]
DeltaFile
+29-0lldb/test/API/commands/register/register_command/TestRegisters.py
+1-1lldb/source/Utility/Args.cpp
+30-12 files

OpenBSD/src UPYSemxshare/man/man4/man4.riscv64 imsic.4 aplic.4

   move .Sh out of reference block
VersionDeltaFile
1.2+3-3share/man/man4/man4.riscv64/imsic.4
1.2+3-3share/man/man4/man4.riscv64/aplic.4
+6-62 files

OpenBSD/ports 0zJCyPCmisc/open62541 Makefile distinfo, misc/open62541/pkg DESCR

   update open62541 to 1.3.19
   CVE-2026-63362 CVE-2026-63035 CVE-2026-65423 CVE-2026-63559
VersionDeltaFile
1.18+2-2misc/open62541/distinfo
1.40+1-2misc/open62541/Makefile
1.2+3-0misc/open62541/pkg/DESCR
+6-43 files

LLVM/project af6b259llvm/include/llvm/MC MCGOFFStreamer.h, llvm/lib/MC MCGOFFStreamer.cpp

[SystemZ][z/OS] Implement emitCommonSymbol in MCGOFFStreamer (#210179)

Common globals were not emitted in GOFF object files due to a missing
emitCommonSymbol implementation. This adds the implementation to emit
the required SD/ED/PR ESD records in the GOFF object file.

(cherry picked from commit 705d0ec6115cef3232eafe6221f42f78e7b884e8)
DeltaFile
+29-0llvm/lib/MC/MCGOFFStreamer.cpp
+28-0llvm/test/CodeGen/SystemZ/zos-common-global.ll
+1-1llvm/include/llvm/MC/MCGOFFStreamer.h
+58-13 files

LLVM/project d62f721llvm/lib/DTLTO CMakeLists.txt

[CMake] Added missing LLVM_PTHREAD_LIB dependency. (#211041)

Required after #209423.

(cherry picked from commit 4f5675a0500f9ccc60dcbabb57e1c4dc88c40a84)
DeltaFile
+3-0llvm/lib/DTLTO/CMakeLists.txt
+3-01 files

LLVM/project 9ecb67blld/COFF SymbolTable.cpp LTO.cpp, lld/ELF Driver.cpp

[DTLTO] Overlap temporary file removal (#209423)

Deleting the temporary files produced by the DTLTO pipeline can be
expensive on Windows hosts. For a Clang link (Debug build with
sanitizers and instrumentation) using an optimized toolchain (PGO
non-LTO, llvmorg-22.1.0) on a Windows 11 Pro (Build 26200), AMD Family
25 @ ~4.5 GHz, 16 cores/32 threads, 64 GB RAM machine, the mean duration
of the "Remove DTLTO temporary files" time trace scope was 1267.789 ms
(measured over 10 runs).

This patch performs the deletions on a background thread, allowing them
to overlap with the tail of the link to hide this cost.

This is a re-implementation of the asynchronous cleanup idea from
https://github.com/llvm/llvm-project/pull/186988, which had to be
reverted in https://github.com/llvm/llvm-project/pull/189043 because
cleanup was not guaranteed to complete before LLD invoked
timeTraceProfilerCleanup(). In certain cases timeTraceProfilerCleanup()
was called before temporary file deletion had completed in LLD, which

    [11 lines not shown]
DeltaFile
+47-15llvm/lib/DTLTO/DTLTO.cpp
+23-1llvm/include/llvm/DTLTO/DTLTO.h
+9-0lld/ELF/Driver.cpp
+8-0llvm/include/llvm/LTO/LTO.h
+5-0lld/COFF/SymbolTable.cpp
+5-0lld/COFF/LTO.cpp
+97-167 files not shown
+111-1613 files

LLVM/project 829c8e9llvm/include/llvm/CodeGen TargetRegisterInfo.h, llvm/lib/CodeGen InlineSpiller.cpp

Fix merge conflicts while rebasing on main.
DeltaFile
+0-5llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+0-5llvm/include/llvm/CodeGen/TargetRegisterInfo.h
+0-4llvm/lib/CodeGen/InlineSpiller.cpp
+0-3llvm/lib/Target/AMDGPU/SIRegisterInfo.h
+0-174 files

FreeBSD/ports cbeb1beMk/Uses npm.mk

Mk/Uses/npm.mk: Quote TMPDIR and WRKDIR in shell comparisons

When TMPDIR is unset, the generated shell command becomes:
    if [ != ${WRKDIR} ]; then
and /bin/sh reports:
    [: !=: unexpected operator

Quoting both variables fixes the issue.

PR:             297181
Reported by:    Shin-ichi Nagamura <core at zsc.jp>
DeltaFile
+2-2Mk/Uses/npm.mk
+2-21 files

LLVM/project 3e58eadllvm/include/llvm/ProfileData SampleProfReader.h, llvm/lib/Transforms/IPO SampleProfileMatcher.cpp SampleProfile.cpp

Revert "[ProfileData] Implement contains in SampleProfileNameTable (NFC) (#21…"

This reverts commit 86fb40ddfa3c7cd5c32d758f4b1709d01028a7db.
DeltaFile
+18-65llvm/include/llvm/ProfileData/SampleProfReader.h
+25-5llvm/lib/Transforms/IPO/SampleProfile.cpp
+0-11llvm/unittests/ProfileData/SampleProfTest.cpp
+2-1llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
+45-824 files

LLVM/project 55418a5llvm/include/llvm/Target GenericOpcodes.td, llvm/test/CodeGen/AMDGPU flat-saddr-atomics.ll

GlobalISel: Don't use GISelMatchGenericTypes for floating point opcodes (#212814)

With GISelMatchGenericTypes, AMDGPU had the same input pattern for
G_ATOMICRMW_FADD that checks for v2s16, so the one that is first
in the tablegen table always fires (it was v2f16 in this case).
Should explicitly check for v2f16/v2bf16.
DeltaFile
+41-35llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-fadd-region.mir
+41-35llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-fadd-local.mir
+20-40llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+14-8llvm/include/llvm/Target/GenericOpcodes.td
+116-1184 files

LLVM/project ed0b5c0llvm/lib/Transforms/Scalar LoopIdiomRecognize.cpp, llvm/test/Transforms/LoopIdiom cyclic-redundancy-check-memoryssa.ll

[LoopIdiom] Update MemorySSA when optimizing CRC with lookup table (#213054)

Although the lookup table optimization of CRC loops inserts a `load`
instruction, MemorySSA is not properly updated, and is oblivious to the
new memory access. Insert a memory use immediately after creating the
`load` instruction, and verify MemorySSA at the end of the optimization
if applicable.
DeltaFile
+30-0llvm/test/Transforms/LoopIdiom/cyclic-redundancy-check-memoryssa.ll
+11-1llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+41-12 files

LLVM/project 2bd28bdllvm/test/CodeGen/X86 fptosi-sat-scalar-f16.ll fptosi-sat-scalar.ll, llvm/test/Transforms/LoopVectorize interleaved-accesses.ll float-induction.ll

Merge branch 'main' into users/arsenm/amdgpu/cvt-sr-pk-bf16-distinct-feature
DeltaFile
+793-710llvm/test/Transforms/LoopVectorize/induction.ll
+112-1,272llvm/test/CodeGen/X86/fptosi-sat-scalar.ll
+1,298-0llvm/test/CodeGen/X86/fptosi-sat-scalar-f16.ll
+544-511llvm/test/Transforms/LoopVectorize/float-induction.ll
+298-217mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
+244-237llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll
+3,289-2,947101 files not shown
+5,526-4,727107 files

FreeBSD/ports 40f76efaudio/maolan Makefile Makefile.crates

audio/maolan: Update to 0.2.4

Changelog: https://github.com/maolan/maolan/releases/tag/0.2.2
           https://github.com/maolan/maolan/releases/tag/0.2.3
           https://github.com/maolan/maolan/releases/tag/0.2.4

PR:             296653
Reported by:    Goran Mekić <meka at sys.it.com> (maintainer)
Reviewed by:    fgorter <fgorter at gmail.com>
DeltaFile
+461-433audio/maolan/distinfo
+229-215audio/maolan/Makefile.crates
+7-15audio/maolan/Makefile
+697-6633 files

LLVM/project 1a848f4llvm/test/CodeGen/AMDGPU identical-subrange-spill-infloop.ll skip-partial-reload-for-16bit-regaccess.mir

[InlineSpiller][AMDGPU] Implement subreg reload during RA spill

Currently, when a virtual register is partially used, the
entire tuple is restored from the spilled location, even if
only a subset of its sub-registers is needed. This patch
introduces support for partial reloads by analyzing actual
register usage and restoring only the required sub-registers.
This improvement enhances register allocation efficiency,
particularly for cases involving tuple virtual registers.
For AMDGPU, this change brings considerable improvements
in workloads that involve matrix operations, large vectors,
and complex control flows.
DeltaFile
+5,197-5,955llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+92-98llvm/test/CodeGen/AMDGPU/vgpr-mark-last-scratch-load.ll
+82-103llvm/test/CodeGen/AMDGPU/ran-out-of-sgprs-allocation-failure.mir
+59-97llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+35-56llvm/test/CodeGen/AMDGPU/identical-subrange-spill-infloop.ll
+91-0llvm/test/CodeGen/AMDGPU/skip-partial-reload-for-16bit-regaccess.mir
+5,556-6,30921 files not shown
+5,865-6,54927 files

LLVM/project 841b269llvm/test/CodeGen/AMDGPU regpressure-mitigation-with-subreg-reload.mir

compacted the virt-reg numbers
DeltaFile
+14-14llvm/test/CodeGen/AMDGPU/regpressure-mitigation-with-subreg-reload.mir
+14-141 files

LLVM/project 788b0d3llvm/test/CodeGen/AMDGPU regpressure-mitigation-with-subreg-reload.mir

[AMDGPU] Test precommit for subreg reload

This test currently fails due to insufficient
registers during allocation. Once the subreg
reload is implemented, it will begin to pass
as the partial reload help mitigate register
pressure.
DeltaFile
+37-0llvm/test/CodeGen/AMDGPU/regpressure-mitigation-with-subreg-reload.mir
+37-01 files

NetBSD/pkgsrc naRIko8doc TODO CHANGES-2026

   Updated finance/homebank to 5.10.2
VersionDeltaFile
1.27665+1-2doc/TODO
1.4869+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc pqbcFSRfinance/homebank Makefile distinfo

   Update to 5.10.2

   Upstream changes:
   2026-06-14  Maxime DOYEN

    Made 5.10.2 release

    * bugfix: #2156412 safety approve option mixup
    * bugfix: #2156372 currency modification date is not persisted due to extra space in code
    * bugfix: #2155966 main window different colours for 0.00 account balances
    * bugfix: #2155959 cannot inherit a locked reconciled transaction
    * bugfix: #2155844 quick search no longer works in account window (ledger)


   2026-06-06  Maxime DOYEN

    Made 5.10.1 release
    * change: the input field helper icon + fixed some spacing inconsistency
    * change: transaction, added some missing input tooltips and reworked existing

    [92 lines not shown]
VersionDeltaFile
1.6+4-4finance/homebank/distinfo
1.4+6-2finance/homebank/PLIST
1.60+2-3finance/homebank/Makefile
+12-93 files

FreeBSD/ports 0a56f0ddeskutils/lumina-pdf Makefile, graphics/gowall Makefile

*/*: Bump PORTREVISION

Bump PORTREVISIONs because of mupdf update.
DeltaFile
+1-1print/sioyek/Makefile
+1-1graphics/gowall/Makefile
+1-1deskutils/lumina-pdf/Makefile
+3-33 files

LLVM/project 5808b2dllvm/lib/Target/SPIRV SPIRVISelLowering.cpp, llvm/test/CodeGen/SPIRV atomicrmw-uinc-udec-wrap.ll

[SPIR-V] Expand atomicrmw nand through compare-exchange (#213217)
DeltaFile
+20-0llvm/test/CodeGen/SPIRV/atomicrmw-uinc-udec-wrap.ll
+1-0llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
+21-02 files