LLVM/project a878778mlir/include/mlir/Interfaces ControlFlowInterfaces.h, mlir/lib/Dialect/SCF/IR SCF.cpp

[mlir] Fix RemoveDeadRegionBranchOpSuccessorInputs producing invalid scf.for

RemoveDeadRegionBranchOpSuccessorInputs builds its tied-value sets from
RegionBranchOpInterface::getSuccessorOperandInputMapping, which is derived from
getSuccessorRegions. For an scf.for with a statically-known trip count of 1,
getSuccessorRegions drops the region->region back edge (the loop provably never
iterates back). That back edge is what forwards a yield operand to the region
iter_args, so without it an iter_arg and its corresponding op result are no
longer tied through a shared operand. The pattern then removes a dead iter_arg
without its (structurally required) result, producing an scf.for with
mismatched loop-carried counts:

    'scf.for' op mismatch in number of loop-carried values and defined values

The greedy driver repairs this on a later iteration (InlineRegionBranchOp folds
the single-trip loop), so it is only observed with
MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS, which verifies the IR after every
pattern application. It shows up across Linalg tiling / pack-unpack /
convolution lowering and scf loop canonicalization; see issue #163599.

    [15 lines not shown]
DeltaFile
+29-7mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+25-2mlir/lib/Dialect/SCF/IR/SCF.cpp
+17-2mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
+71-113 files

FreeBSD/ports d16294bdevel/py-ty Makefile Makefile.crates

devel/py-ty: Update to 0.0.72

Changelog: https://github.com/astral-sh/ty/blob/0.0.72/CHANGELOG.md

Reported by:    portscout
DeltaFile
+11-3devel/py-ty/distinfo
+4-0devel/py-ty/Makefile.crates
+1-1devel/py-ty/Makefile
+16-43 files

DragonFlyBSD/src cea9f57test/testcases/libnvmm h_mem_assist.c h_mem_assist_asm.S

testcases/libnvmm: Rename our extra tests to avoid conflicts
DeltaFile
+8-8test/testcases/libnvmm/h_mem_assist_asm.S
+7-8test/testcases/libnvmm/h_mem_assist.c
+15-162 files

DragonFlyBSD/src c620eectest/testcases/libnvmm h_mem_assist.c h_io_assist.c

testcases/libnvmm: Extract OS-specific bits into h_os.h
DeltaFile
+91-0test/testcases/libnvmm/h_os.h
+3-46test/testcases/libnvmm/h_io_assist.c
+3-45test/testcases/libnvmm/h_mem_assist.c
+97-913 files

DragonFlyBSD/src dad22e4test/testcases/libnvmm h_io_assist.c h_mem_assist.c

testcases/libnvmm: Print more info and report total failures

* Print a few more details in the output logs.
* Run all tests to completeion and report the total number of failures
  at the end.
DeltaFile
+36-13test/testcases/libnvmm/h_mem_assist.c
+20-8test/testcases/libnvmm/h_io_assist.c
+56-212 files

DragonFlyBSD/src da9c391test/testcases/libnvmm h_mem_assist.c h_io_assist.c

testcases/libnvmm: Add CFLAGS+=-g and enable WARNS=6
DeltaFile
+1-1test/testcases/libnvmm/h_mem_assist.c
+1-1test/testcases/libnvmm/h_io_assist.c
+2-0test/testcases/libnvmm/Makefile.inc
+4-23 files

LLVM/project 62540c7llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/CodeGen/X86 fp128-libcalls-gnu.ll

RuntimeLibcalls: Provide fp128 long double libcalls on X86

16a8d8d038a3  removed the l-suffixed long double math functions
from the default set and re-added them per-target gated on
isLongDoubleF128, but X86 was not given the re-add. On targets
whose long double is fp128 (e.g. x86_64 Android/OHOS) this dropped
the fp128 l-suffixed libcalls.

Fixes the regression reported on #214944.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+264-4llvm/test/CodeGen/X86/fp128-libcalls-gnu.ll
+8-0llvm/include/llvm/IR/RuntimeLibcalls.td
+272-42 files

LLVM/project 6530e27llvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[CodeGen] Pass the atomic instruction to supportsUnalignedAtomics
DeltaFile
+2-2llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+3-1llvm/include/llvm/CodeGen/TargetLowering.h
+5-32 files

