OPNSense/src af06394lib/libifconfig libifconfig.c, sys/net rtsock.c

Revert "sys/socket.h: Fix AF_MAX"

This reverts commit 33a943ef85e73fd1c881cd3cf49471a6acf4dd6d.

PR: https://forum.opnsense.org/index.php?topic=52691.0

Causes reports of kernel panics the likes of:

 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address  = 0x218361fa00
 fault code             = supervisor read data, page not present
 instruction pointer    = 0x20:0xffffffff80c4d7a7
 stack pointer          = 0x28:0xfffffe00d3332ab0
 frame pointer          = 0x28:0xfffffe00d3332ab0
 code segment           = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
 processor eflags       = interrupt enabled, resume, IOPL = 0
 current process                = 0 (netlink_socket (PID)

    [29 lines not shown]
DeltaFile
+3-3sys/netlink/route/rt.c
+1-3sys/sys/socket.h
+2-2sys/net/rtsock.c
+2-2sys/net/route/route_helpers.c
+2-2lib/libifconfig/libifconfig.c
+1-1sys/net/route/route_ddb.c
+11-133 files not shown
+14-169 files

LLVM/project 75c74f6utils/bazel/llvm-project-overlay/compiler-rt BUILD.bazel

Exclude more libc math C++ builtins from compiler-rt Bazel overlay (#214779)

Building on work in https://github.com/llvm/llvm-project/pull/208861,
adds recently-added additional libc math C++ builtins from the
compiler-rt Bazel overlay.
DeltaFile
+21-0utils/bazel/llvm-project-overlay/compiler-rt/BUILD.bazel
+21-01 files

LLVM/project 9a78a6fflang/lib/Semantics check-omp-loop.cpp, flang/test/Semantics/OpenMP unroll-clauses.f90

[flang][OpenMP] Support the FULL clause on the UNROLL construct (#214115)

`!$omp unroll full` is parsed and then aborts in lowering with
`not yet implemented: Unhandled clause FULL in UNROLL construct`. This
implements it. Fixes #214114.

`partial` landed in #206642 and bare `unroll` in #144785, so `full` is
the remaining clause on the
construct. clang already supports `#pragma omp unroll full`, and
`OpenMPIRBuilder::unrollLoopFull` already exists, so the work is the
MLIR op, its translation, and
the flang lowering.

### MLIR

Adds `omp.unroll_full`, mirroring `omp.unroll_heuristic`: one applyee,
no generatee, since no loop
remains after full unrolling. The name is the one already used as an
example in `CanonicalLoopOp`'s

    [66 lines not shown]
DeltaFile
+73-0flang/test/Semantics/OpenMP/unroll-clauses.f90
+68-0mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+48-0mlir/test/Target/LLVMIR/openmp-unroll-full02.mlir
+41-0mlir/test/Dialect/OpenMP/invalid-unroll.mlir
+35-0flang/lib/Semantics/check-omp-loop.cpp
+35-0mlir/test/Dialect/OpenMP/cli-unroll-full.mlir
+300-011 files not shown
+445-517 files

LLVM/project 22ff2ballvm/lib/Target/AMDGPU AMDGPU.td

fix indent

Change-Id: I5ff36bf0554c82de1d1d9462e92ee15c6d015b46
DeltaFile
+14-23llvm/lib/Target/AMDGPU/AMDGPU.td
+14-231 files

LLVM/project 2ea42bcllvm/lib/CodeGen MachineBasicBlock.cpp, llvm/lib/CodeGen/MIRParser MILexer.cpp

[MIR] Quote basic block names that are not plain identifiers (#214054)

`MachineBasicBlock::printName` writes the IR basic-block name after
`bb.<N>.` unquoted, and the
MIR lexer reads it back with `isIdentifierChar` only. If the name
contains anything else -- a
comma, say -- the name is cut short on the way in and the remainder is
treated as syntax, so `llc`
cannot parse the MIR that `llc` just wrote:

```console
$ llc -mcpu=gfx90a -stop-before=greedy bb-comma-name.ll -o out.mir
$ llc -mcpu=gfx90a -x mir -start-before=greedy out.mir -o /dev/null
error: out.mir:170:8: expected ':'
```

because the printer emitted

```

    [46 lines not shown]
DeltaFile
+27-0llvm/test/CodeGen/MIR/AMDGPU/bb-name-needs-quotes.ll
+17-0llvm/lib/CodeGen/MIRParser/MILexer.cpp
+5-2llvm/lib/CodeGen/MachineBasicBlock.cpp
+49-23 files

LLVM/project 3f92be2llvm/lib/Analysis AssumptionCache.cpp, llvm/test/Analysis/AssumptionCache remove-from-stale-cache.ll

[AssumptionCache] Remove incorrect assertion from `removeAffectedValues()` (#214524)

The assertion in `removeAffectedValues()` is trying to enforce that,
when we come to remove the affected values of a live assume call, each
affected value has a corresponding line in the cache. This may not be
the case if the assume call has been modified via a call to
`Use::set()`, as our value handles are only notified on deletion and
RAUW. We're not worried about this, though, as the cache is
conservative.

Remove this assertion and add a comment explaining why we may fail to
find.
DeltaFile
+9-36llvm/lib/Analysis/AssumptionCache.cpp
+42-0llvm/test/Analysis/AssumptionCache/remove-from-stale-cache.ll
+51-362 files

LLVM/project b8004ddllvm/lib/Transforms/IPO WholeProgramDevirt.cpp LowerTypeTests.cpp, llvm/test/ThinLTO/X86 devirt_function_alias2.ll

[CFI] Create an external linkage alias instead of promoting internals
DeltaFile
+19-32llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+29-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+20-5llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+6-4llvm/test/ThinLTO/X86/devirt_function_alias2.ll
+119-484 files not shown
+130-5610 files

LLVM/project bef86c3libcxx/include/__optional optional_ref.h

[libc++] Collapse `optional<T&>` inheritance hierarchy (#215286)

Resolves #215185

- Since `optional<T>` and `optional<T&>` are decoupled, there wasn't
much reason to have a base class for `optional<T&>`, so we can simplify
it by inlining all of the base members and private functions into it
directly.
- This leaves us with the iterator base which now only exposes the
`iterator` type, since we can also directly inline `begin()` and
`end()`.

---------

Co-authored-by: Nikolas Klauser <nikolasklauser at berlin.de>
DeltaFile
+60-85libcxx/include/__optional/optional_ref.h
+60-851 files

LLVM/project 942ed07clang/lib/Driver/ToolChains Clang.cpp, clang/test/Driver hip-device-libs-llvm-env.hip

[Clang] Include libc wrappers for LLVM environment CUDA / HIP (#208084)

Summary:
These wrappers (although they are empty right now) are used to inform
the offloading runtime of the supported libc / libm functions available
on the device. We do not include these for the standard HIP path because
they conflict with the alreaedy present utilities, but with the
LLVM-only route we should be able to use them.
DeltaFile
+8-6clang/lib/Driver/ToolChains/Clang.cpp
+2-0clang/test/Driver/hip-device-libs-llvm-env.hip
+10-62 files

LLVM/project fae0fc7llvm/include module.modulemap

[modulemap] Exclude the z/OS string.h wrapper from LLVM_Utils (#215800)

8fce476c8122 (https://github.com/llvm/llvm-project/pull/167703) replaced
`llvm/Support/SystemZ/zOSSupport.h` with
`llvm/Support/SystemZ/zos_wrappers/string.h`, a wrapper that pulls in
the system header via `#include_next` and then redeclares `strsignal`
and `strnlen` with `asm` labels. It is only meant to be reachable on
z/OS, and `llvm/CMakeLists.txt` adds the directory to the include path
solely when `CMAKE_SYSTEM_NAME` matches OS390.

The header was never excluded from the module map, though.
`LLVM_Utils.Support` is an umbrella over `llvm/Support`, so building
that module textually includes the wrapper on every host. This surfaced
building the Swift compiler on Windows, where `<string.h>` resolves to
the UCRT header that already declares `strnlen` as `_ACRTIMP`, i.e.
`__declspec(dllimport)`:

```
error: cannot apply asm label to function after its first use

    [11 lines not shown]
DeltaFile
+3-0llvm/include/module.modulemap
+3-01 files

LLVM/project a713c17llvm/lib/Target/AMDGPU GCNSubtarget.cpp AMDGPUTargetParser.td, llvm/test/TableGen AMDGPUTargetDefErrors.td

incorporate comments

Change-Id: If727a9eb8459825d555c8784b5d23771312d51ed
DeltaFile
+65-18llvm/lib/Target/AMDGPU/AMDGPU.td
+0-71llvm/lib/Target/AMDGPU/GCNProcessors.td
+34-3llvm/utils/TableGen/Basic/AMDGPUTargetDefEmitter.cpp
+0-18llvm/test/TableGen/AMDGPUTargetDefErrors.td
+0-11llvm/lib/Target/AMDGPU/AMDGPUTargetParser.td
+7-3llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
+106-1246 files not shown
+125-14012 files

LLVM/project 6748b36mlir/lib/ExecutionEngine RocmRuntimeWrappers.cpp

[MLIR][ROCm] Export runtime wrappers on Windows (#213046)

Export the ROCm runtime wrapper entry points when building
`mlir_rocm_runtime` as a Windows DLL.

Use `__attribute__((visibility("default")))` on other platforms.

## Motivation

`extern "C"` prevents C++ name mangling, but it does not add symbols to
a
Windows DLL export table. Consequently, `mlir-runner` can load
`mlir_rocm_runtime.dll`, but ORC cannot resolve its `mgpu*` entry
points.

CUDA, SYCL, Vulkan, and SPIR-V runtime wrappers already use explicit
Windows
export annotations. This applies the same approach to the ROCm runtime.


    [24 lines not shown]
DeltaFile
+51-37mlir/lib/ExecutionEngine/RocmRuntimeWrappers.cpp
+51-371 files

FreeBSD/src f77fa28. UPDATING, sys/sys param.h

video: bump __FreeBSD_version for video(4) refactor

Reviewed by:    manu, adrian
Differential Revision:  https://reviews.freebsd.org/D58798
DeltaFile
+5-0UPDATING
+1-1sys/sys/param.h
+6-12 files

FreeBSD/src a8c126bsys/sys videoio.h

video: add V4L2 compat symbols for ffmpeg/opencv

Adds v4l2_std_id, struct v4l2_standard/v4l2_plane, VIDIOC_G_STD/S_STD/
ENUMSTD, V4L2_STD_NTSC*, the MPLANE capability flag, multiplanar types
(VIDEO_MAX_PLANES, v4l2_plane_pix_format, v4l2_pix_format_mplane,
V4L2_TYPE_IS_MULTIPLANAR), V4L2_PIX_FMT_JPEG/YUV411P/SN9C10X, and the
MPEG control class (V4L2_CID_MPEG_BASE, V4L2_CID_MPEG_VIDEO_B_FRAMES).

video(4) capture devices are digital-only and never expose these, but
ffmpeg's libavdevice/v4l2.c and opencv's cap_v4l.cpp both reference
them unconditionally. Fixes their build against sys/videoio.h.

PR:             297454

Reviewed by:    manu, adrian
Differential Revision:  https://reviews.freebsd.org/D58793
DeltaFile
+101-3sys/sys/videoio.h
+101-31 files

FreeBSD/src fb3564bsys/sys videoio.h

video: fix v4l2_buffer size assert on non-i386 32-bit ports

Split the #else branch into an explicit __i386__ case (68) and a
generic ILP32-with-64-bit-time_t case (80) covering arm and powerpc.

Fixes: 0343ab8a6afa

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D58790
DeltaFile
+7-7sys/sys/videoio.h
+7-71 files

LLVM/project 61f2d6cclang/test/CodeGen/LoongArch/lasx builtin.c builtin-alias.c, llvm/test/tools/llvm-mca/AArch64/Cortex C1Nano-basic-instructions.s C1Nano-neon-instructions.s

Rebase

Created using spr 1.3.7
DeltaFile
+13,767-6,856llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-sve-instructions.s
+6,347-3,146llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-neon-instructions.s
+5,067-2,506llvm/test/tools/llvm-mca/AArch64/Cortex/C1Nano-basic-instructions.s
+6,869-0llvm/test/tools/llvm-mca/AArch64/HiSilicon/hip12-sve-instructions.s
+2,728-2,728clang/test/CodeGen/LoongArch/lasx/builtin-alias.c
+2,724-2,724clang/test/CodeGen/LoongArch/lasx/builtin.c
+37,502-17,9603,084 files not shown
+178,677-78,2383,090 files

LLVM/project 8fda9eeclang/lib/CodeGen CGHLSLRuntime.h CGHLSLRuntime.cpp, clang/test/CodeGenHLSL/semantics semantic.output.hlsl semantic.input.hlsl

Revert "[HLSL] Generate semantic signature metadata" (#215844)

Reverts llvm/llvm-project#212892

Build dependency for `DXILResource.h` was not updated. I will reland
with the corrected dependency.
DeltaFile
+43-145clang/lib/CodeGen/CGHLSLRuntime.cpp
+44-17llvm/unittests/Frontend/HLSLSemanticSignatureMetadataTest.cpp
+18-28clang/lib/CodeGen/CGHLSLRuntime.h
+0-11clang/test/CodeGenHLSL/semantics/semantic.output.hlsl
+0-11clang/test/CodeGenHLSL/semantics/semantic.input.hlsl
+0-10llvm/include/llvm/Frontend/HLSL/SemanticSignatures.h
+105-2223 files not shown
+106-2339 files

LLVM/project e48e4e9libcxx/test/benchmarks/containers string.bench.cpp, libcxx/test/benchmarks/containers/associative associative_container_benchmarks.h

[libc++] Guard container benchmarks on library availability (#215408)

Instead of using TEST_STD_VER, use FTMs or requires clauses to enable
benchmarks for some recent features like `append_range`. This is needed
since older versions of the library don't provide these features, so the
container benchmarks as a whole would fail to compile instead of just a
few methods being disabled.
DeltaFile
+1-1libcxx/test/benchmarks/containers/string.bench.cpp
+1-1libcxx/test/benchmarks/containers/sequence/sequence_container_benchmarks.h
+1-1libcxx/test/benchmarks/containers/associative/associative_container_benchmarks.h
+3-33 files

LLVM/project 5eac6bcclang/lib/CodeGen CGHLSLRuntime.h CGHLSLRuntime.cpp, clang/test/CodeGenHLSL/semantics semantic.output.hlsl semantic.input.hlsl

Revert "[HLSL] Generate semantic signature metadata (#212892)"

This reverts commit 1026c71c22bda8c1d0cb6a15c63ae1cf5c401240.
DeltaFile
+43-145clang/lib/CodeGen/CGHLSLRuntime.cpp
+44-17llvm/unittests/Frontend/HLSLSemanticSignatureMetadataTest.cpp
+18-28clang/lib/CodeGen/CGHLSLRuntime.h
+0-11clang/test/CodeGenHLSL/semantics/semantic.output.hlsl
+0-11clang/test/CodeGenHLSL/semantics/semantic.input.hlsl
+0-10llvm/include/llvm/Frontend/HLSL/SemanticSignatures.h
+105-2223 files not shown
+106-2339 files

FreeBSD/ports d718a3ddevel/freebsd-git-mfc Makefile distinfo

devel/freebsd-git-mfc: Update to 0.20260812
DeltaFile
+5-5devel/freebsd-git-mfc/distinfo
+2-2devel/freebsd-git-mfc/Makefile
+7-72 files

NetBSD/pkgsrc oy5KkHEcross Makefile

   cross: Enable ia16-elf-gcc
VersionDeltaFile
1.135+2-1cross/Makefile
+2-11 files

NetBSD/pkgsrc qXBxSkWdoc CHANGES-2026

   doc: Added cross/ia16-elf-gcc version 6.3.0pre20260612
VersionDeltaFile
1.5236+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc SSjCEkgcross/ia16-elf-gcc DESCR distinfo, cross/ia16-elf-gcc/patches patch-libcc1_connection.cc

   cross/ia16-elf-gcc: import ia16-elf-gcc-6.3.0pre20260612

   Bootstrap GCC (C and C++) for IA16 (for example, 8086 and 80286) MS-DOS
   cross environment.
VersionDeltaFile
1.1+1,435-0cross/ia16-elf-gcc/PLIST
1.1+77-0cross/ia16-elf-gcc/Makefile
1.1+12-0cross/ia16-elf-gcc/patches/patch-libcc1_connection.cc
1.1+12-0cross/ia16-elf-gcc/distinfo
1.1+2-0cross/ia16-elf-gcc/DESCR
+1,538-05 files

NetBSD/pkgsrc i78FnK2cross Makefile

   cross: Enable ia16-elf-newlib
VersionDeltaFile
1.134+2-1cross/Makefile
+2-11 files

NetBSD/pkgsrc 8ixXboedoc CHANGES-2026

   doc: Added cross/ia16-elf-newlib version 2.4.0pre20260617
VersionDeltaFile
1.5235+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc rlqt0CKcross/ia16-elf-newlib DESCR distinfo, cross/ia16-elf-newlib/patches patch-libgloss_ia16_Makefile.in

   cross/ia16-elf-newlib: import ia16-elf-newlib-2.4.0pre20260617

   Newlib for IA16 (for example, 8086 and 80286) MS-DOS cross environment.
VersionDeltaFile
1.1+512-0cross/ia16-elf-newlib/PLIST
1.1+64-0cross/ia16-elf-newlib/Makefile
1.1+18-0cross/ia16-elf-newlib/patches/patch-libgloss_ia16_Makefile.in
1.1+12-0cross/ia16-elf-newlib/distinfo
1.1+1-0cross/ia16-elf-newlib/DESCR
+607-05 files

LLVM/project 7811d76llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 many-uses-fma-candidate.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+487-222llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+24-67llvm/test/Transforms/SLPVectorizer/X86/horizontal-fadd-with-sub.ll
+1-1llvm/test/Transforms/SLPVectorizer/X86/reduction-fadd-reassoc.ll
+1-1llvm/test/Transforms/SLPVectorizer/X86/ordered-reduction-replaced.ll
+1-1llvm/test/Transforms/SLPVectorizer/AArch64/many-uses-fma-candidate.ll
+514-2925 files

NetBSD/pkgsrc uYuV2Qucross Makefile

   cross: Enable ia16-elf-libi86
VersionDeltaFile
1.133+2-1cross/Makefile
+2-11 files

NetBSD/pkgsrc NNQQKGAdoc CHANGES-2026

   doc: Added cross/ia16-elf-libi86 version 0.0.521a43f42a3daf00b85b62c44390821f532def8f
VersionDeltaFile
1.5234+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc XAJIEH3cross/ia16-elf-libi86 DESCR distinfo

   cross/ia16-elf-libi86: import ia16-elf-libi86-0.0.521a43f42a3daf00b85b62c44390821f532def8f

   Basic library for IA16 (for example, 8086 and 80286) MS-DOS cross environment.
VersionDeltaFile
1.1+41-0cross/ia16-elf-libi86/PLIST
1.1+37-0cross/ia16-elf-libi86/Makefile
1.1+5-0cross/ia16-elf-libi86/distinfo
1.1+1-0cross/ia16-elf-libi86/DESCR
+84-04 files