LLVM/project d0d1f0blibc/shared/math fma.h, libc/src/__support/math fma.h CMakeLists.txt

[libc][math] Refactor fma implementation to header-only in src/__support/math folder. (#163968)

Part of #147386

in preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
DeltaFile
+27-0libc/src/__support/math/fma.h
+23-0libc/shared/math/fma.h
+9-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/fma.cpp
+1-1libc/src/math/generic/CMakeLists.txt
+71-73 files not shown
+74-79 files

LLVM/project c10f5d5llvm/test/CodeGen/AMDGPU/GlobalISel atomicrmw-fmin-fmax.ll, llvm/test/CodeGen/X86/apx sub.ll add.ll

Merge branch 'main' into users/ziqingluo/reapply-PR169191570
DeltaFile
+1,809-0llvm/test/Instrumentation/NumericalStabilitySanitizer/intrinsics.ll
+1,432-0llvm/test/Instrumentation/NumericalStabilitySanitizer/libfuncs.ll
+486-145llvm/test/CodeGen/X86/apx/sub.ll
+476-140llvm/test/CodeGen/X86/apx/add.ll
+596-0llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw-fmin-fmax.ll
+450-132llvm/test/CodeGen/X86/apx/or.ll
+5,249-417650 files not shown
+23,875-8,526656 files

LLVM/project 3d0e7e0llvm/include/llvm/Object Archive.h, llvm/lib/BinaryFormat Magic.cpp

[z/OS] Recognize EBCDIC archive magic (#186854)

`z/OS` archives use the same structural layout as traditional Unix
archives but encode all text fields in EBCDIC. The magic string is the
EBCDIC representation of `\"!<arch>\n\" (hex: 5A 4C 81 99 83 88 6E 15)`.
This patch adds recognition of the `z/OS` archive magic to
`identify_magic()` and defines the `ZOSArchiveMagic` constant. This is
the first in a series of patches adding `z/OS` archive support to LLVM.
DeltaFile
+5-0llvm/lib/BinaryFormat/Magic.cpp
+2-0llvm/unittests/BinaryFormat/TestFileMagic.cpp
+2-0llvm/include/llvm/Object/Archive.h
+9-03 files

FreeBSD/ports 04535dcmail/postfix Makefile

mail/postfix: Enable CDB and LMDB by default

Adding these solves a cross-compatibility problem with Linux distros
that have dropped bdb support.  Per Postfix's document[1] on it, lmdb
and cdb are the replacements for hash and btree, respectively.

[1] http://www.postfix.org/NON_BERKELEYDB_README.html

PR:             293852
DeltaFile
+2-2mail/postfix/Makefile
+2-21 files

pfSense/pfsense 1eba5d9src/etc/inc util.inc

util.inc: refactor `isvalidpid` to use posix_kill instead of exec
DeltaFile
+25-11src/etc/inc/util.inc
+25-111 files

LLVM/project f01f168clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageTest.cpp

address change meaning warnings
DeltaFile
+2-2clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+2-21 files

FreeNAS/freenas 36452b1src/middlewared/middlewared/alembic/versions/26.0 2026-03-10_00-00_add_zfs_tier_config.py, src/middlewared/middlewared/alert/source zfs_tier.py

Add tiering API

This commit modifies the truenas API to wrap around tiering design
in the following ways:

A new namespace zfs.tier. will be added. This contains global
configuration for systemwide tiering settings. Parameters include

- enabled: whether to enable tiering. This feature requries changes
  to global ZFS behavior and we will have various internal checks
  that check this value in datastore extend context methods.

- max_concurrent_jobs: the maximum number of concurrent rewrite
  jobs (tier migrations for existing data).

- min_available_space: point in available space for a dataset where
  tier migrations will error out.

The namespace will also support APIs for managing and querying

    [9 lines not shown]
DeltaFile
+404-0src/middlewared/middlewared/plugins/zfs/tier.py
+207-0src/middlewared/middlewared/api/v26_0_0/zfs_tier.py
+207-0src/middlewared/middlewared/api/v27_0_0/zfs_tier.py
+59-28src/middlewared/middlewared/plugins/system_dataset/hierarchy.py
+39-0src/middlewared/middlewared/alert/source/zfs_tier.py
+31-0src/middlewared/middlewared/alembic/versions/26.0/2026-03-10_00-00_add_zfs_tier_config.py
+947-2829 files not shown
+1,122-3935 files

LLVM/project 294995blibc/src/__support/math CMakeLists.txt

dep
DeltaFile
+1-0libc/src/__support/math/CMakeLists.txt
+1-01 files

LLVM/project 996b622utils/bazel/llvm-project-overlay/libc BUILD.bazel, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] NFC: reformat mlir & libc bazel files (#187094)
DeltaFile
+1-1utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+0-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-22 files

FreeBSD/ports 7842c4fsecurity/py-badkeys distinfo Makefile, security/py-badkeys/files patch-pyproject.toml

security/py-badkeys: Update to 0.0.17

PR:             293757
DeltaFile
+38-0security/py-badkeys/files/patch-pyproject.toml
+3-3security/py-badkeys/distinfo
+1-1security/py-badkeys/Makefile
+42-43 files

LLVM/project aef7e57llvm/lib/Target/DirectX/DirectXIRPasses PointerTypeAnalysis.cpp, llvm/test/CodeGen/DirectX empty-global-ctors.ll

[DirectX] Fix assertion in PointerTypeAnalysis with empty global_ctors (#179034)

When `llvm.global_ctors` has no elements (e.g., when all resources are
unused in a shader library), its initializer is a `zeroinitializer`
(`ConstantAggregateZero`) rather than a `ConstantArray`. The previous
code used `cast<ConstantArray>` which asserts on incompatible types:

> "cast<Ty>() argument of incompatible type!"

This patch uses `dyn_cast` and returns early if the initializer is not a
`ConstantArray`, handling the edge case gracefully.

Fixes #178993.

Co-authored-by: Kaitlin Peng <kaitlinpeng at microsoft.com>
DeltaFile
+16-0llvm/test/CodeGen/DirectX/empty-global-ctors.ll
+7-1llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.cpp
+23-12 files

LLVM/project 385aeb2llvm/include/llvm/Transforms/Utils UnrollLoop.h, llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp

Revert "[LoopUnroll] Remove `computeUnrollCount()`'s return value " (#187035)

Reverts llvm/llvm-project#184529 due to
https://github.com/llvm/llvm-project/pull/184529#issuecomment-4074393657
DeltaFile
+54-75llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+31-0llvm/lib/Transforms/Utils/LoopUnroll.cpp
+14-10llvm/include/llvm/Transforms/Utils/UnrollLoop.h
+12-3llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
+3-2llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+114-905 files

LLVM/project 1977fb9libc/shared/math fmaf.h, libc/src/__support/math fmaf.h CMakeLists.txt

[libc][math] Refactor fmaf implementation to header-only in src/__support/math folder.
DeltaFile
+27-0libc/src/__support/math/fmaf.h
+23-0libc/shared/math/fmaf.h
+9-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/fmaf.cpp
+1-1libc/src/math/generic/CMakeLists.txt
+70-73 files not shown
+73-79 files

LLVM/project 27172d7libc/src/__support/math CMakeLists.txt

dep
DeltaFile
+1-0libc/src/__support/math/CMakeLists.txt
+1-01 files

LLVM/project b1141aelibc/shared/math fmaf16.h, libc/src/__support/math fmaf16.h CMakeLists.txt

[libc][math] Refactor fmaf16 implementation to header-only in src/__support/math folder.
DeltaFile
+33-0libc/src/__support/math/fmaf16.h
+29-0libc/shared/math/fmaf16.h
+9-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/fmaf16.cpp
+1-2libc/src/math/generic/CMakeLists.txt
+82-73 files not shown
+86-79 files

FreeNAS/freenas 26331f3src/middlewared/middlewared/etc_files systemd.py, src/middlewared/middlewared/plugins/device_ netlink_events.py

NAS-140335 / 26.0.0-BETA.1 / fix deadlock and resource leak in 3rd party module (by yocalebo) (by bugclerk) (#18486)

Cached D-Bus router for the SYSTEM bus.

Fixes upstream issues in jeepney's open_dbus_router:
1. `DBusRouter.__init__` eagerly fires a receiver task via
`asyncio.create_task` — we defer construction to first acquire.
2. `open_dbus_router.__aexit__` doesn't wrap `conn.close()` in
try/finally — a router teardown exception leaks the socket.
3. Every `open_dbus_router()` call opens a new connection + auth + Hello
handshake — we reuse a single connection.
4. Per-call routers produce orphaned background tasks that can trigger a
self-deadlock on CPython's `_global_shutdown_lock` when the GC finalizes
them inside `ThreadPoolExecutor.submit()`. A single long-lived router
eliminates this task churn.

Reconnects automatically when the receiver task dies or when any
unexpected error occurs during send (indicating a dead connection).
DBusErrorResponse is excluded from reconnect since it indicates a valid

    [13 lines not shown]
DeltaFile
+718-0src/middlewared/middlewared/plugins/service_/services/dbus_router.py
+7-679src/middlewared/middlewared/plugins/service_/services/base.py
+4-7src/middlewared/middlewared/plugins/interface/dhcp.py
+5-4src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-3src/middlewared/middlewared/etc_files/systemd.py
+2-2src/middlewared/middlewared/plugins/device_/netlink_events.py
+739-6956 files

LLVM/project 803828fmlir/include/mlir/Dialect/GPU/IR GPUBase.td, mlir/lib/Conversion/GPUCommon IndexIntrinsicsOpLowering.cpp

[mlir][GPU] Refactor, improve constant size information handling (#186907)

1. There was duplicate code between the integer range analysis's
handling of static dimension size information (ex. gpu.known_block_dim
attributes) and the handling during the lowering of those operations.
The code from integer range analysis was given a dialect-wide entry
point (and had its types fixed to be more accurate), which the lowering
templates now call.
2. The templated lowering for block/grid/cluster_dim now produces
precise ranges (indicating the constant value) where one is known, and
the lowerings in rocdl (including those for subgroup_id) have been fixed
appropriately.
3. While I was here, the gpu.dimension enum has been moved to GPUBase so
it lives next to the other enums.
4. The pattern that expands subgroup_id operations now adds any thread
dimension bounds it finds in context.

(Claude was used for an initial round of review, I did the main coding
myself.)

    [3 lines not shown]
DeltaFile
+62-57mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
+11-47mlir/lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.cpp
+24-17mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
+34-5mlir/lib/Dialect/GPU/Transforms/SubgroupIdRewriter.cpp
+26-0mlir/test/Dialect/GPU/subgroupId-rewrite.mlir
+21-0mlir/include/mlir/Dialect/GPU/IR/GPUBase.td
+178-1266 files not shown
+203-15412 files

FreeNAS/freenas cf636e8src/middlewared/middlewared/plugins/system_dataset hierarchy.py

Add some ZFS tunings for databases
DeltaFile
+5-0src/middlewared/middlewared/plugins/system_dataset/hierarchy.py
+5-01 files

LLVM/project da86e03utils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fixes ebb3309 (#187090)

This fixes ebb3309975c8e49096d8295a368c93c684bf10f1.
DeltaFile
+86-5utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+86-51 files

FreeNAS/freenas 8f1da96src/middlewared/middlewared/etc_files systemd.py, src/middlewared/middlewared/plugins/device_ netlink_events.py

NAS-140335 / 26.0.0-BETA.2 / fix deadlock and resource leak in 3rd party module (by yocalebo) (#18485)

Cached D-Bus router for the SYSTEM bus.

Fixes upstream issues in jeepney's open_dbus_router:
1. `DBusRouter.__init__` eagerly fires a receiver task via
`asyncio.create_task` — we defer construction to first acquire.
2. `open_dbus_router.__aexit__` doesn't wrap `conn.close()` in
try/finally — a router teardown exception leaks the socket.
3. Every `open_dbus_router()` call opens a new connection + auth + Hello
handshake — we reuse a single connection.
4. Per-call routers produce orphaned background tasks that can trigger a
self-deadlock on CPython's `_global_shutdown_lock` when the GC finalizes
them inside `ThreadPoolExecutor.submit()`. A single long-lived router
eliminates this task churn.

Reconnects automatically when the receiver task dies or when any
unexpected error occurs during send (indicating a dead connection).
DBusErrorResponse is excluded from reconnect since it indicates a valid

    [10 lines not shown]
DeltaFile
+718-0src/middlewared/middlewared/plugins/service_/services/dbus_router.py
+7-684src/middlewared/middlewared/plugins/service_/services/base.py
+4-7src/middlewared/middlewared/plugins/interface/dhcp.py
+5-4src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-3src/middlewared/middlewared/etc_files/systemd.py
+2-2src/middlewared/middlewared/plugins/device_/netlink_events.py
+739-7006 files

LLVM/project bfcc555libc/src/__support/math fma.h

unstatic
DeltaFile
+1-1libc/src/__support/math/fma.h
+1-11 files

LLVM/project 7477045lldb/source/Plugins/Process/Utility LinuxSignals.cpp

[lldb] Fix build on Linux when SEGV_PKUERR is undefined (#186963)

build logs refs:
https://github.com/valord577/nativepkgs/actions/runs/22346192467/job/64661318198
DeltaFile
+3-0lldb/source/Plugins/Process/Utility/LinuxSignals.cpp
+3-01 files

LLVM/project f0dfa36mlir/include/mlir/Dialect/SPIRV/IR SPIRVNonUniformOps.td SPIRVBase.td, mlir/test/Dialect/SPIRV/IR non-uniform-ops.mlir

[mlir][spirv] Add spirv.GroupNonUniformBroadcastFirst Op (#185818)

Add `spirv.GroupNonUniformBroadcastFirst` op and tests.
DeltaFile
+54-0mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
+47-0mlir/test/Dialect/SPIRV/IR/non-uniform-ops.mlir
+7-0mlir/test/Target/SPIRV/non-uniform-ops.mlir
+3-1mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
+111-14 files

FreeNAS/freenas cf7e1f4src/middlewared/middlewared/plugins/service_/services/pseudo misc.py

fix another service
DeltaFile
+1-1src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+1-11 files

LLVM/project 6527dfdlibc/shared/math fma.h, libc/src/__support/math fma.h CMakeLists.txt

[libc][math] Refactor fma implementation to header-only in src/__support/math folder.
DeltaFile
+27-0libc/src/__support/math/fma.h
+23-0libc/shared/math/fma.h
+9-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/fma.cpp
+1-1libc/src/math/generic/CMakeLists.txt
+70-73 files not shown
+73-79 files

FreeNAS/freenas cff2028src/middlewared/middlewared/etc_files systemd.py, src/middlewared/middlewared/plugins/device_ netlink_events.py

NAS-140335 / 27.0.0-BETA.1 / fix deadlock and resource leak in 3rd party module (#18483)

Cached D-Bus router for the SYSTEM bus.

Fixes upstream issues in jeepney's open_dbus_router:
1. `DBusRouter.__init__` eagerly fires a receiver task via
`asyncio.create_task` — we defer construction to first acquire.
2. `open_dbus_router.__aexit__` doesn't wrap `conn.close()` in
try/finally — a router teardown exception leaks the socket.
3. Every `open_dbus_router()` call opens a new connection + auth + Hello
handshake — we reuse a single connection.
4. Per-call routers produce orphaned background tasks that can trigger a
self-deadlock on CPython's `_global_shutdown_lock` when the GC finalizes
them inside `ThreadPoolExecutor.submit()`. A single long-lived router
eliminates this task churn.

Reconnects automatically when the receiver task dies or when any
unexpected error occurs during send (indicating a dead connection).
DBusErrorResponse is excluded from reconnect since it indicates a valid

    [6 lines not shown]
DeltaFile
+718-0src/middlewared/middlewared/plugins/service_/services/dbus_router.py
+7-684src/middlewared/middlewared/plugins/service_/services/base.py
+4-7src/middlewared/middlewared/plugins/interface/dhcp.py
+4-3src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-3src/middlewared/middlewared/etc_files/systemd.py
+2-2src/middlewared/middlewared/plugins/device_/netlink_events.py
+738-6996 files

FreeNAS/freenas 533bfc6

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas cced1bbsrc/middlewared/middlewared/etc_files systemd.py, src/middlewared/middlewared/plugins/device_ netlink_events.py

NAS-140335 / 27.0.0-BETA.1 / fix deadlock and resource leak in 3rd party module (#18483)

Cached D-Bus router for the SYSTEM bus.

Fixes upstream issues in jeepney's open_dbus_router:
1. `DBusRouter.__init__` eagerly fires a receiver task via
`asyncio.create_task` — we defer construction to first acquire.
2. `open_dbus_router.__aexit__` doesn't wrap `conn.close()` in
try/finally — a router teardown exception leaks the socket.
3. Every `open_dbus_router()` call opens a new connection + auth + Hello
handshake — we reuse a single connection.
4. Per-call routers produce orphaned background tasks that can trigger a
self-deadlock on CPython's `_global_shutdown_lock` when the GC finalizes
them inside `ThreadPoolExecutor.submit()`. A single long-lived router
eliminates this task churn.

Reconnects automatically when the receiver task dies or when any
unexpected error occurs during send (indicating a dead connection).
DBusErrorResponse is excluded from reconnect since it indicates a valid

    [3 lines not shown]
DeltaFile
+718-0src/middlewared/middlewared/plugins/service_/services/dbus_router.py
+7-684src/middlewared/middlewared/plugins/service_/services/base.py
+4-7src/middlewared/middlewared/plugins/interface/dhcp.py
+4-3src/middlewared/middlewared/plugins/service_/services/pseudo/misc.py
+3-3src/middlewared/middlewared/etc_files/systemd.py
+2-2src/middlewared/middlewared/plugins/device_/netlink_events.py
+738-6996 files

LLVM/project 18c8b8dclang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen overflow-behavior-types.c

[Clang] Add __ob_trap support for implicit integer sign change (#185772)

The `__ob_trap` type specifier can be used to trap (or warn with sanitizers) when overflow or truncation occurs on the specified type.

There was a gap in coverage for this with the `-fsanitize=implicit-integer-sign-change` sanitizer. Fix this by carrying around `__ob_trap` information through `EmitIntegerSignChange()` which allows us to properly trap or warn.
DeltaFile
+24-4clang/test/CodeGen/overflow-behavior-types.c
+19-5clang/lib/CodeGen/CGExprScalar.cpp
+43-92 files

LLVM/project ebb3309libc/docs/dev syscall_wrapper_refactor.rst, libc/src/__support/OSUtil/linux getrandom.h

[libc] Refactor core Linux syscalls to use syscall_wrappers (#185983)

This patch initiates the refactoring of Linux syscalls as described in
the RFC (https://discourse.llvm.org/t/rfc-linux-syscall-cleanup/87248/).

It introduces a new infrastructure in
`src/__support/OSUtil/linux/syscall_wrappers/` to house header-only
syscall wrappers. These wrappers utilize `ErrorOr` to provide a
consistent, type-safe interface for error handling across the library,
standardizing how syscall return values are converted into
errno-compatible Error objects.

Summary of changes:
- Created the `syscall_wrappers` directory and added `close.h`,
`read.h`, `write.h`, and `open.h`.
- Moved the existing `getrandom.h` into the new `syscall_wrappers`
directory and updated its callers (including HashTable/randomness.h).
- Refactored core entrypoints (`close`, `read`, `write`, `open`) to use
the new wrappers, removing direct `syscall_impl` logic and manual errno

    [9 lines not shown]
DeltaFile
+75-0libc/docs/dev/syscall_wrapper_refactor.rst
+64-0libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+37-0libc/src/__support/OSUtil/linux/syscall_wrappers/open.h
+0-35libc/src/__support/OSUtil/linux/getrandom.h
+33-0libc/src/__support/OSUtil/linux/syscall_wrappers/getrandom.h
+32-0libc/src/__support/OSUtil/linux/syscall_wrappers/read.h
+241-3517 files not shown
+334-9323 files