LLVM/project 4dc3ef8mlir/lib/Interfaces ControlFlowInterfaces.cpp

[mlir] Fix RemoveDeadRegionBranchOpSuccessorInputs producing invalid scf.for

RemoveDeadRegionBranchOpSuccessorInputs builds its tied-value sets from
RegionBranchOpInterface::getSuccessorOperandInputMapping, which is derived from
getSuccessorRegions. For an scf.for with a statically-known trip count of 1,
getSuccessorRegions drops the region->region back edge (the loop provably never
iterates back). That back edge is what forwards a yield operand to the region
iter_args, so without it an iter_arg and its corresponding op result are no
longer tied through a shared operand. The pattern then removes a dead iter_arg
without its (structurally required) result, producing an scf.for with
mismatched loop-carried counts:

    'scf.for' op mismatch in number of loop-carried values and defined values

The greedy driver repairs this on a later iteration, so it is only observed
with MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS (which verifies the IR after
every pattern application). It shows up across Linalg tiling / pack-unpack /
convolution lowering and scf loop canonicalization; see issue #163599.


    [6 lines not shown]
DeltaFile
+65-0mlir/lib/Interfaces/ControlFlowInterfaces.cpp
+65-01 files

LLVM/project d0b4c1bllvm/lib/CodeGen TargetRegisterInfo.cpp, llvm/lib/Target/PowerPC PPCInstrInfo.cpp

