LLVM/project cab6aba — llvm/include/llvm/CodeGen CommandFlags.h, llvm/include/llvm/MC MCTargetOptionsCommandFlags.h

[Support] Pass tool options to parseCommandLineOptions

`RegisterMCToolOptions` adds `MCToolOptions` to the process-wide
registry. Once lld registers them, every later parse in the process
accepts `-crel`, including clang's `-mllvm`, which then ignores it.

Add a `parseCommandLineOptions` overload that takes the libraries a tool
opts in to. Replace `RegisterMCToolOptions` with `mc::getToolOptions`
and `codegen::getToolOptions`, which tools pass where they parse,
including lld's `-mllvm`, gold's `-plugin-opt`, and libLTO's debug
options. `RegisterCodeGenFlags` no longer registers the MC options.

`LibraryOptionsContext` records the library that parsed each argument,
so `assign` replays without looking up the registry, which does not
contain tool options.

LLM-aided
DeltaFile
+64-26llvm/lib/Support/CommandLine.cpp
+25-0llvm/unittests/Option/LibraryOptionsTest.cpp
+12-0llvm/include/llvm/Support/CommandLine.h
+5-5llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
+9-0llvm/include/llvm/CodeGen/CommandFlags.h
+4-2llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+119-3326 files not shown
+182-6232 files

LLVM/project b69fb35 — llvm/include/llvm/MC MCTargetOptionsCommandFlags.h, llvm/lib/MC CMakeLists.txt MCToolOptions.td

[MC] Declare the MCTargetOptions command line options in TableGen

Move RegisterMCTargetOptionsFlags options into a private `MCToolOptions`
struct, different from MCCLOptions since `MCToolOptions` requires tool
opt-in. RegisterMCToolOptions, renamed from RegisterMCTargetOptionsFlags
(LLVMOption and clang driver use "flags" for boolean options), registers
the struct, so `clang -mllvm -crel` remains an error.

Remove the getters without outside readers. llc reads `MCRelaxAll`
instead of `getExplicitRelaxAll`, so `-mc-relax-all=false` no longer
warns with a non-object file type.

LLM-aided
DeltaFile
+34-218llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+64-0llvm/lib/MC/MCToolOptions.td
+2-51llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
+10-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+6-0llvm/utils/gn/secondary/llvm/lib/MC/BUILD.gn
+4-0llvm/lib/MC/CMakeLists.txt
+120-2695 files not shown
+125-27411 files

LLVM/project 355c2ab — lld/test/ELF/lto mllvm.ll

