LLVM/project f6219e8mlir/include/mlir/Interfaces ExecutionProgressOpInterface.td ExecutionProgressOpInterface.h, mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir][Interfaces] Add `ExecutionProgressOpInterface` + folding pattern (#179039)

Add the `ExecutionProgressOpInterface` with an interface method to check
if an operation "must progress". Add `mustProgress` attributes to
`scf.for` and `scf.while` (default value is "true").

`mustProgress` corresponds to the [`llvm.loop.mustprogress`
metadata](https://llvm.org/docs/LangRef.html#langref-llvm-loop-mustprogress).

Also add a canonicalization pattern to erase `RegionBranchOpInterface`
ops that must progress but loop infinitely (and are non-side-effecting).
This canonicalization pattern is enabled for `scf.for` and `scf.while`.

RFC: https://discourse.llvm.org/t/infinite-loops-and-dead-code/89530

[mlir] Fix build after #179039 (#179180)

Fix build after #179039.
DeltaFile
+73-30mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+51-0mlir/test/Dialect/SCF/canonicalize.mlir
+45-3mlir/lib/Dialect/SCF/IR/SCF.cpp
+48-0mlir/include/mlir/Interfaces/ExecutionProgressOpInterface.td
+39-0mlir/lib/Dialect/UB/IR/UBOps.cpp
+29-0mlir/include/mlir/Interfaces/ExecutionProgressOpInterface.h
+285-3313 files not shown
+368-4419 files

LLVM/project 7054a4bllvm/include/llvm/Analysis ValueTracking.h, llvm/lib/Analysis ValueTracking.cpp

[ValueTracking] Propagate sign information out of loop (#175590)

LLVM converts sqrt libcall to intrinsic call if the argument is within
the range(greater than or equal to 0.0). In this case the compiler is
not able to deduce the non-negativity on its own. Extended ValueTracking
to understand such loops.

Fixes llvm/llvm-project#174813
DeltaFile
+220-0llvm/test/Transforms/AggressiveInstCombine/X86/pr175590.ll
+90-0llvm/lib/Analysis/ValueTracking.cpp
+18-0llvm/include/llvm/Analysis/ValueTracking.h
+328-03 files

LLVM/project 0fd4ad2clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenAtomic.cpp

[CIR] Scoped atomic exchange (#173781)

This patch adds support for for scoped atomic exchange operations in
CIR.
DeltaFile
+23-23clang/test/CIR/CodeGen/atomic.c
+32-0clang/test/CIR/CodeGen/atomic-scoped.c
+12-12clang/test/CIR/IR/atomic.cir
+7-4clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+5-2clang/lib/CIR/CodeGen/CIRGenAtomic.cpp
+4-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+83-426 files

LLVM/project dc1cb33libcxx/modules/std atomic.inc

guard modules
DeltaFile
+2-0libcxx/modules/std/atomic.inc
+2-01 files

FreeNAS/freenas 91ab742src/middlewared/middlewared/plugins/interface unconfigure.py

add comment on why DeviceNotFound erro can be raised
DeltaFile
+2-0src/middlewared/middlewared/plugins/interface/unconfigure.py
+2-01 files

LLVM/project c381180mlir/include/mlir/Dialect/AMDGPU/IR AMDGPUOps.td, mlir/lib/Dialect/AMDGPU/IR AMDGPUOps.cpp

[mlir][AMDGPU] Avoid verifier crash in DPPOp on vector operand types (#178887)

### whats the problem 
mlir-opt could crash while verifying amdgpu.dpp when its operands had
vector
types, such as ARM SME tile vectors produced by arm_sme.get_tile.
The crash occurred during IR verification, before any lowering or passes
ran.

### why it happens 
DPPOp::verify() called Type::getIntOrFloatBitWidth() on the operand
type.
When the operand was a VectorType, this hit an assertion because only
scalar
integer and float types have a bitwidth.

### whats the fix 
Query the bitwidth on the element type using getElementTypeOrSelf()
instead of

    [5 lines not shown]
DeltaFile
+13-2mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPUOps.td
+8-0mlir/test/Dialect/AMDGPU/invalid.mlir
+7-0mlir/test/Dialect/AMDGPU/ops.mlir
+0-6mlir/lib/Dialect/AMDGPU/IR/AMDGPUOps.cpp
+28-84 files

FreeNAS/freenas b1387d5src/middlewared/middlewared/plugins/interface unconfigure.py

fix order of ops bug found during QA
DeltaFile
+15-7src/middlewared/middlewared/plugins/interface/unconfigure.py
+15-71 files

LLVM/project 9029744libcxx/test/std/re/re.alg/re.alg.search grep.pass.cpp

[libcxx] Add missing header to re/re.alg/re.alg.search/grep.pass.cpp (#180024)

This test can't be compiled with GCC without this fix.
DeltaFile
+2-1libcxx/test/std/re/re.alg/re.alg.search/grep.pass.cpp
+2-11 files

NetBSD/src FwqCOmvsys/arch/evbppc/include wiiu.h, sys/arch/evbppc/nintendo machdep.c

   wiiu: Use the correct IPC commands for poweroff and reboot.

   The strange behaviour I was seeing w/ CMD_POWEROFF and CMD_REBOOT seems
   to be a bug in the latest version of linux-loader. Reverting to a build
   from ~2025-03-24 makes them behave as expected. So let's use the correct
   commands and report the bug upstream.
VersionDeltaFile
1.5+4-10sys/arch/evbppc/nintendo/machdep.c
1.4+5-1sys/arch/evbppc/include/wiiu.h
+9-112 files

HardenedBSD/src 4faa62esbin/ifconfig ifconfig.8, sys/netinet6 in6_ifattach.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+9-13sys/netinet6/in6_ifattach.c
+11-8sbin/ifconfig/ifconfig.8
+20-212 files

HardenedBSD/ports 2c00a8adevel/electron39/files patch-electron_shell_app_electron__main__delegate.cc patch-electron_shell_common_electron__paths.cc, devel/electron39/files/packagejsons yarn.lock

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+5-26devel/electron39/files/packagejsons/yarn.lock
+31-0security/vuxml/vuln/2026.xml
+6-15devel/electron39/files/patch-electron_shell_app_electron__main__delegate.cc
+20-0devel/electron39/files/patch-electron_shell_common_electron__paths.cc
+15-0net-p2p/xbt/files/patch-Tracker_connection.cpp
+7-7devel/electron39/files/patch-electron_BUILD.gn
+84-4819 files not shown
+133-10225 files

LLVM/project ee7d2b7clang/test/DebugInfo/CXX ptrauth-member-function-pointer-debuglocs.cpp

Address review comments
DeltaFile
+11-3clang/test/DebugInfo/CXX/ptrauth-member-function-pointer-debuglocs.cpp
+11-31 files

FreeNAS/freenas 06fc812src/middlewared/middlewared/plugins/interface sync.py

ruff format and remove superfluous vars
DeltaFile
+32-19src/middlewared/middlewared/plugins/interface/sync.py
+32-191 files

HardenedBSD/src 4548149sbin/ifconfig ifconfig.8, sys/netinet6 in6_ifattach.c

netinet6: Fix my style issues

Reported by:            pouria
Reviewed by:            pouria, ziaee, glebius
Approved by:            glebius
Fixes:                  31ec8b6407fdd5a87d70265762457c67ce618283
Differential Revision:  https://reviews.freebsd.org/D55136
DeltaFile
+9-13sys/netinet6/in6_ifattach.c
+11-8sbin/ifconfig/ifconfig.8
+20-212 files

FreeBSD/src 4548149sbin/ifconfig ifconfig.8, sys/netinet6 in6_ifattach.c

netinet6: Fix my style issues

Reported by:            pouria
Reviewed by:            pouria, ziaee, glebius
Approved by:            glebius
Fixes:                  31ec8b6407fdd5a87d70265762457c67ce618283
Differential Revision:  https://reviews.freebsd.org/D55136
DeltaFile
+9-13sys/netinet6/in6_ifattach.c
+11-8sbin/ifconfig/ifconfig.8
+20-212 files

LLVM/project 46257eflibcxx/include/__atomic atomic_ref.h

remove unused include
DeltaFile
+0-1libcxx/include/__atomic/atomic_ref.h
+0-11 files

HardenedBSD/ports c004847lang Makefile

lang/Makefile: Remove python-doc-pdf-a4

PR:             292970
Approved by:    blanket
Fixes:          5e61a90f3a23 (lang/python-doc-pdf-a4: remove)
DeltaFile
+0-1lang/Makefile
+0-11 files

FreeBSD/ports c004847lang Makefile

lang/Makefile: Remove python-doc-pdf-a4

PR:             292970
Approved by:    blanket
Fixes:          5e61a90f3a23 (lang/python-doc-pdf-a4: remove)
DeltaFile
+0-1lang/Makefile
+0-11 files

OpenBSD/ports iTrUbWxx11/vlc patch-include_vlc_fourcc_h patch-modules_codec_avcodec_fourcc_c

   Remove patches from vlc root dir
VersionDeltaFile
1.2+0-0x11/vlc/patch-include_vlc_fourcc_h
1.2+0-0x11/vlc/patch-modules_codec_avcodec_fourcc_c
1.2+0-0x11/vlc/patch-modules_codec_avcodec_video_c
1.2+0-0x11/vlc/patch-modules_demux_adaptive_tools_FormatNamespace_cpp
1.2+0-0x11/vlc/patch-modules_demux_mkv_matroska_segment_parse_cpp
1.2+0-0x11/vlc/patch-modules_demux_mp4_essetup_c
+0-06 files not shown
+0-012 files

FreeBSD/src e5cb813usr.bin/sockstat sockstat.c

sockstat: Surround explicit IPv6 addresses with brackets

PR:             254611
Approved by:    otis, tuexen, des
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54375

(cherry picked from commit fe81e3944c085e765c83c4f78941d7529ceb556e)
DeltaFile
+9-0usr.bin/sockstat/sockstat.c
+9-01 files

FreeBSD/src 03c8e3eusr.bin/sockstat sockstat.c

sockstat: Surround explicit IPv6 addresses with brackets

PR:             254611
Approved by:    otis, tuexen, des
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54375

(cherry picked from commit fe81e3944c085e765c83c4f78941d7529ceb556e)
DeltaFile
+9-0usr.bin/sockstat/sockstat.c
+9-01 files

LLVM/project 5eeeeealibcxx/include/__atomic/support gcc.h

fix gcc
DeltaFile
+4-4libcxx/include/__atomic/support/gcc.h
+4-41 files

LLVM/project 9e8caa7llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/test/CodeGen/X86 selectiondag-dbgvalue-null-crash.ll

[SelectionDAG] Fix null pointer dereference in resolveDanglingDebugInfo (#174341)

## Summary
Fix null pointer dereference in
`SelectionDAGBuilder::resolveDanglingDebugInfo`.

## Problem
`Val.getNode()->getIROrder()` is called before checking if
`Val.getNode()` is null, causing crashes when compiling code with debug
info that contains aggregate constants with nested empty structs.

## Solution
Move the `ValSDNodeOrder` declaration inside the `if (Val.getNode())`
block.

## Test Case
Reproduces with aggregate types containing nested empty structs:
```llvm
%3 = insertvalue { { i1, {} }, ptr, { { {} }, { {} } }, i64 } 

    [47 lines not shown]
DeltaFile
+46-0llvm/test/CodeGen/X86/selectiondag-dbgvalue-null-crash.ll
+1-1llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+47-12 files

LLVM/project a64208dlibcxx/include/__atomic atomic_ref.h, libcxx/include/__atomic/support gcc.h

fix gcc
DeltaFile
+12-2libcxx/include/__atomic/atomic_ref.h
+4-4libcxx/include/__atomic/support/gcc.h
+16-62 files

OpenBSD/ports 1l8pnvkgames/scummvm Makefile distinfo, games/scummvm/patches patch-configure

   update to scummvm 2026.1.0; from Donovan Watteau
   tinygl disabled as ztriangle.cpp uses a lot of memory at build time
VersionDeltaFile
1.26+86-3games/scummvm/pkg/PLIST
1.107+9-5games/scummvm/Makefile
1.49+2-2games/scummvm/distinfo
1.31+2-2games/scummvm/patches/patch-configure
+99-124 files

LLVM/project 8d20783llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine add2.ll rem-mul-shl.ll

[InstCombine] Shrink added constant using LHS known zeros (#174380)

Previously, `SimplifyDemandedUseBits` for `add` instructions only
used known zeros from the RHS to simplify the LHS. It failed to
handle the symmetric case where the LHS has known zeros and the
result does not demand the low bits.

This patch implements this missing optimization, allowing the RHS
constant to be shrunk when the LHS low bits are known zero and unused.

Proof: https://alive2.llvm.org/ce/z/6v9iFY
Fixed: https://github.com/llvm/llvm-project/issues/135411
DeltaFile
+75-0llvm/test/Transforms/InstCombine/add2.ll
+6-0llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+3-3llvm/test/Transforms/InstCombine/rem-mul-shl.ll
+2-2llvm/test/Transforms/InstCombine/add.ll
+86-54 files

LLVM/project 906a95elibcxx/include/__atomic atomic_ref.h

fix gcc atomic_ref
DeltaFile
+3-2libcxx/include/__atomic/atomic_ref.h
+3-21 files

NetBSD/pkgsrc-wip c21b6e3llama.cpp TODO

llama.cpp: Add reference to CVE-2026-2069
DeltaFile
+1-1llama.cpp/TODO
+1-11 files

LLVM/project 806ad88compiler-rt/lib/ubsan CMakeLists.txt

[compiler-rt] [ubsan] Fix missing include directory (#180341)

Fixes missing `-I` path that broke standalone builds in #179011. Matches
`include_directories()` in other compiler-rt libraries.

Signed-off-by: Michał Górny <mgorny at gentoo.org>
DeltaFile
+1-0compiler-rt/lib/ubsan/CMakeLists.txt
+1-01 files

FreeBSD/ports 95e7551security/vuxml/vuln 2026.xml

security/vuxml: Document potential DoS in traefik
DeltaFile
+31-0security/vuxml/vuln/2026.xml
+31-01 files