LLVM/project 97e7ee2llvm/lib/ProfileData InstrProf.cpp, llvm/test/Transforms/PGOProfile indirect-call-vp-zeros.ll

[InstrProf] Do not emit metadata for zero values with zero counts (#199380)

If we have a indirect call site with a profile that has VP information
for said callsite that only contains zero values with zero counts, we
would start to emit invalid profile information after
1d146967d51ba76b8379d9e12961aa23e5745701. VP metadata in this case is at
best redundant with BFI. So we restrict metadata emission to only if we
have a sufficient number of values for the VP metadata to be valid.
DeltaFile
+16-0llvm/test/Transforms/PGOProfile/Inputs/indirect-call-vp-zeros.ll
+11-0llvm/test/Transforms/PGOProfile/indirect-call-vp-zeros.ll
+5-1llvm/lib/ProfileData/InstrProf.cpp
+32-13 files

LLVM/project 142af64mlir/docs Tokens.md

Update mlir/docs/Tokens.md

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
DeltaFile
+2-1mlir/docs/Tokens.md
+2-11 files

LLVM/project 1646898mlir/lib/Dialect/Async/Transforms AsyncToAsyncRuntime.cpp, mlir/test/Dialect/Async async-to-async-runtime.mlir

[mlir][async] Lazily create the coroutine destroy-cleanup block

`setupCoroMachinery` previously emitted a `cleanupForDestroy` block
unconditionally, alongside the normal `cleanup` block. That block is
only ever used as the "destroy" successor of an `async.coro.suspend`,
so for coroutines that never suspend (e.g. an `async.func` whose body
contains no `async.await`) it ended up unreachable in the lowered CFG.

Make `cleanupForDestroy` mirror the existing `setError` pattern and
materialize it lazily via a new `setupCleanupForDestroyBlock` helper,
called only from the two places (`outlineExecuteOp` and the
`async.await` lowering) that actually wire it up. Store the coroutine
id on `CoroMachinery` so the helper can rebuild the block contents
without keeping the original `async.coro.id` op around.

Assisted-by: Opus 4.7
DeltaFile
+33-15mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
+33-0mlir/test/Dialect/Async/async-to-async-runtime.mlir
+66-152 files

LLVM/project 1179d6dmlir/lib/Dialect/Async/Transforms AsyncToAsyncRuntime.cpp, mlir/test/Dialect/Async async-to-async-runtime.mlir

[mlir][async] Lazily create the coroutine destroy-cleanup block

`setupCoroMachinery` previously emitted a `cleanupForDestroy` block
unconditionally, alongside the normal `cleanup` block. That block is
only ever used as the "destroy" successor of an `async.coro.suspend`,
so for coroutines that never suspend (e.g. an `async.func` whose body
contains no `async.await`) it ended up unreachable in the lowered CFG.

Make `cleanupForDestroy` mirror the existing `setError` pattern and
materialize it lazily via a new `setupCleanupForDestroyBlock` helper,
called only from the two places (`outlineExecuteOp` and the
`async.await` lowering) that actually wire it up. Store the coroutine
id on `CoroMachinery` so the helper can rebuild the block contents
without keeping the original `async.coro.id` op around.

Assisted-by: Opus 4.7
DeltaFile
+37-15mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
+33-0mlir/test/Dialect/Async/async-to-async-runtime.mlir
+70-152 files

LLVM/project 269719bcompiler-rt/include/sanitizer common_interface_defs.h, compiler-rt/lib/asan asan_poisoning.cpp asan_errors.h

Revert "[compiler-rt][ASan] Add function copying annotations (#91702)" (#194204)

This reverts commit c76045d9bf3bd1c7a381dc85d1db63a38fd69aa4.

It does not look like this has been used anywhere since it was
implemented. I see no uses of it in LLVM, anywhere in our internal
monorepo, or across the entirety of Github outside of other copies of
LLVM tests. Given that, remove it. The intended use case around SSO ASan
string annotations is also likely to be significantly reworked soon.
DeltaFile
+0-183compiler-rt/lib/asan/asan_poisoning.cpp
+0-172compiler-rt/test/asan/TestCases/copy_container_annotations.cpp
+0-45compiler-rt/include/sanitizer/common_interface_defs.h
+0-19compiler-rt/lib/asan/asan_errors.h
+0-14compiler-rt/lib/asan/asan_errors.cpp
+0-10compiler-rt/lib/asan/asan_report.cpp
+0-4433 files not shown
+1-4539 files

LLVM/project 0b6a1efllvm/utils/lit/tests shtest-ulimit-nondarwin.py, llvm/utils/lit/tests/Inputs/shtest-ulimit print_limits.py

[lit] Normalize RLIM_INFINITY to "infinity" in print_limits.py for Python 3.15+ (#190953)

Python 3.15 changed resource.getrlimit() to return the platform's
maximum value (e.g., 18446744073709551615 on 64-bit systems) instead of
-1 for RLIM_INFINITY. This breaks lit tests that expect -1 for unlimited
resource limits.

This patch normalizes the return value to "infinity" when it equals
RLIM_INFINITY to maintain compatibility with existing tests across all
Python versions.

Fixes test failure: shtest-ulimit-nondarwin.py
Expected: RLIMIT_FSIZE=-1
Got: RLIMIT_FSIZE=18446744073709551615

Reference:
https://github.com/python/cpython/commit/0324c726dea702282a0300225e989b19ae23b759
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2448969


    [7 lines not shown]
DeltaFile
+13-4llvm/utils/lit/tests/Inputs/shtest-ulimit/print_limits.py
+1-1llvm/utils/lit/tests/shtest-ulimit-nondarwin.py
+14-52 files

LLVM/project 01ce8d6llvm/test/tools/llvm-profdata sample-nametable.test

[ProfData] Remove HWAsan exclusion (#199582)

This passes locally for me with HWAsan enabled on a AArch64 machine, so
it seems like this might have been fixed since adding the opt-out.
DeltaFile
+0-6llvm/test/tools/llvm-profdata/sample-nametable.test
+0-61 files

FreeBSD/src f09c84a. Makefile

universe: emit warning instead of error for bad/missing KERNCONF

When doing a large `make universe` build with multiple KERNCONFS,
it should not be an error when a particular target has a missing
KERNCONF.

In this example,

```
$ make universe TARGETS='arm64 riscv' KERNCONFS='QEMU VIRT'
```

Currently, arm64 does not have a QEMU conf, and riscv
does not have a VIRT conf. However, this command should still
succeed instead of failing with the following message:

```
make[2]: /usr/src/Makefile:767: Target architecture for riscv/conf/VIRT unknown.  config(8) likely too old.
        in .for loop from /usr/src/Makefile:761 with kernel = VIRT

    [15 lines not shown]
DeltaFile
+5-1Makefile
+5-11 files

FreeBSD/src 6b1f521. Makefile, share/man/man7 build.7

universe: allow moving build logs to UNIVERSE_LOGDIR

This allows `make universe` or `make tinderbox`
to build from a read-only src tree.

Reviewed by:    ziaee, imp, delphij
Approved by:    lwhsu (mentor), emaste (mentor)
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D55566

(cherry picked from commit 02ef0b6d76e9717b8e3182dd706e23fd2702701d)
DeltaFile
+8-9Makefile
+6-1share/man/man7/build.7
+14-102 files

FreeBSD/ports 11ea89aeditors/zed distinfo Makefile, editors/zed/files patch-Cargo.lock

editors/zed: Update to 1.3.6

Changelog: https://github.com/zed-industries/zed/releases/tag/v1.3.6

Reported by:    GitHub (watch releases)
DeltaFile
+7-7editors/zed/files/patch-Cargo.lock
+3-3editors/zed/distinfo
+1-1editors/zed/Makefile
+11-113 files

OpenZFS/src 88656cctests/zfs-tests/tests/functional/alloc_class alloc_class_012_pos.ksh alloc_class.kshlib

ZTS/alloc_class: move file_in_special_vdev to alloc_class.kshlib

Move the function into the shared library.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18584
DeltaFile
+0-35tests/zfs-tests/tests/functional/alloc_class/alloc_class_012_pos.ksh
+34-0tests/zfs-tests/tests/functional/alloc_class/alloc_class.kshlib
+34-352 files

OpenZFS/src af0228btests/zfs-tests/tests/functional/cli_root/zpool_expand zpool_expand_005_pos.ksh

ZTS: zpool_expand_005_pos: correct variable name in expandsize check

The check referenced $zpool_expandsize, which is not defined in this
test; the variable assigned two lines above is $expandsize. A "-"
value returned by zpool reopen therefore did not trigger the
intended log_fail, and the failure surfaced only at the later
post-online-e size check with a less specific message.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Christos Longros <chris.longros at gmail.com>
Closes #18580
DeltaFile
+1-1tests/zfs-tests/tests/functional/cli_root/zpool_expand/zpool_expand_005_pos.ksh
+1-11 files

LLVM/project 884e828llvm/lib/Target/AMDGPU AMDGPUInsertDelayAlu.cpp AMDGPULowerExecSync.cpp

[AMDGPU] Don't assume non-erased DenseMap entries remain valid after erase. NFC (#199578)

In preparation for DenseMap change that relocates surviving entries on
erase, replace erase-while-iterating with remove_if.
DeltaFile
+4-13llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp
+7-10llvm/lib/Target/AMDGPU/AMDGPULowerExecSync.cpp
+2-8llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+4-6llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+17-374 files

OpenZFS/src 112b013module/os/linux/zfs zpl_xattr.c

zpl_xattr: stop heap-allocating prefixed xattr names

The six __zpl_xattr_{user,trusted,security}_{get,set} entry points
built their prefixed name via kmem_asprintf("%s%s", prefix, name)
and freed it with kmem_strfree on the way out.

The Linux xattr API caps the full prefix+name length at
XATTR_NAME_MAX (255), the same bound fs/xattr.c's syscall handlers
rely on with their stack-resident struct xattr_name, and so do
the same in our xattr handlers.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Ameer Hamza <ahamza at ixsystems.com>
Signed-off-by: Andrew Walker <andrew.walker at truenas.com>
Closes #18570
DeltaFile
+56-36module/os/linux/zfs/zpl_xattr.c
+56-361 files

FreeBSD/ports d364ddesecurity/py-privleap Makefile, security/py-privleap/files privleapd.in

security/py-privleap: Implement reload command in rc(8) script
DeltaFile
+14-0security/py-privleap/files/privleapd.in
+1-0security/py-privleap/Makefile
+15-02 files

LLVM/project ff2eac1llvm/lib/Target/Hexagon HexagonGenInsert.cpp

[Hexagon] Simplify with DenseMap::remove_if. NFC (#199576)
DeltaFile
+4-19llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
+4-191 files

OpenBSD/ports bd1cXOJgraphics/colord/patches patch-lib_colord_cd-icc_c

   graphics/colord: fix confusion over 64-bit type for llvm22

   ok ajacoutot@
VersionDeltaFile
1.6+11-46graphics/colord/patches/patch-lib_colord_cd-icc_c
+11-461 files

LLVM/project 1ed7260llvm/lib/Target/NVPTX NVPTXGenericToNVVM.cpp

[NVPTX] Don't assume non-erased DenseMap entries remain valid after erase. NFC (#199575)

GenericToNVVM erases entries from GVMap while iterating it. In
preparation for DenseMap change that relocates surviving entries on
erase, snapshot the map and erase by key.
DeltaFile
+8-9llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
+8-91 files

LLVM/project a725adbllvm/docs CMake.rst

[Docs] Update LLVM_USE_SANITIZER list (#199580)

HWAddress and Leaks are valid options that were not present in the
documentation.
DeltaFile
+3-2llvm/docs/CMake.rst
+3-21 files

LLVM/project 2cad228polly/lib/CodeGen IslNodeBuilder.cpp BlockGenerators.cpp

[polly] Simplify with DenseMap::remove_if. NFC (#199577)

In preparation for DenseMap change that relocates surviving entries on
erase.
DeltaFile
+5-9polly/lib/CodeGen/IslNodeBuilder.cpp
+1-4polly/lib/CodeGen/BlockGenerators.cpp
+6-132 files

OpenBSD/ports zjMtuX0net/bird/3 Makefile, net/bird/3/patches patch-sysdep_bsd_krt-sock_c

   cast a struct sockaddr * to typedef of struct sockaddr_bird * (which is
   just a padded sockaddr *), the subsequent address extraction (involving
   a bit of indirection) doesn't touch the bytes of padding, removes warning
   seen with llvm19 which becomes an error

   drop some now-bogus configure args while there
VersionDeltaFile
1.1+12-0net/bird/3/patches/patch-sysdep_bsd_krt-sock_c
1.10+1-2net/bird/3/Makefile
+13-22 files

NetBSD/pkgsrc Y5HNK0Gmath/R-units Makefile distinfo, math/R-units/patches patch-src_Makevars.in

   (math/R-units) Fix build against R 4.6.0
VersionDeltaFile
1.1+20-0math/R-units/patches/patch-src_Makevars.in
1.7+3-1math/R-units/Makefile
1.9+2-1math/R-units/distinfo
+25-23 files

FreeBSD/ports 3293fddwww/py-flask-cors Makefile

www/py-flask-cors: Reset maintainer
DeltaFile
+1-1www/py-flask-cors/Makefile
+1-11 files

FreeBSD/ports 1d38600devel/py-simpy Makefile distinfo, devel/py-simpy/files patch-pyproject.toml

devel/py-simpy: Update to 4.1.2
DeltaFile
+10-0devel/py-simpy/files/patch-pyproject.toml
+4-4devel/py-simpy/Makefile
+3-3devel/py-simpy/distinfo
+17-73 files

LLVM/project 51e882bbolt/include/bolt/Profile DataAggregator.h, bolt/lib/Profile DataAggregator.cpp

use operator<<

Created using spr 1.3.4
DeltaFile
+1-15bolt/include/bolt/Profile/DataAggregator.h
+2-5bolt/lib/Profile/DataAggregator.cpp
+3-202 files

OpenBSD/ports fhaolLTdatabases/postgresql distinfo Makefile, databases/postgresql/pkg PLIST-docs

   update to postgresql-docs-18.4
VersionDeltaFile
1.109.2.1+2-2databases/postgresql/distinfo
1.318.2.1+1-1databases/postgresql/Makefile
1.122.2.1+1-0databases/postgresql/pkg/PLIST-docs
+4-33 files

LLVM/project d0646cbclang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeAnnotations.h, clang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp FactsGenerator.cpp

[LifetimeSafety] Fix false negative for GSL Owner methods inherited from a non-Owner base (#197864)

- Take the implicit object's actual type (e.g., the type before any
`DerivedToBase` cast) into account when checking for GSL Owner. Other
`isGslOwnerType` call sites with the same pattern (e.g.,
`isGslOwnerType(MCE->getImplicitObjectArgument()->getType())` in
`VisitCXXMemberCallExpr`) lack a real-world trigger today and are
deferred to a follow-up.
- Unify the GSL Owner checks inside `shouldTrackImplicitObjectArg` so
they share a single source of truth.

Fixes: #188832
DeltaFile
+44-0clang/test/Sema/warn-lifetime-safety.cpp
+20-8clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+4-4clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+3-1clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h
+1-1clang/lib/Sema/CheckExprLifetime.cpp
+72-145 files

FreeBSD/ports 8391f23graphics/gowall Makefile distinfo, graphics/gowall/files patch-internal_image_upscale.go patch-internal_backends_compression_png_setup.go

graphics/gowall: Update 0.2.3 => 0.2.4

Changelog:
https://github.com/Achno/gowall/releases/tag/v0.2.4

Differential Revision: https://reviews.freebsd.org/D56348
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2

(cherry picked from commit 1dd7b2aff21362f48fc4f9cdeb12d0b5007f4d3b)
DeltaFile
+0-19graphics/gowall/files/patch-internal_image_upscale.go
+12-5graphics/gowall/Makefile
+7-5graphics/gowall/distinfo
+0-10graphics/gowall/files/patch-internal_backends_compression_png_setup.go
+19-394 files

FreeBSD/ports 1dd7b2agraphics/gowall Makefile distinfo, graphics/gowall/files patch-internal_image_upscale.go patch-internal_backends_compression_png_setup.go

graphics/gowall: Update 0.2.3 => 0.2.4

Changelog:
https://github.com/Achno/gowall/releases/tag/v0.2.4

Differential Revision: https://reviews.freebsd.org/D56348
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q2
DeltaFile
+0-19graphics/gowall/files/patch-internal_image_upscale.go
+12-5graphics/gowall/Makefile
+7-5graphics/gowall/distinfo
+0-10graphics/gowall/files/patch-internal_backends_compression_png_setup.go
+19-394 files

FreeNAS/freenas e0c39d3src/middlewared/middlewared/plugins/system_dataset mount.py

Fix
DeltaFile
+7-4src/middlewared/middlewared/plugins/system_dataset/mount.py
+7-41 files