LLVM/project 61fd29eclang/include/clang/Analysis/Analyses/LifetimeSafety Facts.h, clang/lib/Analysis/LifetimeSafety Facts.cpp LoanPropagation.cpp

[clang][LifetimeSafety] Split live origins into persistent and block-local (#213543)

LoanPropagation already keeps origins that cross block boundaries apart
from those confined to one block, so that only the former take part in
joins. Do the same for LiveOrigins, and share the single prepass that
classifies them.

Block-local origins are not merely a minor share of the liveness state:
many expression origins are made live by a `UseFact` but never killed,
because several `OriginFlow` sites propagate only the outermost origin
of an expression's list (see the FIXMEs in `handleFunctionCall`), and a
`StringLiteral` glvalue origin is only ever a flow's source. Those
origins survived to the top of their block and then propagated backward
across the whole function. In `EmitARMMVEBuiltinExpr`, of 68644 origins
only 490 are persistent, and the liveness map at a block boundary peaked
at 11725 entries; it now peaks at 326.

`computePersistentOrigins` moves to `FactManager`, which computes it on
first use and hands the same bit vector to both analyses. Sharing it is

    [27 lines not shown]
DeltaFile
+93-52clang/lib/Analysis/LifetimeSafety/LiveOrigins.cpp
+41-39clang/lib/Analysis/LifetimeSafety/Checker.cpp
+4-64clang/lib/Analysis/LifetimeSafety/LoanPropagation.cpp
+57-0clang/lib/Analysis/LifetimeSafety/Facts.cpp
+25-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Facts.h
+12-7clang/unittests/Analysis/LifetimeSafetyTest.cpp
+232-1623 files not shown
+256-1709 files

OPNSense/core de14b37src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api SourceNatController.php

Firewall: NAT: Source NAT: scope get action to general settings (#10674)
DeltaFile
+1-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/SourceNatController.php
+1-21 files

LLVM/project fc7ec52mlir/lib/Dialect/Linalg/Transforms TilingInterfaceImpl.cpp, mlir/test/Dialect/Linalg transform-op-fuse.mlir tile-semi-affine-maps.mlir

[mlir][linalg] Constrain tiling semi-affine maps (#212240)

Expands checks in Linalg's tiling implementation in presence of
semi-affine indexing maps to reject unsafe tiling configurations.

Current tiling can produce incorrect results when tiling occurs on a
dimension accessed via semi-affine map. This is due to lack of tile
offset tracking as shift in tiled slices cannot be represented today
using symbol-free indexing maps.

Assisted-by: Claude
DeltaFile
+541-0mlir/test/Dialect/Linalg/tile-semi-affine-maps.mlir
+121-0mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
+58-1mlir/test/Dialect/Linalg/transform-op-fuse.mlir
+720-13 files

FreeBSD/src 265b3e1share/man/man4 lo.4, sys/net if_loop.c

loopback: improve checksum offloading

* Allow disabling IFCAP_RXCSUM_IPV6 or IFCAP_TXCSUM_IPV6.
* Do not pretend the checksum is correct by setting the LO_CSUM_SET
  flags if IFCAP_RXCSUM_IPV6 or IFCAP_RXCSUM is enabled. Instead,
  remove the LO_CSUM_SET flags (in case they have been set somehow)
  if IFCAP_RXCSUM_IPV6 or IFCAP_RXCSUM is disabled.
* Do not unset the transmit checksum offload flags LO_CSUM_FEATURES or
  LO_CSUM_FEATURES6 since they now have a meaning for the receive path.

Reviewed by:            glebius, pouria, tuexen
Okayed by:              bz
Differential Revision:  https://reviews.freebsd.org/D57518

(cherry picked from commit d6c4cea7740d5c5c673a06ba37e4f1bdcddb2ece)
DeltaFile
+6-36sys/net/if_loop.c
+10-13share/man/man4/lo.4
+16-492 files

FreeBSD/src f059fcfsys/dev/virtio/pci virtio_pci_modern.c

virtio_pci_modern: Remove endianness conversion for config space

The bus_* functions already handle converting from PCI endianness
(i.e. little-endian) to native endianness when accessing the config
space (see ofw_pcib_bus_get_bus_tag), so converting again with
virtio_htogX/virtio_gtohX undoes any byte-swapping and breaks
big-endian systems. They should only be used for operating on shared
memory.
Note part of this reverts commit fb53b42e36a9 ("virtio-modern: fix PCI
common read/write functions on big endian targets").

PR:                     294706
Reviewed by:            adrian, tuexen
Fixes:                  fb53b42e36a9 ("virtio-modern: fix PCI common read/write functions on big endian targets")
Fixes:                  9da9560c4dd3 ("virtio: Add VirtIO PCI modern (V1) support")
Differential Revision:  https://reviews.freebsd.org/D57392

(cherry picked from commit 07b5d1ca52b113cecad3cda73ff5e782d8f4d07d)
DeltaFile
+10-17sys/dev/virtio/pci/virtio_pci_modern.c
+10-171 files

FreeBSD/src 9f49131sys/netinet tcp_syncache.c

tcp: cleanup resource handling in SYN handling

Handle cred, ipopts, and maclabel using the same pattern:
allocate at the beginning and set to NULL when the object is
transferred to a struct syncache. When exiting the function, free
these objects if not transferred or when transferred to the on-stack
struct syncache. This makes use of a new function syncache_release().

This fixes a use after free problem: ipopts should only be freed,
if the on-stack struct syncache is used and the pointer in this
structure still points to the allocated ipopts. If the ipopts
are moved from the struct syncache to the struct inpcb in
syncache_socket(), which is called by syncache_tfo_expand(),
the pointer in the struct syncache is set to NULL.

In a FreeBSD default setup this problem is mitigated by
1. TCP fast open support on the server side not being enabled
   (the sysctl-variable net.inet.tcp.fastopen.server_enable is 0).
2. Incoming IP packet with source routing options are not being

    [12 lines not shown]
DeltaFile
+30-44sys/netinet/tcp_syncache.c
+30-441 files

LLVM/project efa2303llvm/lib/Target/AMDGPU AMDGPULibCalls.cpp

[review] Sink second argument closer to where it is used
DeltaFile
+1-3llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+1-31 files

LLVM/project 4e41485llvm/lib/Target/AMDGPU AMDGPULibCalls.cpp

[review] Move asserts and simplify return
DeltaFile
+10-6llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+10-61 files

LLVM/project 7448e3emlir/lib/Dialect/Tosa/Transforms TosaFolders.cpp, mlir/test/Dialect/Tosa tosa-layerwise-constant-fold.mlir

[mlir][tosa] Support more float types in resource transpose folding (#213226)

Add support for f4, f8, f16, bf16, and f64 constants backed by
DenseResourceElementsAttr.
DeltaFile
+120-0mlir/test/Dialect/Tosa/tosa-layerwise-constant-fold.mlir
+40-4mlir/lib/Dialect/Tosa/Transforms/TosaFolders.cpp
+160-42 files

FreeBSD/src 1f3b673sys/kern kern_exec.c

kern_execve(): avoid storing non-VDIR into p_textdvp

(cherry picked from commit 930f2e4da96487f18a82f912275c6302c39b9bd2)
DeltaFile
+36-2sys/kern/kern_exec.c
+36-21 files

FreeBSD/ports b408dfbnet/dhcpcd-ui Makefile distinfo

net/dhcpcd-ui: update to 0.8.0

Changes:        https://github.com/NetworkConfiguration/dhcpcd-ui/releases/tag/v0.8.0
DeltaFile
+3-3net/dhcpcd-ui/distinfo
+1-2net/dhcpcd-ui/Makefile
+4-52 files

OPNSense/core 979ff9esrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api SourceNatController.php

Firewall: NAT: Source NAT: scope get action to general settings
DeltaFile
+1-2src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/SourceNatController.php
+1-21 files

FreeBSD/src d3c3a70sys/fs/autofs autofs_vfsops.c

autofs: try to avoid waiting for timeouts of in-flight requests for forced unmounts

Do the advisory aborts of the in-flight requests before flushing the
vnodes.  It should mostly eliminate the waits due to requests busying
the mp.

Reported and reviewed by:       rew
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58637
DeltaFile
+28-0sys/fs/autofs/autofs_vfsops.c
+28-01 files

OPNSense/core 1cf8eb6. plist

make plist-fix
DeltaFile
+1-0plist
+1-01 files

LLVM/project 91dfa26clang/include/clang/StaticAnalyzer/Checkers BoundsChecking.h, clang/lib/StaticAnalyzer/Checkers CMakeLists.txt BoundsChecking.cpp

[NFC][analyzer] Introduce the BoundsChecking library (#213957)

Building on my recent commit 25d51a8156da0845928e2fc09bb2736507fc5adf
this commit moves the general-purpose bounds checking logic from
ArrayBoundChecker.cpp to the new files BoundsChecking.{cpp,h}.

This new library currently only serves the needs of
`security.ArrayBound`, but it will be gradually expanded, generalized
and used to bring other bounds checking checkers out of alpha stage.

The code is moved without modifications, except for the removal of a
TODO note that asks for moving the code into a separate library.
DeltaFile
+1-294clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
+229-0clang/lib/StaticAnalyzer/Checkers/BoundsChecking.cpp
+105-0clang/include/clang/StaticAnalyzer/Checkers/BoundsChecking.h
+1-0llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn
+1-0clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
+337-2945 files

FreeBSD/ports 689992enews/inn-current Makefile distinfo

news/inn-current: Update to 20260801
DeltaFile
+3-3news/inn-current/distinfo
+1-1news/inn-current/Makefile
+4-42 files

LLVM/project 269979bclang/lib/Sema SemaDecl.cpp, clang/test/Sema loadtime-comment-vars.c

nit: Minor updates to the comments
DeltaFile
+2-3clang/lib/Sema/SemaDecl.cpp
+1-2clang/test/Sema/loadtime-comment-vars.c
+3-52 files

LLVM/project 3bee38fclang/docs LanguageExtensions.md, clang/lib/Sema SemaDecl.cpp

[Clang][AIX] Preserve -mloadtime-comment-vars variables across serialization

Named internal-linkage variables were silently dropped when their
definition crossed a PCH or C++20 named-module (BMI-to-object) boundary:
DeclMustBeEmitted did not know the implicit attribute, so the PCH writer
never marked the unreferenced variable as required, and for named modules
only non-discardable variables are recorded in the module-initializer
lists that EmitModuleInitializers walks. Teach DeclMustBeEmitted about
the attribute (the CodeGen-side check becomes redundant and is removed)
and record validated internal-linkage module-purview variables in the
module-initializer list.

Since DeclMustBeEmitted now sees the attribute, a preserved variable no
longer triggers -Wunused-const-variable: it is materially used.

Add tests for C++20 module preservation, importer behavior, and
instantiation diagnostics; PCH preservation; unused-warning suppression;
the non-AIX cc1 no-op; and char8_t element-type exclusion. Document the
modules/PCH rules.
DeltaFile
+101-0clang/test/CodeGen/PowerPC/loadtime-comment-vars-modules.cpp
+28-0clang/test/PCH/loadtime-comment-vars.c
+21-2clang/test/Sema/loadtime-comment-vars.c
+8-5clang/docs/LanguageExtensions.md
+10-0clang/lib/Sema/SemaDecl.cpp
+5-1clang/test/CodeGen/PowerPC/loadtime-comment-vars.cpp
+173-82 files not shown
+180-108 files

NetBSD/src s71o0F4sys/arch/sparc/sparc openfirm.c

   Only call delay() with #ifdef _KERNEL, because it's not available to
   standalone tools like sparc bootjs.net .
VersionDeltaFile
1.26+6-2sys/arch/sparc/sparc/openfirm.c
+6-21 files

OpenBSD/ports mfOenMXnet/dhcpcd Makefile distinfo

   update to dhcpcd-10.5.0
VersionDeltaFile
1.76+2-2net/dhcpcd/distinfo
1.122+1-1net/dhcpcd/Makefile
+3-32 files

FreeBSD/ports e77979cgraphics/mesa-libs Makefile, graphics/shaderc Makefile

*/*: Bump port revision after spirv-tools update (f6a550749269)
DeltaFile
+1-1x11/quickshell/Makefile
+1-1x11-wm/chamfer/Makefile
+1-1lang/pocl/Makefile
+1-1graphics/skia/Makefile
+1-1graphics/shaderc/Makefile
+1-1graphics/mesa-libs/Makefile
+6-65 files not shown
+11-711 files

LLVM/project 4395e6allvm/lib/Target/AMDGPU DSInstructions.td, llvm/test/CodeGen/AMDGPU ds-atomic-barrier-convergent.ll

[AMDGPU] Add `isConvergent=1` to `DS_ATOMIC_*_BARRIER` instructions (#214166)

The intrinsic already has it. The instructions may issue a wake-up
signal on barrier completion so the set of waves that execute the
instruction
may not change.

The test case shows taildup duplicating the MachineInstrs when
`isConvergent=0`.

Assisted-By: Claude Opus 4.8
Claude found the reproducer for me after I found the lack of
`isConvergent=1` on those
instructions.
DeltaFile
+12-26llvm/test/CodeGen/AMDGPU/ds-atomic-barrier-convergent.ll
+16-12llvm/lib/Target/AMDGPU/DSInstructions.td
+28-382 files

FreeBSD/ports f6a5507graphics/spirv-tools Makefile distinfo

graphics/spirv-tools: Update to 2026.3.rc1

Changelog: https://github.com/KhronosGroup/SPIRV-Tools/blob/v2026.3.rc1/CHANGES

PR:             297161
Reported by:    olivier
Co-authored-by: Olivier Cochard <olivier at freebsd.org>
DeltaFile
+5-5graphics/spirv-tools/distinfo
+3-3graphics/spirv-tools/Makefile
+8-82 files

LLVM/project 17fe2ecutils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/stdlib BUILD.bazel

[bazel][libc] Add targets for realpath
DeltaFile
+142-12utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+28-0utils/bazel/llvm-project-overlay/libc/test/src/stdlib/BUILD.bazel
+170-122 files

LLVM/project 0b8087clibc/config/linux/aarch64 entrypoints.txt, libc/config/linux/riscv entrypoints.txt

[libc] Add realpath to linux entrypoints
DeltaFile
+1-4libc/config/linux/x86_64/entrypoints.txt
+1-4libc/config/linux/riscv/entrypoints.txt
+1-0libc/config/linux/aarch64/entrypoints.txt
+3-83 files

OpenBSD/ports vtSU1asdevel/py-pdm-backend distinfo Makefile

   update to py3-pdm-backend-2.4.9
VersionDeltaFile
1.9+2-2devel/py-pdm-backend/distinfo
1.13+2-2devel/py-pdm-backend/Makefile
+4-42 files

NetBSD/pkgsrc kFCWDBVdoc CHANGES-2026

   Updated devel/protobuf-language-server, devel/lazygit
VersionDeltaFile
1.5008+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc w7mAbzEdevel/lazygit Makefile go-modules.mk

   lazygit: updated to 0.64.0

   0.64.0

   Enhancements

   Show a spinner for more long-running operations
   Remove the BLOCK_UI refresh mode
   Support a {{diffContext}} template variable in external diff command
   Some small UI polish
   Auto-scroll when dragging to create range selection in staging view
   Create a range selection in list views by dragging with the mouse
   Reorder commits (or rebase todos) by dragging with the mouse
   Rework the custom pager config (rename to diff renderer)
   Show a Github PR's combined checks state in branches list (and main view for selected branch)

   Fixes

   Fix stuck inline status when pushing/fetching

    [11 lines not shown]
VersionDeltaFile
1.28+46-52devel/lazygit/distinfo
1.20+14-16devel/lazygit/go-modules.mk
1.81+2-2devel/lazygit/Makefile
+62-703 files

LLVM/project 4db3dc2lldb/docs/resources build.md, lldb/packages/Python/lldbsuite/test/builders builder.py

[lldb][test] Improve error for C++ compiler detection and improve docs (#214199)

I did not realise that LLDB_TEST_COMPILER should be the C compiler, so I
got:
    cxx = cc_dir / (cc_prefix + cxx_type + cc_ext)
TypeError: can only concatenate str (not "NoneType") to str
Config=aarch64-/usr/bin/g++

I have simplified the logic and added a more informative error: 
RuntimeError: Could not infer C++ compiler name from compiler type "g++"

Added a note to the documentation.

The CMake description does say "C compiler", but it's easy to gloss over
that so I extended that to say how we get the C++ compiler.
DeltaFile
+11-3lldb/packages/Python/lldbsuite/test/builders/builder.py
+6-0lldb/docs/resources/build.md
+1-1lldb/test/API/CMakeLists.txt
+18-43 files

NetBSD/pkgsrc doTevH2devel/protobuf-language-server Makefile distinfo

   protobuf-language-server: updated to 0.1.5

   0.1.5
   fix(view): unwrap vscode-languageclient wrapped settings in SettingsFromInterface
VersionDeltaFile
1.4+4-4devel/protobuf-language-server/distinfo
1.19+2-3devel/protobuf-language-server/Makefile
+6-72 files