PowerPC: Fix FMA reassociation crash on an undef multiply operand (#216602)

Make sure getVRegDef succeeded.

Found by AI while working on something else.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+73-0llvm/test/CodeGen/PowerPC/fma-reassoc-undef-mul.mir
+1-1llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+1-1llvm/lib/CodeGen/TargetRegisterInfo.cpp
+75-23 files

DragonFlyBSD/src 691a36eusr.sbin/nvmmctl nvmmctl.8

nvmmctl.8: Improve command enumeration style
DeltaFile
+3-3usr.sbin/nvmmctl/nvmmctl.8
+3-31 files

LLVM/project da522b4llvm/lib/CodeGen TargetRegisterInfo.cpp, llvm/test/CodeGen/X86 machinelicm-lookthru-undef.mir

CodeGen: Fix lookThruCopyLike crash on an undef register (#216598)

Found by AI while working on something else.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+39-0llvm/test/CodeGen/X86/machinelicm-lookthru-undef.mir
+1-1llvm/lib/CodeGen/TargetRegisterInfo.cpp
+40-12 files

DragonFlyBSD/src 0d5a90bsys/dev/virtual/nvmm nvmm_ioctl.h nvmm_os.h

nvmm(4): Add a few comments and clean up a bit
DeltaFile
+2-4sys/dev/virtual/nvmm/nvmm_internal.h
+4-1sys/dev/virtual/nvmm/nvmm_os.h
+0-2sys/dev/virtual/nvmm/nvmm_ioctl.h
+6-73 files

FreeBSD/ports eba41bemultimedia/ffmpeg Makefile, multimedia/handbrake Makefile

multimedia:{ffmpeg,handbrake}: Switch dependency from onevpl to libvpl

onevpl has been superceded by libvpl upstream. So switch dependencies
of dependent ports.

PR:             293561
Reported by:    Yuichiro NAITO <naito.yuichiro at gmail.com>
Approved by:    portmgr (blanket; switch deprecated dependencies)
DeltaFile
+3-3multimedia/ffmpeg/Makefile
+2-2multimedia/handbrake/Makefile
+5-52 files

FreeBSD/ports 7ef46d5multimedia/libvpl Makefile pkg-plist, multimedia/libvpl/files patch-libvpl_src_mfx__dispatcher__vpl__loader.cpp patch-libvpl_src_mfx__dispatcher__vpl__lowlatency.cpp

multimedia/libvpl: New port: Intel Video Processing Library API, dispatcher, and examples

Intel Video Processing Library (Intel VPL) provides access to hardware
accelerated video decode, encode, and processing capabilities on Intel GPUs
to support AI visual inference, media delivery, cloud gaming, and virtual
desktop infrastructure use cases.

This repository contains the following components:

- Copies of the Intel VPL API header files.
  The version of the API is listed in the mfxdefs.h file.
- Intel VPL Dispatcher
- Examples demonstrating API usage

*** IMPORTANT ***

Intel VPL Tools are no longer in this repository. They have all been
moved to libvpl-tools.


    [4 lines not shown]
DeltaFile
+131-0multimedia/libvpl/files/patch-libvpl_src_mfx__dispatcher__vpl__msdk.cpp
+113-0multimedia/libvpl/pkg-plist
+73-0multimedia/libvpl/files/patch-libvpl_src_linux_device__ids.h
+36-0multimedia/libvpl/Makefile
+30-0multimedia/libvpl/files/patch-libvpl_src_mfx__dispatcher__vpl__lowlatency.cpp
+27-0multimedia/libvpl/files/patch-libvpl_src_mfx__dispatcher__vpl__loader.cpp
+410-08 files not shown
+494-014 files

FreeBSD/ports 424318emultimedia/onevpl Makefile

multimedia/onevpl: Deprecate and set to expire on 2026-09-30

Upstream has been renamed to libvpl and libvpl-tools. Use
multimedia/libvpl and multimedia/libvpl-tools.

While here, add CONFLICTS_INSTALL=libvpl.

PR:             293561
Reported by:    Yuichiro NAITO <naito.yuichiro at gmail.com>
DeltaFile
+5-0multimedia/onevpl/Makefile
+5-01 files

NetBSD/src 0mpeGcWsys/sys lockdebug.h

   sys/lockdebug.h: Simplify conditional and explain why it's there.

   No functional change intended: just changes an always-false
   expression to another always-false expression in a conditional.

   (Well, in principle, it reduces the number of times we evaluate this
   argument, but in practice the argument should be side-effect-free
   anyway.)

   PR kern/60030: ddb/crash: show all locks without LOCKDEBUG
VersionDeltaFile
1.24+6-6sys/sys/lockdebug.h
+6-61 files

OpenBSD/ports D9oFHIXsysutils/firmware/intel Makefile distinfo, sysutils/firmware/intel/pkg PLIST

   update intel microcode to 20260812

   20260811 with 06-aa-04 (Meteor Lake) downgraded from 0000002a back to 00000028
   due to reports of not being able to boot with 0000002a
   https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/issues/112
   not a problem I saw when testing 0000002a on Meteor Lake

   release notes:
   https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20260811
   https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20260812
VersionDeltaFile
1.45+2-2sysutils/firmware/intel/distinfo
1.29+3-0sysutils/firmware/intel/pkg/PLIST
1.53+1-1sysutils/firmware/intel/Makefile
+6-33 files

NetBSD/pkgsrc VHoGnTyfonts/fontconfig Makefile

   Unbreak the build
VersionDeltaFile
1.143+2-2fonts/fontconfig/Makefile
+2-21 files

OpenBSD/ports k6l7gJwdevel/intellij distinfo Makefile

   devel/intellij: update to 2026.2.1
VersionDeltaFile
1.88+2-2devel/intellij/distinfo
1.122+2-2devel/intellij/Makefile
+4-42 files

LLVM/project c31c334libcxx/docs/Status Cxx26Issues.csv Cxx29Issues.csv, libcxx/include/__optional nullopt_t.h

[libc++][optional] LWG4497: `std::nullopt_t` should be comparable (#214975)

Implements https://wg21.link/LWG4497

Closes #189854

Also implements LWG4612: https://cplusplus.github.io/LWG/issue4612

---------

Co-authored-by: Mohamed Atef <mohamedatef1698 at gmail.com>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+102-0libcxx/test/std/utilities/optional/optional.nullopt/compare.three_way.pass.cpp
+16-0libcxx/include/__optional/nullopt_t.h
+3-0libcxx/docs/Status/Cxx29Issues.csv
+1-1libcxx/docs/Status/Cxx26Issues.csv
+122-14 files

OpenBSD/src 6RsQoYhshare/man/man7 roff.7

   ourput -> output
VersionDeltaFile
1.107+2-2share/man/man7/roff.7
+2-21 files

LLVM/project 391dd41compiler-rt/lib/asan asan_malloc_win.cpp, compiler-rt/lib/builtins emutls.c gcc_personality_v0.c

[compiler-rt] Clean up Windows includes in sanitizer runtimes (#216586)

Extracted from https://github.com/llvm/llvm-project/pull/209902.
It's one of the patches that enables ASan and UBSan in GCC for Windows.

Co-authored-by: Hannes Domani <ssbssa at yahoo.de>
DeltaFile
+8-6compiler-rt/lib/asan/asan_malloc_win.cpp
+1-1compiler-rt/lib/builtins/gcc_personality_v0.c
+1-0compiler-rt/lib/builtins/emutls.c
+10-73 files

LLVM/project 9e51d75llvm/include/llvm/ADT FoldingSet.h, llvm/lib/Support FoldingSet.cpp

[ADT] Fix formatting in FoldingSet.* (NFC) (#216591)

I'm planning to work on FoldingSet.
DeltaFile
+55-70llvm/include/llvm/ADT/FoldingSet.h
+43-35llvm/lib/Support/FoldingSet.cpp
+2-3llvm/unittests/ADT/FoldingSet.cpp
+100-1083 files

FreeBSD/src 94596f9sys/dev/igc igc_regs.h igc_mac.c

igc: Correct hardware error statistics

Track RERC separately instead of adding receive errors to the collision
count, and read the previously omitted RXERRC register.  Include RFC in
input errors because CRCERRS does not count bad-CRC runts, implementing
the I225 length-error accounting workaround alongside RUC and ROC.

Stop treating host transmit MAC discards as receive errors.  Expose both
RERC and HTDPMC as dedicated MAC statistics so their overlapping counts
remain available without corrupting aggregate interface counters.

(cherry picked from commit a108ee9138a698f212d6d6832d54e88ce6786617)
DeltaFile
+14-3sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_regs.h
+1-0sys/dev/igc/igc_mac.c
+1-0sys/dev/igc/igc_hw.h
+17-34 files

FreeBSD/src 1c83638share/man/man4 igc.4, sys/dev/igc if_igc.h if_igc.c

igc: Add VLAN hardware filtering

Borrow the e1000 VLAN filter table

Ambiguous presence of the feature by Intel was settled by DPDK and
emperical testing.

Relnotes:       yes

(cherry picked from commit 8f779f159e2198c85b4fcb8685989879a9330104)
DeltaFile
+107-9sys/dev/igc/if_igc.c
+3-3share/man/man4/igc.4
+3-0sys/dev/igc/if_igc.h
+113-123 files

OpenBSD/src yOpor9yusr.bin/sndiod midi.c

   correct test for non-NULL; ok ratchov@
VersionDeltaFile
1.46+2-2usr.bin/sndiod/midi.c
+2-21 files

FreeBSD/src c577d5esys/dev/igc igc_defines.h if_igc.c

igc: Work around I225 v1 minimum IPG erratum

I225 v1 cannot receive the minimum inter-packet gap required at
2.5 Gb/s.  For affected back-to-back links, Intel recommends using a
15-byte transmit IPG instead of 12 bytes.

Program TIPG.IPGT to 0xb for pre-v2 I225 devices at 2.5 Gb/s and
restore the default at lower speeds.  Avoid penalizing fixed I225 and
I226 parts.

(cherry picked from commit 709426551c6a3607fb5a33f5b8dbb87cfa9c8125)
DeltaFile
+29-0sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_defines.h
+30-02 files

FreeBSD/src f310b83share/man/man4 igc.4, sys/dev/igc if_igc.h if_igc.c

igc: Add VLAN hardware filtering

Borrow the e1000 VLAN filter table

Ambiguous presence of the feature by Intel was settled by DPDK and
emperical testing.

Relnotes:       yes

(cherry picked from commit 8f779f159e2198c85b4fcb8685989879a9330104)
DeltaFile
+107-9sys/dev/igc/if_igc.c
+3-3share/man/man4/igc.4
+3-0sys/dev/igc/if_igc.h
+113-123 files

FreeBSD/src 49c6cf8sys/dev/igc igc_regs.h igc_mac.c

igc: Correct hardware error statistics

Track RERC separately instead of adding receive errors to the collision
count, and read the previously omitted RXERRC register.  Include RFC in
input errors because CRCERRS does not count bad-CRC runts, implementing
the I225 length-error accounting workaround alongside RUC and ROC.

Stop treating host transmit MAC discards as receive errors.  Expose both
RERC and HTDPMC as dedicated MAC statistics so their overlapping counts
remain available without corrupting aggregate interface counters.

(cherry picked from commit a108ee9138a698f212d6d6832d54e88ce6786617)
DeltaFile
+14-3sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_regs.h
+1-0sys/dev/igc/igc_mac.c
+1-0sys/dev/igc/igc_hw.h
+17-34 files