[ELF,test] Test that -mllvm sets MCTargetOptions for LTO (#240013)
DeltaFile
+2-1lld/test/ELF/lto/mllvm.ll
+2-11 files

FreeBSD/ports 11f8d14 — mail Makefile, mail/vandelay pkg-descr Makefile

mail/vandelay: JMAP account migration and backup utility

Vandelay is a one-shot account migration utility for JMAP from the
Stalwart Labs team (the authors of mail/stalwart). It imports an
account from JMAP, IMAP, CalDAV, CardDAV, WebDAV, ManageSieve,
Maildir++, Google Takeout, Microsoft Exchange Server (EWS) or Exchange
Online (Graph) into a self-contained local SQLite archive, and exports
that archive into a target JMAP server. Both steps are resumable, so
the archive also works as a per-account backup.

PR: 300376
DeltaFile
+683-0mail/vandelay/distinfo
+340-0mail/vandelay/Makefile.crates
+40-0mail/vandelay/Makefile
+15-0mail/vandelay/pkg-descr
+1-0mail/Makefile
+1,079-05 files

LLVM/project ab600e7 — llvm/include/llvm/CodeGen CommandFlags.h, llvm/include/llvm/MC MCTargetOptionsCommandFlags.h

[Support] Pass tool options to parseCommandLineOptions

`RegisterMCToolOptions` adds `MCToolOptions` to the process-wide
registry. Once lld registers them, every later parse in the process
accepts `-crel`, including clang's `-mllvm`, which then ignores it.

Add a `parseCommandLineOptions` overload that takes the libraries a tool
opts in to. Replace `RegisterMCToolOptions` with `mc::getToolOptions`
and `codegen::getToolOptions`, which tools pass where they parse,
including lld's `-mllvm`, gold's `-plugin-opt`, and libLTO's debug
options. `RegisterCodeGenFlags` no longer registers the MC options.

`LibraryOptionsContext` records the library that parsed each argument,
so `assign` replays without looking up the registry, which does not
contain tool options.

LLM-aided
DeltaFile
+64-26llvm/lib/Support/CommandLine.cpp
+25-0llvm/unittests/Option/LibraryOptionsTest.cpp
+12-0llvm/include/llvm/Support/CommandLine.h
+5-5llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
+9-0llvm/include/llvm/CodeGen/CommandFlags.h
+4-2llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+119-3326 files not shown
+182-6232 files

LLVM/project 5efc9d5 — llvm/include/llvm/MC MCTargetOptionsCommandFlags.h, llvm/lib/MC CMakeLists.txt MCToolOptions.td

[MC] Declare the MCTargetOptions command line options in TableGen

Move RegisterMCTargetOptionsFlags options into a private `MCToolOptions`
struct, different from MCCLOptions since `MCToolOptions` requires tool
opt-in. RegisterMCToolOptions, renamed from RegisterMCTargetOptionsFlags
(LLVMOption and clang driver use "flags" for boolean options), registers
the struct, so `clang -mllvm -crel` remains an error.

Remove the getters without outside readers. llc reads `MCRelaxAll`
instead of `getExplicitRelaxAll`, so `-mc-relax-all=false` no longer
warns with a non-object file type.

LLM-aided
DeltaFile
+34-218llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+64-0llvm/lib/MC/MCToolOptions.td
+2-51llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
+10-0utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+6-0llvm/utils/gn/secondary/llvm/lib/MC/BUILD.gn
+4-0llvm/lib/MC/CMakeLists.txt
+120-2696 files not shown
+127-27512 files

LLVM/project 7b6cf9d — clang/tools/clang-linker-wrapper ClangLinkerWrapper.cpp, llvm/include/llvm/MC MCTargetOptionsCommandFlags.h

[CodeGen][MC] Pass a LibraryOptionsContext to the MC option readers. NFC (#239919)

Rename `InitMCTargetOptionsFromFlags` to `getMCTargetOptions` and
`InitTargetOptionsFromCodeGenFlags` to `getTargetOptions`. Most of these
options take values, so "Flags" is a misnomer.

These functions and `getABIName` now take the `LibraryOptionsContext` to
read from. A per-context option declared in TableGen has no global value.

LLM-aided
DeltaFile
+13-9clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+10-9llvm/tools/lto/lto.cpp
+9-3llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
+6-5llvm/lib/CodeGen/CommandFlags.cpp
+4-4llvm/tools/llvm-lto/llvm-lto.cpp
+6-2llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
+48-3219 files not shown
+77-5625 files

LLVM/project faf098e — libc/config/uefi config.json

[libc][uefi] Tune the libc configuration for UEFI (#239334)
DeltaFile
+48-0libc/config/uefi/config.json
+48-01 files

LLVM/project 56f352a — clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CodeGen/X86 adx-builtins.c adc-builtins.c

[CIR][X86] Add support for addcarryx and subborrow builtins (#239685)

Lower __builtin_ia32_addcarryx_u32/u64 and
__builtin_ia32_subborrow_u32/u64
to the llvm.x86.addcarry.* and llvm.x86.subborrow.* intrinsics, matching
classic CodeGen.

These builtins support `_addcarryx_*` (adxintrin.h) as well as
`_addcarry_*` and
`_subborrow_*` (adcintrin.h) intrinsics, which previously were NYI.

The tests add ClangIR RUN lines to the existing
clang/test/CodeGen/X86/{adx,adc}-builtins.c: `-fclangir -emit-llvm` runs
checked
against the existing CHECK lines, and `-fclangir -emit-cir` runs with
new CIR
checks.

Assisted-by: Claude Code (Claude Opus 5.5)
DeltaFile
+36-5clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+32-0clang/test/CodeGen/X86/adc-builtins.c
+18-0clang/test/CodeGen/X86/adx-builtins.c
+86-53 files

FreeBSD/poudriere 7c46213 — test runtest.sh

runtests: Quick needs more than 120 without ccache
DeltaFile
+1-1test/runtest.sh
+1-11 files

LLVM/project fff83e8 — mlir/include/mlir/Dialect/Vector/IR VectorOps.td

[mlir][vector] Update doc for vector.broadcast (nfc) (#239707)

Follow-up for #228727:

* Simplify the formula for computing the source index (no need for a
  special case when source_dim == 1)
* Add more examples.

The examples were created by @yueshengys in #227574, thank you!
DeltaFile
+32-12mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+32-121 files

HardenedBSD/src 3ae1fea — sys/dev/sdio sdiob.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+9-2sys/dev/sdio/sdiob.c
+9-21 files

LLVM/project 1807eba — lld/include/lld/Common TargetOptionsCommandFlags.h, llvm/include/llvm/CodeGen CommandFlags.h

[Support] Pass tool options to parseCommandLineOptions

`RegisterMCToolOptions` adds `MCToolOptions` to the process-wide
registry. Once lld registers them, every later parse in the process
accepts `-crel`, including clang's `-mllvm`, which then ignores it.

Add a `parseCommandLineOptions` overload that takes the libraries a tool
opts in to. Replace `RegisterMCToolOptions` with `mc::getToolOptions`
and `codegen::getToolOptions`, which tools pass where they parse,
including lld's `-mllvm`, gold's `-plugin-opt`, and libLTO's debug
options. `RegisterCodeGenFlags` no longer registers the MC options.

`LibraryOptionsContext` records the library that parsed each argument,
so `assign` replays without looking up the registry, which does not
contain tool options.

LLM-aided
DeltaFile
+64-26llvm/lib/Support/CommandLine.cpp
+25-0llvm/unittests/Option/LibraryOptionsTest.cpp
+12-0llvm/include/llvm/Support/CommandLine.h
+5-5llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
+9-0llvm/include/llvm/CodeGen/CommandFlags.h
+6-0lld/include/lld/Common/TargetOptionsCommandFlags.h
+121-3126 files not shown
+182-6232 files

LLVM/project de0ca8e — llvm/lib/Target/X86 X86Options.td X86FixupLEAs.cpp

[X86] X86FixupLEAs.cpp - move x86-fixup-leas-search-distance-threshold cl::opt to TableGen (#239992)
DeltaFile
+2-7llvm/lib/Target/X86/X86FixupLEAs.cpp
+4-0llvm/lib/Target/X86/X86Options.td
+6-72 files

LLVM/project 7f84220 — clang/docs ReleaseNotes.md, clang/lib/CodeGen CGOpenMPRuntime.cpp

[Clang][OpenMP] Fix crash on task reduction of an array with a declare reduction that has no initializer (#239970)

Fixes #141228

`EmitOMPAggregateInit` set up a source pointer and PHI over the original
item for any `declare reduction`, but the task reduction init function
only passes that address when the `declare reduction` has an
`initializer`. For an array without one the `Address` was invalid and
tripped the assert.

Only the initializer reads `omp_orig`, so the source handling now keys
on `DRD->getInitializer()`, matching the check in
`emitReduceInitFunction`.

AI Aided.
DeltaFile
+201-0clang/test/OpenMP/GH141228.cpp
+11-5clang/lib/CodeGen/CGOpenMPRuntime.cpp
+2-0clang/docs/ReleaseNotes.md
+214-53 files

FreeBSD/ports 1371525 — editors/libreoffice Makefile, editors/libreoffice/files patch-configure patch-slideshow_source_engine_box2dtools.cxx

editors/libreoffice: remove fix for box2d 3.2.x

misc/box2d was reverted to 3.1.1 in 82d56969fd51
Revert "editors/libreoffice: fix after cbb4908e47"

This reverts commit b10f32e4cfe9837ff6e574d85190ce2463460bc1.

Bump again because of API change.
DeltaFile
+0-20editors/libreoffice/files/patch-slideshow_source_engine_box2dtools.cxx
+1-1editors/libreoffice/files/patch-configure
+1-1editors/libreoffice/Makefile
+2-223 files

HardenedBSD/ports 1371525 — editors/libreoffice Makefile, editors/libreoffice/files patch-configure patch-slideshow_source_engine_box2dtools.cxx

editors/libreoffice: remove fix for box2d 3.2.x

misc/box2d was reverted to 3.1.1 in 82d56969fd51
Revert "editors/libreoffice: fix after cbb4908e47"

This reverts commit b10f32e4cfe9837ff6e574d85190ce2463460bc1.

Bump again because of API change.
DeltaFile
+0-20editors/libreoffice/files/patch-slideshow_source_engine_box2dtools.cxx
+1-1editors/libreoffice/files/patch-configure
+1-1editors/libreoffice/Makefile
+2-223 files

LLVM/project 337ac53 — libc/shared/math sinbf16.h, libc/src/__support/math sinbf16.h

[libc][math][c23] Add sinbf16 function (#185441)

This PR intends to add sinbf16 higher math function for bfloat16 type .

( The new header comments are updated using gemini flash 3.8 (low) )
DeltaFile
+102-0libc/src/__support/math/sinbf16.h
+50-0libc/test/src/math/sinbf16_test.cpp
+45-0libc/test/src/math/smoke/sinbf16_test.cpp
+29-0libc/shared/math/sinbf16.h
+26-0libc/src/math/sinbf16.h
+25-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+277-026 files not shown
+387-132 files

NetBSD/src 6IoVU1L — usr.sbin/npf/npftest/libnpftest npf_ext_test.c

   fetch ip offset first and compare with DF bit
VersionDeltaFile
1.4+4-4usr.sbin/npf/npftest/libnpftest/npf_ext_test.c
+4-41 files

NetBSD/src M4qA9il — usr.sbin/npf/npftest/libnpftest npf_ext_test.c

   normalization tests

   convert the offset to host byte order and just check for df bit absent
VersionDeltaFile
1.3+1-1usr.sbin/npf/npftest/libnpftest/npf_ext_test.c
+1-11 files

NetBSD/src HuMGUpn — sys/net/npf npf_ruleset.c

   Pass a number of bpf_insn to npf_bpf_compile, this should fix kern/60975.

   Contrary to what the PR says, it broke loudly only in -current
   when I tightened checks in bpfjit_generate_code on July 5th, 2026.

   In stable releases it reads past the end of allocations but it generates
   valid jitted code.

   Why it works in stable releases:

     - bpf_validate() checks that a rule ends with a valid RET and
       that jumps don't jump past the last RET,
     - bpfjit in stable releases doesn't check for a valid RET, it
       relies on bpf_validate().
     - bpfjit starts by (over)allocating a shadow bpfjit_insn array,
       then scans (and goes past the end) instructions, builds CFG
       and sets the "unreachable" flag in the shadow array. All
       instructions after the last RET have unreachable set to true.
     - bpfjit skips emitting any code when unreachable is true

    [5 lines not shown]
VersionDeltaFile
1.59+2-2sys/net/npf/npf_ruleset.c
+2-21 files

HardenedBSD/src dc57dc2 — sys/dev/acpi_apple acpi_apple.c

acpi_apple: Add PNP record

Reviewed by:    seuros
Differential Revision:  https://reviews.freebsd.org/D61298
DeltaFile
+1-0sys/dev/acpi_apple/acpi_apple.c
+1-01 files

HardenedBSD/src 04db6f6 — sys/dev/acpi_apple acpi_apple.h acpi_apple_platform.c

acpi_apple: Fix sleep with non-sleepable lock held

Apple platform attach and detach functions are serialized with ordinary
mutex and contain code that executes malloc() that leads to INVARIANTS
warnings. Fix it through replacement of mutex with sx lock.

Fixes:  d7d237ce731f ("acpi_apple: Apple platform ACPI driver")
Reviewed by:    seuros
Differential Revision:  https://reviews.freebsd.org/D61295
DeltaFile
+7-7sys/dev/acpi_apple/acpi_apple_platform.c
+1-0sys/dev/acpi_apple/acpi_apple.h
+8-72 files

FreeBSD/src dc57dc2 — sys/dev/acpi_apple acpi_apple.c

acpi_apple: Add PNP record

Reviewed by:    seuros
Differential Revision:  https://reviews.freebsd.org/D61298
DeltaFile
+1-0sys/dev/acpi_apple/acpi_apple.c
+1-01 files

FreeBSD/src 04db6f6 — sys/dev/acpi_apple acpi_apple.h acpi_apple_platform.c

acpi_apple: Fix sleep with non-sleepable lock held

Apple platform attach and detach functions are serialized with ordinary
mutex and contain code that executes malloc() that leads to INVARIANTS
warnings. Fix it through replacement of mutex with sx lock.

Fixes:  d7d237ce731f ("acpi_apple: Apple platform ACPI driver")
Reviewed by:    seuros
Differential Revision:  https://reviews.freebsd.org/D61295
DeltaFile
+7-7sys/dev/acpi_apple/acpi_apple_platform.c
+1-0sys/dev/acpi_apple/acpi_apple.h
+8-72 files

OpenBSD/ports KG2NPMs — www/nginx/pkg DESCR-main

   remove whitespace
VersionDeltaFile
1.3+1-1www/nginx/pkg/DESCR-main
+1-11 files

OpenBSD/ports uoqJbrP — www/nginx Makefile, www/nginx/pkg DESCR-main

   add a little note about the debug flavor
VersionDeltaFile
1.2+2-0www/nginx/pkg/DESCR-main
1.216+2-0www/nginx/Makefile
+4-02 files

OpenBSD/src kFXM9n1 — distrib/miniroot group

   the installer MAKEDEV runs against this group file, and therefore needs
   the wscons present.
VersionDeltaFile
1.8+1-0distrib/miniroot/group
+1-01 files

NetBSD/pkgsrc-wip c714db5 — gitleaks TODO

gitleaks: Add reference to CVE-2026-124039
DeltaFile
+1-1gitleaks/TODO
+1-11 files

NetBSD/src VXNU7II — sys/net/npf npf_os.c

   Use proper naming for registering ether filtering hooks

   get_etherpfil_head function name doesn't make sense in that context.
   use register_etherpfil_hooks (plural) which registers one hook
   (by calling the singular form (register_etherpfil_hook)
   per interface at the ether layer.

   No functional change intended

   Thanks Edgar Fub
VersionDeltaFile
1.30+3-3sys/net/npf/npf_os.c
+3-31 files