LLVM/project 974fc13clang/lib/Frontend FrontendActions.cpp, clang/test/Frontend compiler-options-dump.cpp

[clang][Frontend] Table-drive compiler option dumping (#203161)

`Features.def` currently expands 228 feature formatting expressions and
49 extension formatting expressions in
`DumpCompilerOptionsAction::ExecuteAction`. This stores the names in
NUL-separated character blobs, evaluates the predicates into local
`bool` arrays, and formats both arrays with `writeCompilerOptionValues`.

In a Release arm64 build, standalone clang decreases by 49,256 bytes
unstripped and 49,520 bytes stripped, while the LLVM multicall binary
decreases by 49,264 bytes unstripped and 49,528 bytes stripped; linked
`__text` decreases by 52,696 bytes and linked fixups decrease by 7.

Work towards #202616

AI tool disclosure: Co-authored with OpenAI Codex.
DeltaFile
+36-16clang/lib/Frontend/FrontendActions.cpp
+1-0clang/test/Frontend/compiler-options-dump.cpp
+37-162 files

LLVM/project 7a57458.github/workflows test-suite.yml, .github/workflows/test-suite x86_64.cmake

[GitHub] Change /test-suite x86_64 configuration to test x86-64-v3 (#208228)

It would be good to see codegen changes for AVX.
DeltaFile
+3-3.github/workflows/test-suite.yml
+2-2.github/workflows/test-suite/x86_64.cmake
+5-52 files

LLVM/project cd9eeb1llvm/runtimes CMakeLists.txt

[libsycl] Add tool dependencies in runtimes mode (#205384)

The libsycl runtime depends on multiple clang tools.
We should ensure that these tools are built.

---------

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+7-0llvm/runtimes/CMakeLists.txt
+7-01 files

FreeBSD/ports 38244acdns/nsd distinfo Makefile

idns/nsd: Update 4.14.3 => 4.15.0

Release Notes:
https://community.nlnetlabs.nl/t/nsd-4-15-0-released/3423/1

PR:             296599
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit dd37d0cccbdca5cc3de202796c331cfeb12f291a)
DeltaFile
+3-3dns/nsd/distinfo
+1-1dns/nsd/Makefile
+4-42 files

LLVM/project ae281bellvm/include/llvm/Support AutoConvert.h, llvm/lib/Support AutoConvert.cpp raw_ostream.cpp

Use existing encoding when writing to an existing file (#198873)

Clang lit test `Sema/warn-lifetime-safety-suggestions.cpp` is failing
because the encoding for the new contents of the source file don't match
the file tag on the file.

This change ensures the contents of a file are written in the same code
page as the existing file.

- The copyFileTagAttributes() function will change the auto conversion
to the code page of the file tag when writing a new version of a file.
- When writing to an existing file (eg. appending), use the file tag as
the code page for auto conversion. Don't assume 1047.
DeltaFile
+43-6llvm/unittests/Support/raw_ostream_test.cpp
+20-3llvm/lib/Support/AutoConvert.cpp
+13-6llvm/lib/Support/Unix/Path.inc
+12-3llvm/include/llvm/Support/AutoConvert.h
+5-2llvm/lib/Support/raw_ostream.cpp
+93-205 files

LLVM/project 7b2e9dbllvm/lib/Target/AMDGPU SIFoldOperands.cpp

AMDGPU: Remove unnecessary lookup of function from machineinstr (#208222)

The function is already a shadowed member of the class.
DeltaFile
+0-2llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+0-21 files

FreeBSD/ports dd37d0cdns/nsd distinfo Makefile

idns/nsd: Update 4.14.3 => 4.15.0

Release Notes:
https://community.nlnetlabs.nl/t/nsd-4-15-0-released/3423/1

PR:             296599
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3dns/nsd/distinfo
+1-1dns/nsd/Makefile
+4-42 files

LLVM/project 059554allvm/lib/Transforms/Vectorize LoopVectorize.cpp LoopVectorizationPlanner.h

[VPlan] Introduce VPlan-based requiresScalarEpilogue helper. (NFC) (#207784)

Add requiresScalarEpilogue(Plan, VF) that directly checks if a scalar
epilogue is required for a VPlan. In that case, the middle block (i.e.
first predecessor of the scalar ph) unconditionally branches to the
scalar preheader.

For now added to LoopVectorizationPlanner, so we can assert that the
result of the VPlan check matches the legacy result, to catch any
potential divergences.

The helper should be moved to VPlan directly and the assertion dropped
when no divergences have been found for a while, to make it independent
of the cost mode.

PR: https://github.com/llvm/llvm-project/pull/207784
DeltaFile
+23-13llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+4-0llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+27-132 files

LLVM/project 51b007fclang/lib/Serialization ASTReader.cpp

[NFC][clang][Serialization] Outline LangOptions mismatch diagnostics (#202843)

Outline language-option mismatch diagnostic construction into two
`noinline` helpers. Generated comparisons remain direct and ordered as
before, so successful imports add no indirect calls and the serialized
format is unchanged.

Linked `clang` and `clangd` shrink by 35,264 and 29,216 bytes
respectively; `ASTReader.cpp.o` shrinks by 62,712 bytes with 1,347 fewer
relocations, while linked fixups are unchanged.

PCH, PCM, and BMI outputs and mismatch diagnostics are byte-identical,
focused module/PCH tests pass, and batched PCH and module imports show
no significant performance change.

Work towards #202616

AI tool disclosure: Co-authored with OpenAI Codex.
DeltaFile
+33-30clang/lib/Serialization/ASTReader.cpp
+33-301 files

LLVM/project 553ef7ellvm/lib/IR VerifierAMDGPU.cpp, llvm/test/CodeGen/AMDGPU callbr-intrinsics.ll

add test and also improve unreachable detection
DeltaFile
+60-0llvm/test/CodeGen/AMDGPU/callbr-intrinsics.ll
+1-2llvm/lib/IR/VerifierAMDGPU.cpp
+61-22 files

FreeBSD/ports d71fa47devel/tvision Makefile distinfo

devel/tvision: Update to 2026.05.12

ChangeLog:
  - Update the borders of framed views upon insertion or removal
  - Prevent out-of-bounds array access in TCommandSet
  - Regenerate missing scan codes in win32-input-mode
  - Fix write() usage in StderrRedirector
  - Also restore terminal state on SIGBUS and SIGPIPE

MFH:            2026Q2
(cherry picked from commit dc1d38427b6b1c8b52f84328eceac9e8776a5401)
DeltaFile
+4-2devel/tvision/Makefile
+3-3devel/tvision/distinfo
+7-52 files

LLVM/project b3e6e6dlibcxx/include/__locale_dir/support/no_locale conversions.h characters.h

[libcxx][NFC] Move guards outside namespace (#208089)

Libc++ has a warning that triggers on empty namespaces. When
_LIBCPP_BUILDING_LIBRARY is not defined, the __locale namespace was
empty. This PR moves the #ifdef to surround the namespace and fix the
warning.
DeltaFile
+3-2libcxx/include/__locale_dir/support/no_locale/conversions.h
+3-2libcxx/include/__locale_dir/support/no_locale/characters.h
+6-42 files

FreeBSD/ports dc1d384devel/tvision Makefile distinfo

devel/tvision: Update to 2026.05.12

ChangeLog:
  - Update the borders of framed views upon insertion or removal
  - Prevent out-of-bounds array access in TCommandSet
  - Regenerate missing scan codes in win32-input-mode
  - Fix write() usage in StderrRedirector
  - Also restore terminal state on SIGBUS and SIGPIPE

MFH:            2026Q2
DeltaFile
+4-2devel/tvision/Makefile
+3-3devel/tvision/distinfo
+7-52 files

FreeBSD/ports 2c2743fsecurity/vuxml/vuln 2026.xml

security/vuxml: Document xorg-server vulnerabilities
DeltaFile
+29-0security/vuxml/vuln/2026.xml
+29-01 files

LLVM/project 29f8993flang-rt/lib/runtime time-intrinsic.cpp, flang-rt/unittests/Runtime tools.h

[flang-rt] Fix -Wunused-template in time intrinsics and test helpers (NFC) (#207979)

`time-intrinsic.cpp` implements the timing intrinsics as SFINAE overload
sets (preferred/fallback per platform), so on any given platform some
overloads are intentionally never instantiated and trip
-Wunused-template. Mark all variants [[maybe_unused]].

`StoreElement` and `MakeArray` in `unittests/Runtime/tools.h` are static
function templates in a header, so any test TU that includes it without
using all of them trips the warning.

Part of #202945
DeltaFile
+21-11flang-rt/lib/runtime/time-intrinsic.cpp
+3-3flang-rt/unittests/Runtime/tools.h
+24-142 files

OpenBSD/src wM0RwaSusr.sbin/rpki-client repo.c

   Don't remove other elements in a RB_FOREACH_SAFE walk since that is not safe.

   repo_move_valid() walks the tree with RB_FOREACH_SAFE() but it also calls
   RB_REMOVE() via filepath_put() on an other element in a case where a
   conflict is resolved. This results in a use-after-free if that element is
   the next one in the tree (nfp). Instead of removing the present
   conflicting node (ofp), replace the contents of it, free fp and swap fp
   with ofp.

   With and OK tb@
VersionDeltaFile
1.90+16-12usr.sbin/rpki-client/repo.c
+16-121 files

LLVM/project 8b4e74ellvm/test/MC/RISCV xqci-access-pseudos.s xqcisim-invalid.s, llvm/test/MC/RISCV/corev XCVsimd-invalid.s XCValu-invalid.s

[RISCV] Report "unexpected extra operand" for surplus operands in AsmParser (#207142)

This improves upon the shared near-miss reporting infrastructure added
in #205721 by handling a case that was deferred during that PR's review.

Assisted-by: claude-opus
DeltaFile
+158-158llvm/test/MC/RISCV/corev/XCVsimd-invalid.s
+31-31llvm/test/MC/RISCV/corev/XCValu-invalid.s
+22-22llvm/test/MC/RISCV/corev/XCVmac-invalid.s
+15-15llvm/test/MC/RISCV/xqci-access-pseudos.s
+13-13llvm/test/MC/RISCV/xqcisim-invalid.s
+10-13llvm/test/MC/RISCV/priv-invalid.s
+249-25229 files not shown
+376-36535 files

LLVM/project 56f655fllvm/lib/Target/SPIRV SPIRVUtils.cpp SPIRVCallLowering.cpp

[NFC][SPIR-V] Dedupe getConstInt metadata helper into SPIRVUtils (#208194)
DeltaFile
+9-9llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+2-11llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
+4-0llvm/lib/Target/SPIRV/SPIRVUtils.h
+15-203 files

FreeBSD/ports 9a070eesecurity/mbedtls4 Makefile distinfo, security/mbedtls4/files patch-library_CMakeLists.txt

security/mbedtls4: Update 4.1.0 => 4.2.0 (fix 10 CVEs)

Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.2.0

- Parametrize PKGNAMESUFFIX.
- Improve PORTSCOUT.

PR:             296595
Security:       CVE-2026-50581
Security:       CVE-2026-50640
Security:       CVE-2026-50580
Security:       CVE-2026-50586
Security:       CVE-2026-50588
Security:       CVE-2026-50579
Security:       CVE-2026-54441
Security:       CVE-2026-50585
Security:       CVE-2026-25832
Security:       CVE-2026-49300

    [4 lines not shown]
DeltaFile
+3-10security/mbedtls4/Makefile
+0-11security/mbedtls4/files/patch-library_CMakeLists.txt
+3-5security/mbedtls4/distinfo
+1-1security/mbedtls4/pkg-plist
+7-274 files

NetBSD/pkgsrc-wip 2d4d1dechromium TODO Makefile

chromium: update todo
DeltaFile
+3-17chromium/TODO
+0-1chromium/Makefile
+3-182 files

FreeBSD/ports 2162d1dsecurity/mbedtls4 Makefile distinfo, security/mbedtls4/files patch-library_CMakeLists.txt

security/mbedtls4: Update 4.1.0 => 4.2.0 (fix 10 CVEs)

Changelog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.2.0

- Parametrize PKGNAMESUFFIX.
- Improve PORTSCOUT.

PR:             296595
Security:       CVE-2026-50581
Security:       CVE-2026-50640
Security:       CVE-2026-50580
Security:       CVE-2026-50586
Security:       CVE-2026-50588
Security:       CVE-2026-50579
Security:       CVE-2026-54441
Security:       CVE-2026-50585
Security:       CVE-2026-25832
Security:       CVE-2026-49300

    [2 lines not shown]
DeltaFile
+3-10security/mbedtls4/Makefile
+0-11security/mbedtls4/files/patch-library_CMakeLists.txt
+3-5security/mbedtls4/distinfo
+1-1security/mbedtls4/pkg-plist
+7-274 files

OpenBSD/src GI4Xkgcusr.sbin/rpki-client repo.c

   Remove no longer needed cast for the free argument.

   From tb@
VersionDeltaFile
1.89+2-2usr.sbin/rpki-client/repo.c
+2-21 files

NetBSD/pkgsrc MSkpQl8doc CHANGES-2026

   doc: Updated www/chromium to 150.0.7871.100
VersionDeltaFile
1.4350+2-1doc/CHANGES-2026
+2-11 files

NetBSD/src seRALhQdoc 3RDPARTY CHANGES

   new libevent
VersionDeltaFile
1.2230+3-6doc/3RDPARTY
1.3278+2-1doc/CHANGES
+5-72 files

NetBSD/src 1qQ0gBxdistrib/sets/lists/base shl.mi, distrib/sets/lists/debug shl.mi

   bump libevent
VersionDeltaFile
1.1046+5-5distrib/sets/lists/base/shl.mi
1.409+5-5distrib/sets/lists/debug/shl.mi
+10-102 files

NetBSD/pkgsrc TrothZVwww/chromium distinfo, www/chromium/patches patch-base_files_file__path__watcher__kqueue.cc patch-third__party_vulkan-loader_src_loader_loader__environment.c

   chromium: update to 150.0.7871.100

   This update doesn't include security fixes.
   A full list of changes in this build is available in
   https://chromium.googlesource.com/chromium/src/+log/150.0.7871.47..150.0.7871.101?pretty=fuller&n=10000
VersionDeltaFile
1.50+1,628-1,621www/chromium/distinfo
1.3+45-16www/chromium/patches/patch-base_files_file__path__watcher__kqueue.cc
1.1+44-0www/chromium/patches/patch-third__party_vulkan-loader_src_loader_loader__environment.c
1.1+25-0www/chromium/patches/patch-third__party_vulkan-loader_src_loader_vk__loader__platform.h
1.1+24-0www/chromium/patches/patch-third__party_vulkan-loader_src_BUILD.gn
1.1+21-0www/chromium/patches/patch-third__party_nasm_output_outieee.c
+1,787-1,6371,620 files not shown
+3,450-3,2681,626 files

LLVM/project 1f0dca7llvm/lib/Target/AMDGPU AMDGPULibCalls.cpp, llvm/test/CodeGen/AMDGPU amdgpu-simplify-libcall-pow.ll amdgpu-simplify-libcall-powr.ll

[AMDGPU] Gate fold_pow(x, ±0.5)->sqrt/rsqrt on nsz+ninf fast-math flags (#205592)

AMDGPULibCalls::fold_pow rewrote pow(x, 0.5)->sqrt(x) and pow(x,
-0.5)->rsqrt(x) unconditionally, firing before the
isUnsafeFiniteOnlyMath guard. This is incorrect for two IEEE corner
cases:

  pow(-Inf, 0.5) == +Inf  but  sqrt(-Inf) == NaN
  pow(-0.0, 0.5) == +0.0  but  sqrt(-0.0) == -0.0

Guard the fold on hasNoSignedZeros() && (IsPowr || hasNoInfs()), where
IsPowr is true for powr/powr_fast. The OpenCL spec requires x >= 0 for
powr, so -Inf is undefined behaviour and the ninf check can be skipped;
-0.0 is a valid input for powr since -0.0 >= 0 by IEEE comparison, so
nsz is still required for all variants. afn alone is not sufficient
since it only permits approximate results and says nothing about the
treatment of infinities or signed zeros.

Update the four autogenerated test files to reflect the new semantics:

    [4 lines not shown]
DeltaFile
+217-258llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
+98-98llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll
+42-16llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-fast.ll
+33-7llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr-fast.ll
+24-12llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+414-3915 files

LLVM/project 4c6f664llvm/include/llvm/IR PatternMatch.h, llvm/lib/Target/AMDGPU AMDGPULowerKernelAttributes.cpp

[AMDGPU] Guard block-count upgrade against volatile/atomic grid-size … (#208068)

…loads

AMDGPULowerKernelAttributes upgrades the pre-COV5 pattern
  udiv(grid_size_x, group_size_x)
to a direct load of hidden_block_count_x from the implicit args. The
m_Load() pattern matcher does not check whether the matched load is
volatile or atomic, so a volatile or atomic grid_size load would have
been silently deleted and replaced -- dropping its observable side
effects in violation of the LangRef.

Fix: after the pattern match succeeds, cast the matched value to
LoadInst and bail out if !isSimple() (i.e., volatile or atomic).

Add a test case num_blocks_x_volatile_grid_size in
implicit-arg-block-count.ll to verify the volatile load and udiv are
preserved unchanged.
DeltaFile
+54-0llvm/test/CodeGen/AMDGPU/implicit-arg-block-count.ll
+16-0llvm/include/llvm/IR/PatternMatch.h
+1-1llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
+71-13 files

FreeBSD/ports 4488af5x11-servers/xorg-server distinfo, x11-servers/xorg-server/files patch-config_udev.c patch-os-utils.c

x11-servers/xorg-server: security update: 21.1.23 -> 21.1.24

Regenerate patches.

Security:       CVE-2026-55999
PR:             296589
Approved by:    x11 (arrowd, maintainer)

Sponsored by:   tipi.work
DeltaFile
+11-11x11-servers/xorg-server/files/patch-config_udev.c
+3-3x11-servers/xorg-server/files/patch-os-utils.c
+3-3x11-servers/xorg-server/distinfo
+3-3x11-servers/xorg-server/files/patch-include_meson.build
+2-2x11-servers/xorg-server/files/patch-hw_xfree86_os-support_bsd_ppc__video.c
+2-2x11-servers/xorg-server/files/patch-hw_xfree86_xorg-wrapper.c
+24-244 files not shown
+31-3210 files

OPNSense/plugins 5646decsecurity/intrusion-detection-content-at-antiphishing pkg-descr Makefile, security/intrusion-detection-content-at-antiphishing/src/opnsense/scripts/suricata/metadata/rules julioliraup-antiphing.xml

Add julioliraup/Antiphishing ruleset (#5538)
DeltaFile
+11-0security/intrusion-detection-content-at-antiphishing/pkg-descr
+9-0security/intrusion-detection-content-at-antiphishing/src/opnsense/scripts/suricata/metadata/rules/julioliraup-antiphing.xml
+8-0security/intrusion-detection-content-at-antiphishing/Makefile
+28-03 files