LLVM/project 6d2b1f2 — llvm/include/llvm/CodeGen SelectionDAG.h, llvm/lib/CodeGen/SelectionDAG LegalizeDAG.cpp SelectionDAG.cpp

DAG: Gracefully diagnose missing floating-point state libcalls

Previously makeStateFunctionCall would hit a fatal error if the target has
no fegetenv/fesetenv/fegetmode/fesetmode implementation. Report a proper
context error and emit nothing.

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+41-0llvm/test/CodeGen/NVPTX/fenv-no-libcall-error.ll
+13-9llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+6-6llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+1-1llvm/include/llvm/CodeGen/SelectionDAG.h
+61-164 files

LLVM/project d7d8df9 — flang-rt/test lit.cfg.py, flang-rt/test/Driver fpe-trap-exec.f90 fpe-trap-exec-underflow.f90

[Flang-RT] Skip SIGFPE tests under WSL1 (#227876)

The floating-point exceptions do not work under WSL1 because the SIGFPE
trap does not propagate to the application
(https://github.com/microsoft/WSL/issues/3657). Mark these tests as
UNSUPPORTED for wsl1.

The Subsystem For Windows detection mechanism is the same as for LLVM
(#137822).
DeltaFile
+8-0flang-rt/test/lit.cfg.py
+1-1flang-rt/test/Driver/fpe-trap-exec.f90
+1-1flang-rt/test/Driver/fpe-trap-exec-underflow.f90
+1-1flang-rt/test/Driver/fpe-trap-exec-overflow.f90
+1-1flang-rt/test/Driver/fpe-trap-exec-inexact.f90
+1-1flang-rt/test/Driver/fpe-trap-exec-divzero.f90
+13-51 files not shown
+14-67 files

LLVM/project 1f4597b —

[OpenMP] Initialize td_last_tied when an untied task starts (#214320)
DeltaFile
+0-00 files

LLVM/project 7e04d1b — flang/lib/Semantics check-omp-structure.cpp check-omp-loop.cpp, flang/test/Semantics/OpenMP clause-validity01.f90 linear-clause03.f90

[flang][OpenMP] Improve check for LINEAR and ORDERED with argument (#228235)

The LINEAR clause is not allowed on a construct if an ORDERED clause
with an argument is present. The new message is clearer about the
argument to the ORDERED clause.
DeltaFile
+25-5flang/lib/Semantics/check-omp-loop.cpp
+9-2flang/test/Semantics/OpenMP/linear-clause03.f90
+4-3flang/test/Semantics/OpenMP/clause-validity01.f90
+0-3flang/lib/Semantics/check-omp-structure.cpp
+38-134 files

OpenBSD/src HPhu32F — sys/dev/ic qwz.c

   sys/qwz: backport of olatile casts from qwx

   Backport of sys/dev/ic/qwx.c,v 1.114

   OK: stsp@
VersionDeltaFile
1.91+5-3sys/dev/ic/qwz.c
+5-31 files

LLVM/project ea458d2 — clang/test/CIR/CodeGenHIP amdgcnspirv-builtins.hip

[CIR][AMDGPU] Drop stale logb FIXME in amdgcnspirv-builtins.hip (NFC) (#228404)

#228004 made CIR emit nsw add and ordered compare for logb, so update
the SPIR-V checks to match

Fix failure appeared on main branch
DeltaFile
+2-4clang/test/CIR/CodeGenHIP/amdgcnspirv-builtins.hip
+2-41 files

OpenBSD/src O1JGzv6 — sys/dev/ic qwz.c

   sys/qwz: backport sync DMA memory from qwx

   Backport of sys/dev/ic/qwx.c,v 1.140 and 1.146

   OK: stsp@
VersionDeltaFile
1.90+9-2sys/dev/ic/qwz.c
+9-21 files

OpenBSD/src j76D4Rj — usr.bin/tmux tmux.h server-client.c

   Do not leak client if lost before configuration is loaded, and do not load
   multiple times. GitHub issues 5661 and 5662 from Alexandre Fiori.
VersionDeltaFile
1.92+27-3usr.bin/tmux/cfg.c
1.516+2-3usr.bin/tmux/server-client.c
1.1450+2-1usr.bin/tmux/tmux.h
+31-73 files

LLVM/project d124d95 — flang/include/flang/Common uint128.h, flang/include/flang/Evaluate integer-value.h

Merge commit '46c09205169eb2ffc0187cdb41196cf95bcfe683' into HEAD
DeltaFile
+107-117flang/unittests/Evaluate/IntegerValueTest.cpp
+23-11flang/include/flang/Common/uint128.h
+30-0flang/unittests/Evaluate/uint128.cpp
+2-2flang/include/flang/Evaluate/integer-value.h
+162-1304 files

LLVM/project cbbd94d — llvm/include/llvm/CodeGen ISDOpcodes.h, llvm/lib/CodeGen/SelectionDAG TargetLowering.cpp SelectionDAGDumper.cpp

DAG: Gracefully diagnose missing fp-compare libcall when softening

Avoid fatal errors, and legalize to poison with a proper context
error.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+59-30llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+25-10llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+23-0llvm/test/CodeGen/NVPTX/fp128-compare-no-libcall-error.ll
+5-0llvm/include/llvm/CodeGen/ISDOpcodes.h
+112-404 files

LLVM/project 46c0920 — flang/include/flang/Evaluate integer-value.h, flang/unittests/Evaluate IntegerValueTest.cpp

clang-cl compile fix

Handle strict mode libstdc++ as well

Avoid warning

Add unittests

HAS_NATIVE_UINT128_T only in unittest

clang-format

clang-format
DeltaFile
+107-117flang/unittests/Evaluate/IntegerValueTest.cpp
+2-2flang/include/flang/Evaluate/integer-value.h
+109-1192 files

LLVM/project 6375f09 — flang/include/flang/Common uint128.h, flang/unittests/Evaluate uint128.cpp

Merge commit '68b6e01f9ae33ee0a86a2c26470f54822fd1c4b4' into HEAD
DeltaFile
+23-11flang/include/flang/Common/uint128.h
+30-0flang/unittests/Evaluate/uint128.cpp
+53-112 files

NetBSD/pkgsrc-wip 9555a68 — py-gmqtt Makefile

py-gmqtt: TOOL_DEPENDS on setuptools
DeltaFile
+2-0py-gmqtt/Makefile
+2-01 files

LLVM/project 68b6e01 — flang/include/flang/Common uint128.h, flang/unittests/Evaluate uint128.cpp

Handle strict mode libstdc++ as well

Avoid warning

Add unittests

HAS_NATIVE_UINT128_T only in unittest

clang-format
DeltaFile
+23-11flang/include/flang/Common/uint128.h
+30-0flang/unittests/Evaluate/uint128.cpp
+53-112 files

OpenBSD/src KE4qSlp — usr.bin/tmux cmd-swap-pane.c

   Restore the zoom when swap-pane refuses a floating pane, GitHub issue
   5660 from Alexandre Fiori.
VersionDeltaFile
1.56+8-3usr.bin/tmux/cmd-swap-pane.c
+8-31 files

FreeNAS/freenas d2525a8 —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

LLVM/project ccafeec — llvm/lib/CodeGen MachineBasicBlock.cpp, llvm/test/CodeGen/AMDGPU phi-elimination-split-critical-edge-undef-phi-source.mir

CodeGen: Fix stale live range for undef PHI sources on split edges (#228057)

SplitCriticalEdge collects the PHI sources coming from the new block so
the trimming loop below does not undo the segment just added for them.
An undef operand gets no segment, but was still added to the set, so a
register that is only an undef PHI operand on the split edge kept the
stale extension of its live range through the new block.

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+36-0llvm/test/CodeGen/AMDGPU/phi-elimination-split-critical-edge-undef-phi-source.mir
+1-1llvm/lib/CodeGen/MachineBasicBlock.cpp
+37-12 files

FreeNAS/freenas 0f08fe7 — src/middlewared/middlewared/plugins/apps/ix_apps query.py, src/middlewared/middlewared/pytest/unit/plugins/apps test_list_apps.py

NAS-144136 / 28.0.0-BETA.1 / Report crash-looping app containers as crashed (#19896)

## Problem
A container that exits with an error under the catalog's default
`unless-stopped` restart policy is reported by Docker as `restarting`,
not `exited`. The container state mapping only looked at the exit code
for `exited`, so a crash-looping container fell through to `exited`. A
multi-container app with a healthy sibling then showed as Running, and a
single-container app showed as Stopped, which hid its workloads and
blocked logs, upgrade and rollback.

## Solution
Treat a `restarting` container as crashed when its last exit code is
non-zero. Docker only restarts a container after an exit it didn't
cause, since stopping or killing it through Docker cancels the restart
policy, so any non-zero code there is a real failure, including 137 from
an OOM kill. A restart after a clean exit is still reported as exited.
Added a unit test for the Docker status to container state mapping,
which had no coverage.
DeltaFile
+13-1src/middlewared/middlewared/pytest/unit/plugins/apps/test_list_apps.py
+4-1src/middlewared/middlewared/plugins/apps/ix_apps/query.py
+17-22 files

LLVM/project f698bf3 — clang/lib/Interpreter DeviceOffload.cpp, clang/test/Interpreter/CUDA empty-device-module.cu

[clang-repl] Fix PTX emission for CUDA inputs with no device code (#226977)

Previously, GeneratePTX() returned an error when PassManager::run()
returned false. That value reports whether any pass changed the module,
not whether emission succeeded. IIUC, addPassesToEmitFile() should be
the only failure point, which is already checked.

The check was harmless until e8b75c172810 ("[NVPTX] Add NewPM
boilerplate to NVPTXAssignValidGlobalNames"). Before it, that pass
returned true unconditionally (if the pass succeeded), so run() always
reported a change. Now a device module without a function definition,
produced in the case of host-only inputs, reports no change and fails
the check, falsely erroring out with `Failed to emit PTX code.` Due to
this, every host-only input to `clang-repl --cuda` is now rejected on
main. The host-supports-cuda lit probe consists mostly of such inputs,
so clang/test/Interpreter/CUDA reports UNSUPPORTED instead of failing.

I've also added a test with host-only inputs so a regression like this
could be caught.
DeltaFile
+28-0clang/unittests/Interpreter/DeviceOffloadTest.cpp
+18-0clang/test/Interpreter/CUDA/empty-device-module.cu
+1-3clang/lib/Interpreter/DeviceOffload.cpp
+47-33 files

LLVM/project cc39641 — offload/libompaccsupport device.cpp, offload/plugins-nextgen/common/src PluginInterface.cpp

Move basic memory limit checks back to PluginInterface
DeltaFile
+6-12offload/libompaccsupport/device.cpp
+12-0offload/plugins-nextgen/common/src/PluginInterface.cpp
+18-122 files

LLVM/project e60672b — offload/include device.h, offload/libompaccsupport device.cpp

[offload][omp] Move OpenMP KLE to libomptarget

Move preparations related to OpenMP KLE and
dynamicCGroupMem fallback out of the plugins and
into libomptarget.

Resructure Device::launch as it grew too large.
DeltaFile
+291-62offload/libompaccsupport/device.cpp
+2-144offload/plugins-nextgen/common/src/PluginInterface.cpp
+3-46offload/plugins-nextgen/common/include/PluginInterface.h
+1-0offload/include/device.h
+297-2524 files

OpenBSD/src lblECaS — usr.bin/tmux cmd-copy-mode.c

   Do not use client for copy-mode -S if NULL, reported by Martin Vlach.
VersionDeltaFile
1.55+3-1usr.bin/tmux/cmd-copy-mode.c
+3-11 files

DragonFlyBSD/src c76ea56 — sbin/mount mount.c

mount(8): Detect known filesystem types in raw GPT partitions

mount(8) previously only guessed the filesystem from the disklabel
fstype.  DIOCGPART already puts the GPT partition type UUID in
partinfo.fstype_uuid, but mount(8) never looked at it.  A raw GPT
partition has fstype 0, so mount(8) would warn and fall back to ufs.

Update checkdisklabel() to look the fstype_uuid up in a table of known
GPT partition types (EFI -> msdos, the DragonFly/FreeBSD native types ->
ufs/hammer/hammer2) if the disklabel fstype does not map.  Unknown GPT
partition types keep the old warning and ufs fallback.

Bug: #3401
DeltaFile
+43-12sbin/mount/mount.c
+43-121 files

DragonFlyBSD/src ffd4b44 — stand/boot/efi/loader Makefile, stand/boot/efi/loader/arch/x86_64 ldscript.x86_64

efi/loader: Improve the linker script and LDFLAGS

* Remove the stale comment of `.hash`, which is empty under the default
  `--hash-style=gnu`.  The image base is also pinned by
  `. = 0; ImageBase = .`.

* Fold the remaining linker-generated PLT sections (`.plt.*` and `.iplt`)
  into `.text` so the `objcopy -j .text` can never drop them.

* Add `-Wl,-z,defs` to fail the link if there are unresolved symbols,
  instead of generating PLT entries for them.

* Add `-Wl,--no-eh-frame-hdr` to skip generating the `.eh_frame_hdr`
  section because it's never copied into the final `loader.efi`
  executable.  What's worse, the generation sidesteps a bug in
  bintuils/bfd that produced the misleading overlapping FDEs error, as
  observed in the previous commit.

Assisted-by: DeepSeek-v4.1-flash (with Pi Coding Agent)
DeltaFile
+6-0stand/boot/efi/loader/Makefile
+2-2stand/boot/efi/loader/arch/x86_64/ldscript.x86_64
+8-22 files

DragonFlyBSD/src 34c6dca — stand/boot/efi/loader Makefile

efi/loader: Fix libstand.a order in LDADD

When I tried to use `strtok()` in `boot/dloader`, the `stand/efi/loader`
would fail the linking with an obscure error:

```
cc -pipe -O1   -fno-stack-protector -fPIC -I/usr/src/stand/boot/efi/loader/../../../contrib/edk2/MdePkg/Include -I/usr/src/stand/boot/efi/loader/../../../contrib/edk2/MdePkg/Include/X64 -I/usr/src/stand/boot/efi/loader/../../../contrib/edk2/MdeModulePkg/Include -I/usr/src/stand/boot/efi/loader -I/usr/src/stand/boot/efi/loader/arch/x86_64 -I/usr/src/stand/boot/efi/loader/../include -I/usr/src/stand/boot/efi/loader/../../../../sys/contrib/dev/acpica/source/include -I/usr/src/stand/boot/efi/loader/../../../../sys -I/usr/src/stand/boot/efi/loader/../../pc32/libi386 -I/usr/src/stand/boot/efi/loader/../../dloader -I/usr/src/stand/boot/efi/loader/../../../lib -DNO_PCI -DEFI -I/usr/src/stand/boot/efi/loader/../../common -O -D_STANDALONE -ffreestanding -Wformat -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -fshort-wchar -mno-red-zone -mno-aes   -std=gnu11 -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition  -Wno-pointer-sign -Wno-maybe-uninitialized -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -Wno-address-of-packed-member -Wno-unused-but-set-variable -Wno-unused-but-set-parameter -Wno-unused-value -Wno-implicit-fallthrough  -Wl,-znocombreloc -Wl,-T/usr/src/stand/boot/efi/loader/arch/x86_64/ldscript.x86_64 -Wl,-Bsymbolic -shared -nostdlib -o loader.sym autoload.o bootinfo.o conf.o copy.o devicename.o efi_main.o i386_module.o main.o self_reloc.o smbios.o vers.o amd64_tramp.o start.o framebuffer.o elf64_freebsd.o nullconsole.o comconsole.o bcache.o boot.o commands.o console.o devopen.o interp_backslash.o interp_parse.o ls.o misc.o module.o panic.o rel_open.o load_elf32.o load_elf32_obj.o reloc_elf32.o load_elf64.o load_elf64_obj.o reloc_elf64.o do_dloader.o /usr/obj/usr/src/world_x86_64/usr/src/stand/boot/efi/loader/../libefi/libefi.a /usr/obj/usr/src/world_x86_64/usr/src/stand/boot/efi/loader/../../../lib/libstand.a /usr/obj/usr/src/world_x86_64/usr/src/stand/boot/efi/loader/../../dloader/libdloader.a
/usr/obj/usr/src/ctools_x86_64_x86_64/usr/libexec/binutils234/elf/ld.bfd: .eh_frame_hdr refers to overlapping FDEs
/usr/obj/usr/src/ctools_x86_64_x86_64/usr/libexec/binutils234/elf/ld.bfd: final link failed: bad value
collect2: error: ld returned 1 exit status
```

Reproducing the failing link with `ld.bfd --no-eh-frame-hdr` and dumping
`.eh_frame` showed:

```
00000018  00000014  FDE cie=0  pc=0x6000..0x600e   <- efi_autoload (autoload.o)
00000030  00000024  FDE cie=0  pc=0x6000..0x6020   <- PLT .eh_frame
00000058  00000050  FDE cie=0  pc=0x600e..0x63ab   <- bi_copymodules (bootinfo.o)

    [27 lines not shown]
DeltaFile
+2-2stand/boot/efi/loader/Makefile
+2-21 files

LLVM/project 873f7ef — bolt/lib/Core DebugData.cpp, bolt/lib/Rewrite RewriteInstance.cpp

[BOLT] Support SHF_COMPRESSED DWARF debug sections. (#215835)

**Before:** BOLT will report an error when `--update-debug-sections` is
enabled and the input contains a `SHF_COMPRESSED` debug section, stating
that "`--update-debug-sections` requires uncompressed debug
information". This was implemented in #185662.

**After:** This patch follows up on this PR and adds support for
`SHF_COMPRESSED` debug information. BOLT now can decompress `zlib` /
`zstd` compressed debug information, update them and then recompress
with their original compression. This patch also validates compressed
debug sections, reporting an error if applicable. As mentioned in
#185662, legacy GNU-style compression is not handled.

Assisted-by: Codex
DeltaFile
+285-0bolt/test/AArch64/zstd-compressed-debug-sections.s
+285-0bolt/test/AArch64/zlib-compressed-debug-sections.s
+134-11bolt/lib/Rewrite/RewriteInstance.cpp
+3-5bolt/lib/Core/DebugData.cpp
+4-3bolt/test/AArch64/compressed-debug-sections.test
+2-0bolt/test/CMakeLists.txt
+713-191 files not shown
+715-197 files

LLVM/project e9e9512 — offload/plugins-nextgen/level_zero/include L0Context.h L0Compat.h, offload/plugins-nextgen/level_zero/src L0Context.cpp

[Offload][L0][NFC] Remove unused zexKernelGetArgumentSize dispatcher (#227589)

The KernelGetArgumentSize dispatcher is loaded during context init but
never called.
#218367 converted it to a ZeDispatcher but also removed its only
callers.
Argument sizes are now either not needed
(zeCommandListAppendLaunchKernelWithArguments) or come from
LaunchArgs.ArgSizes on the fallback path, so the driver query is no
longer used(other than debug printing).

This removes the now dead optional API declaration, the dispatcher
member, its loadExperimental call and the related debug output.
Not tested on actual GPU hardware however the plugin builds without
error(which I think should be sufficient check).


AI was only used in a review on unrelated changes which noted this dead
code.
DeltaFile
+0-8offload/plugins-nextgen/level_zero/src/L0Context.cpp
+0-4offload/plugins-nextgen/level_zero/include/L0Compat.h
+0-1offload/plugins-nextgen/level_zero/include/L0Context.h
+0-133 files

LLVM/project 2f97ec4 — llvm/lib/CodeGen/SelectionDAG LegalizeTypes.h LegalizeFloatTypes.cpp, llvm/test/CodeGen/NVPTX f128-no-libcall-error.ll

DAG: Gracefully diagnose missing FMA and ppcf128 expansion libcalls (#228094)

Previously this would hit a fatal error. Legalize to poison and report a proper 
context error.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+100-0llvm/test/CodeGen/X86/ppcf128-expand-no-libcall-error.ll
+68-26llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
+17-5llvm/test/CodeGen/NVPTX/f128-no-libcall-error.ll
+1-0llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
+186-314 files

LLVM/project 58d59f4 — llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-buildvec-of-binop.ll

[RISCV] Consider truncate semantics in performINSERT_VECTOR_ELTCombine (#228243)

This fixes a miscompile in performINSERT_VECTOR_ELTCombine dating back
to when it was added (#72675), but only just showing up through testing
when a recent unrelated change triggered vectorisation for a function
that trips it within Clang, leading to broken builds on some of the
two-stage RVV buildbots.

After type legalization the scalar binop can be wider than the vector
element type, with the insert implicitly truncating it. That isn't
equivalent for shifts and a similar bug was found and fixed in a
neighbouring combine in #81168. This patch just applies the same fix
(with the same comment even), avoiding the transform if the scalar type
doesn't match the element type.

I used an LLM to root cause the issue and produce the test case.
DeltaFile
+34-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-buildvec-of-binop.ll
+4-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+38-02 files

LLVM/project a106708 — offload/plugins-nextgen/level_zero/include L0Options.h L0Plugin.h, offload/plugins-nextgen/level_zero/src L0Context.cpp L0Options.cpp

[Offload][L0][NFC] Remove staging buffers dead-code (#227979)

Async queues were the only user of Staging Buffers and as they were
removed this is now dead code we can remove.

Assisted by Claude.
DeltaFile
+0-86offload/plugins-nextgen/level_zero/include/L0Memory.h
+0-22offload/plugins-nextgen/level_zero/include/L0Context.h
+0-13offload/plugins-nextgen/level_zero/src/L0Options.cpp
+0-10offload/plugins-nextgen/level_zero/src/L0Context.cpp
+0-7offload/plugins-nextgen/level_zero/include/L0Plugin.h
+0-6offload/plugins-nextgen/level_zero/include/L0Options.h
+0-1444 files not shown
+0-15410 files