LLVM/project a485f1cllvm/lib/Target/AMDGPU SILowerSGPRSpills.cpp, llvm/test/CodeGen/AMDGPU si-lower-sgpr-spills-cycle-header.ll si-lower-sgpr-spills-multi-entry-cycle.mir

[AMDGPU][SILowerSGPRSpills] Correct insertion of IMPLICIT_DEF in cycles (#186348)

si-lower-sgpr spills was observed inserting IMPLICIT_DEF for lane VGPR
restores in the cycle header. The virtual VGPR is therefore not live-in
to the header and wwm regallocfast does not insert a restore. This
results in the vgpr being clobbered after each backedge.

Correct this by inserting the IMPLICIT_DEF in a block that dominates
all entries.

Assisted by Claude.
DeltaFile
+206-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-cycle-header.ll
+149-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-multi-entry-cycle.mir
+114-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-cycle-header.mir
+66-21llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
+72-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-initial-insert-in-body.mir
+63-0llvm/test/CodeGen/AMDGPU/si-lower-sgpr-spills-initial-insert-in-latch.mir
+670-214 files not shown
+687-2510 files

LLVM/project b6759f1lldb/source/Host/aix Host.cpp, lldb/source/Plugins/ObjectFile/XCOFF ObjectFileXCOFF.cpp ObjectFileXCOFF.h

[lldb][AIX] Extract CPU type and set up process architecture accordingly (#189910)

This PR is in reference to porting LLDB on AIX. Ref discusssions: [llvm
discourse](https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640) and
[#101657](https://github.com/llvm/llvm-project/issues/101657).
Complete changes together in this draft:
- [Extending LLDB to work on AIX
#102601](https://github.com/llvm/llvm-project/pull/102601)

Description:
The process architecture was previously initialized using a hardcoded
TCPU_PPC64 CPU type.

The logic has been updated to determine the CPU type dynamically by
inspecting the magic bytes and the XCOFF header. Based on this
information, the appropriate CPU type (TCPU_PPC or TCPU_PPC64) is
selected and used when constructing and setting the ArchSpec.

This change ensures that the process architecture correctly reflects the
underlying binary format.
DeltaFile
+20-29lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.cpp
+37-3lldb/source/Host/aix/Host.cpp
+3-2lldb/source/Plugins/ObjectFile/XCOFF/ObjectFileXCOFF.h
+1-1lldb/source/Utility/ArchSpec.cpp
+1-1lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml
+62-365 files

FreeBSD/ports bc4339dnet-mgmt/zabbix6-proxy Makefile, net-mgmt/zabbix6-server Makefile

net-mgmt/zabbix*-server: Switch to respect DEFAULT_VERSIONS for MySQL

To help tracking of default MySQL client version, switch the default MySQL
requirement from fixed version (8.0, 8.4, ...) to DEFAULT_VERSIONS.

Reported by:    Simon Wright <simon.wright at gmx.net>
DeltaFile
+5-5net-mgmt/zabbix72-server/Makefile
+5-5net-mgmt/zabbix6-server/Makefile
+5-5net-mgmt/zabbix7-server/Makefile
+4-4net-mgmt/zabbix74-server/Makefile
+1-1net-mgmt/zabbix72-proxy/Makefile
+1-1net-mgmt/zabbix6-proxy/Makefile
+21-212 files not shown
+23-238 files

LLVM/project 9e72ab6clang/lib/Sema SemaChecking.cpp, clang/test/Analysis bstring.c

[Clang][Sema] Add fortify warnings for bcopy and bzero  (#168965) (#186522)

Add fortify warnings for bcopy and bzero as part of
[llvm#142230](https://github.com/llvm/llvm-project/issues/142230)
DeltaFile
+12-0clang/test/Sema/warn-fortify-source.c
+9-0clang/lib/Sema/SemaChecking.cpp
+2-1clang/test/Analysis/bstring.c
+23-13 files

HardenedBSD/src 50964d7sys/net if.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+19-10sys/net/if.c
+19-101 files

HardenedBSD/src b177954sys/net if.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+19-10sys/net/if.c
+19-101 files

HardenedBSD/ports 1e4830ajapanese/font-migu Makefile distinfo, news/nzbhydra2 Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+27-31japanese/font-migu/Makefile
+29-29x11-wm/herbstluftwm/pkg-plist
+20-23news/nzbhydra2/Makefile
+3-15x11-wm/herbstluftwm/Makefile
+9-8japanese/font-migu/distinfo
+7-7news/nzbhydra2/files/nzbhydra2.in
+95-11312 files not shown
+122-14018 files

FreeBSD/ports 2392528databases/postgresql-libpqxx distinfo Makefile

databases/postgresql-libpqxx: Update to 8.0.1

Release notes:  https://github.com/jtv/libpqxx/releases/tag/8.0.1
MFH:            2026Q2 (buffer overrun)

(cherry picked from commit cf29b029f5d05f5d911353b2cc09a02897906f16)
DeltaFile
+3-3databases/postgresql-libpqxx/distinfo
+1-1databases/postgresql-libpqxx/Makefile
+0-1databases/postgresql-libpqxx/pkg-plist
+4-53 files

LLVM/project 45494d9llvm/lib/Target/RISCV RISCVInstrInfoZa.td

[RISCV] Fix address type in Zacas seq_cst atomic pattern (#190729)

The seq_cst pattern in AMOCASPat used (vt GPR:$addr) for the address
operand, while all other patterns (monotonic, acquire, release, acq_rel)
consistently use (XLenVT GPR:$addr). This would produce a wrong type for
the address when vt differs from XLenVT (e.g., amocas.d on RV32 where
vt=i64).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCVInstrInfoZa.td
+1-11 files

LLVM/project cab7d1emlir/lib/Reducer ReductionTreePass.cpp, mlir/test/mlir-reduce test.sh false.sh

[mlir][reducer] Repalce module.emitWarning with module.emitError in ReductionTree pass (#190584)

This PR fixes the diagnostic message for mlir-reduce's reduction-tree
pass when the input module is not "interesting". Previously, running
with the warning pass would fail silently, and enabling debug options
would only show a generic "pass manager run failed" message without any
useful diagnostic information.
DeltaFile
+0-6mlir/test/mlir-reduce/test.sh
+6-0mlir/test/mlir-reduce/false.sh
+6-0mlir/test/mlir-reduce/true.sh
+4-1mlir/test/mlir-reduce/invalid.mlir
+2-2mlir/lib/Reducer/ReductionTreePass.cpp
+1-1mlir/test/mlir-reduce/simple-test.mlir
+19-106 files

FreeBSD/ports cf29b02databases/postgresql-libpqxx distinfo Makefile

databases/postgresql-libpqxx: Update to 8.0.1

Release notes:  https://github.com/jtv/libpqxx/releases/tag/8.0.1
MFH:            2026Q2 (buffer overrun)
DeltaFile
+3-3databases/postgresql-libpqxx/distinfo
+1-1databases/postgresql-libpqxx/Makefile
+0-1databases/postgresql-libpqxx/pkg-plist
+4-53 files

NetBSD/src ilOwResshare/mk bsd.own.mk

   bsd.own.mk: fix MKPROFILE comment for risc-v
VersionDeltaFile
1.1473+2-2share/mk/bsd.own.mk
+2-21 files

HardenedBSD/src 00d96dasys/net if.c

ifnet: Add some sanity checks

To be more robust since the checking is now performed where the
interface is referenced.

While here, remove a redundant check from if_vmove_loan().

Reviewed by:    kp, glebius, pouria
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55875
DeltaFile
+19-10sys/net/if.c
+19-101 files

FreeBSD/src 00d96dasys/net if.c

ifnet: Add some sanity checks

To be more robust since the checking is now performed where the
interface is referenced.

While here, remove a redundant check from if_vmove_loan().

Reviewed by:    kp, glebius, pouria
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D55875
DeltaFile
+19-10sys/net/if.c
+19-101 files

LLVM/project d6d7d0aclang/lib/Driver/ToolChains Flang.cpp, flang/lib/Optimizer/Transforms FunctionAttr.cpp

[Flang][Driver] Add support for '-fprofile-sample-use' option (#188697)

When the `-fprofile-sample-use=sample.prof` option is passed, the
compiler records the profile file path in `SampleProfileFile` . This
value is later used by the `SampleProfileLoaderPass`, which loads the
sample profile and injects the corresponding profiling metadata in the
LLVM IR.
DeltaFile
+38-0flang/test/Driver/fprofile-sample-use.f90
+35-0clang/lib/Driver/ToolChains/Flang.cpp
+34-0flang/test/Integration/profile-sample-use.f90
+9-0mlir/test/Target/LLVMIR/Import/use-sample-profile.ll
+7-0mlir/test/Target/LLVMIR/use-sample-profile.mlir
+6-0flang/lib/Optimizer/Transforms/FunctionAttr.cpp
+129-012 files not shown
+164-618 files

FreeBSD/ports 1254de5x11-wm/herbstluftwm pkg-plist Makefile

x11-wm/herbstluftwm: Update to 0.9.6

Remove DOCS and EXAMPLES options because their files take only some
kbytes.
Add license file.

Changelog:
https://herbstluftwm.org/news.html#_release_0_9_6_on_2026_04_03
DeltaFile
+29-29x11-wm/herbstluftwm/pkg-plist
+3-15x11-wm/herbstluftwm/Makefile
+3-3x11-wm/herbstluftwm/distinfo
+35-473 files

HardenedBSD/ports 1254de5x11-wm/herbstluftwm pkg-plist Makefile

x11-wm/herbstluftwm: Update to 0.9.6

Remove DOCS and EXAMPLES options because their files take only some
kbytes.
Add license file.

Changelog:
https://herbstluftwm.org/news.html#_release_0_9_6_on_2026_04_03
DeltaFile
+29-29x11-wm/herbstluftwm/pkg-plist
+3-15x11-wm/herbstluftwm/Makefile
+3-3x11-wm/herbstluftwm/distinfo
+35-473 files

FreeBSD/ports ac55d50emulators/rpcs3/files patch-sdl3-revert

emulators/rpcs3: unbreak build after 1b59de75bd3d

In file included from rpcs3/Emu/Cell/lv2/sys_usbd.cpp:44:
rpcs3/Emu/../Emu/Io/LogitechG27.h:41:2: error: unknown type name 'SDL_HapticEffectID'; did you mean 'SDL_HapticEffect'?
   41 |         SDL_HapticEffectID effect_id = -1;
      |         ^~~~~~~~~~~~~~~~~~
      |         SDL_HapticEffect
/usr/local/include/SDL3/SDL_haptic.h:925:3: note: 'SDL_HapticEffect' declared here
  925 | } SDL_HapticEffect;
      |   ^
In file included from rpcs3/Emu/Cell/lv2/sys_usbd.cpp:44:
rpcs3/Emu/../Emu/Io/LogitechG27.h:41:33: error: no viable conversion from 'int' to 'SDL_HapticEffect'
   41 |         SDL_HapticEffectID effect_id = -1;
      |                                        ^~
/usr/local/include/SDL3/SDL_haptic.h:915:15: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const SDL_HapticEffect &' for 1st argument
  915 | typedef union SDL_HapticEffect
      |               ^~~~~~~~~~~~~~~~
/usr/local/include/SDL3/SDL_haptic.h:915:15: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'SDL_HapticEffect &&' for 1st argument
  915 | typedef union SDL_HapticEffect

    [13 lines not shown]
DeltaFile
+48-0emulators/rpcs3/files/patch-sdl3-revert
+48-01 files

LLVM/project 150783emlir/include/mlir/Dialect/ControlFlow/IR ControlFlowOps.td, mlir/include/mlir/Interfaces ControlFlowInterfaces.td

Revert "Reland "[mlir][reducer] Add eraseRedundantBlocksInRegion and getSuccessorForwardOperands API to BranchOpInterface"" (#190727)

To decouple the BranchOpInterface implementation from the reduction-tree
changes. Reverts llvm/llvm-project#189253,
DeltaFile
+0-114mlir/lib/Reducer/ReductionTreePass.cpp
+0-65mlir/test/mlir-reduce/reduction-tree.mlir
+0-24mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
+4-6mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
+0-10mlir/lib/Reducer/ReductionNode.cpp
+0-9mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+4-2282 files not shown
+4-2328 files

LLVM/project 7349977mlir/lib/Transforms CSE.cpp

[mlir][CSE] Fix CSE markAnalysesPreserved<DominanceInfo, PostDominanceInfo> comment (#190471)

The original comment claimed that DominanceInfo and PostDominanceInfo
could be preserved because region operations are not removed. However,
the real reason was that the original CSE only deleted redundant
operations without moving any operation to a different block, leaving
the dominance tree structure unchanged. Part of
https://github.com/llvm/llvm-project/pull/180556.
DeltaFile
+3-2mlir/lib/Transforms/CSE.cpp
+3-21 files

LLVM/project 0a13e4dmlir/include/mlir/Dialect/ControlFlow/IR ControlFlowOps.td, mlir/include/mlir/Interfaces ControlFlowInterfaces.td

Revert "Reland "[mlir][reducer] Add eraseRedundantBlocksInRegion and getSucce…"

This reverts commit ce1a9fd76640929fe340c5c5d1bb493ea09ca9bc.
DeltaFile
+0-114mlir/lib/Reducer/ReductionTreePass.cpp
+0-65mlir/test/mlir-reduce/reduction-tree.mlir
+0-24mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
+0-10mlir/lib/Reducer/ReductionNode.cpp
+4-6mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
+0-9mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
+4-2282 files not shown
+4-2328 files

LLVM/project 97ed648libcxx/docs/Status Cxx2cIssues.csv Cxx2cPapers.csv

[libc++][docs] Update paper and LWG issue lists after 2026-03 meeting (#189901)

[P3726R2](https://wg21.link/P3726R2) is a Core paper but adds
`std::start_lifetime`, so it needs to be listed in libc++'s
documentation.

For LWG issues, see [P4145R0](https://wg21.link/P4145R0) and
[P4146R0](https://wg21.link/P4146R0).
DeltaFile
+82-0libcxx/docs/Status/Cxx2cIssues.csv
+38-0libcxx/docs/Status/Cxx2cPapers.csv
+120-02 files

LLVM/project 6870ebcllvm/include/llvm/Support FileSystem.h, llvm/lib/CAS MappedFileRegionArena.cpp

[CAS] Give Windows file mappings names to better ensure same mappings are used (#190692)
DeltaFile
+52-0llvm/unittests/Support/Path.cpp
+12-5llvm/lib/Support/Windows/Path.inc
+10-1llvm/lib/CAS/MappedFileRegionArena.cpp
+5-4llvm/lib/Support/Unix/Path.inc
+3-2llvm/include/llvm/Support/FileSystem.h
+82-125 files

LLVM/project e80f32fllvm/lib/CodeGen CodeGenPrepare.cpp

[CodeGenPrepare] Use Instruction::comesBefore instead of manual ordering (#190485)

After #172329, we noticed that some sources compiled with MSan take
1000x longer to compile. This is caused by quadratic complexity in
tryToSinkFreeOperands, which can be called on a significant number
of instructions within huge basic blocks.

This inefficiency was introduced in 9cfa9b4, which manually iterates
and creates a DenseMap of entire basic blocks for each interesting
instruction.

This patch avoids the manual ordering by using
Instruction::comesBefore(), which provides the exact same
ordering much more efficiently.
DeltaFile
+1-6llvm/lib/CodeGen/CodeGenPrepare.cpp
+1-61 files

LLVM/project 49093c4clang-tools-extra/clang-tidy/performance TriviallyDestructibleCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix performance-trivially-destructible with C++20 modules (#178471)

When a class definition is seen through both a header include and a
C++20 module import, destructors may appear multiple times in the AST's
redeclaration chain. The original matcher used `isFirstDecl()` which
fails in this scenario because the same declaration can appear as both
first and non-first depending on the view.

Replace `unless(isFirstDecl())` with `isOutOfLine()` which correctly
identifies out-of-line definitions by checking whether the lexical
context differs from the semantic context.

Also update clang-tools-extra's lit.cfg.py to call `use_clang()` instead
of `clang_setup()` to make the `%clang` substitution available for
tests.

Fixes #178102

Co-authored-by: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
DeltaFile
+61-0clang-tools-extra/test/clang-tidy/checkers/performance/trivially-destructible-module.cpp
+7-3clang-tools-extra/clang-tidy/performance/TriviallyDestructibleCheck.cpp
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+2-2clang-tools-extra/test/lit.cfg.py
+3-0clang-tools-extra/test/CMakeLists.txt
+78-55 files

OpenBSD/src MgwPev6usr.sbin/vmd i8253.c

   fix timer emulation-related VM hangs

   This fixes state machine issues that resulted in hangs with OpenBSD-i386 VMs
   when using the i8254 hardware timecounter with vmm. This also manifested in
   incorrect i8254 calibration (wrong CPU speed in dmesg).

   tested with Debian 12 amd64, i386
   Apine Linux 3.23 x86 (with 4GB memory), x86_64
   OpenBSD 7.9 beta amd64, i386

   ok mlarkin@
VersionDeltaFile
1.46+6-1usr.sbin/vmd/i8253.c
+6-11 files

OpenBSD/src TCZ7r5Wdistrib/sets/lists/man mi

   sycn
VersionDeltaFile
1.1765+1-0distrib/sets/lists/man/mi
+1-01 files

HardenedBSD/ports 8f64c0eeditors/cudatext distinfo Makefile

editors/cudatext: Update to 1.234.0.2

ChangeLog at:   https://github.com/Alexey-T/CudaText/blob/master/app/readme/history.txt
DeltaFile
+5-5editors/cudatext/distinfo
+2-2editors/cudatext/Makefile
+1-0editors/cudatext/pkg-plist
+8-73 files

FreeBSD/ports 8f64c0eeditors/cudatext distinfo Makefile

editors/cudatext: Update to 1.234.0.2

ChangeLog at:   https://github.com/Alexey-T/CudaText/blob/master/app/readme/history.txt
DeltaFile
+5-5editors/cudatext/distinfo
+2-2editors/cudatext/Makefile
+1-0editors/cudatext/pkg-plist
+8-73 files

NetBSD/pkgsrc-wip 6d74493vim-classic-lang Makefile, vim-classic-share Makefile.common Makefile

vim-classic*: set myself as MAINTAINER, more complete CONFLICTS
DeltaFile
+1-1vim-classic-share/Makefile.common
+2-0vim-classic-share/Makefile
+2-0vim-classic-lang/Makefile
+5-13 files