FreeBSD/src 208d30a — sys/dev/amdsmu amdsmu.c

amdsmu(4): Fix 32-bit compile

For what is worth, since i386 is going away soon and still does not
compile.

Fixes:          cd96657b6708 ("amdsmu: Print how long system spent in S0i3")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-1sys/dev/amdsmu/amdsmu.c
+3-11 files

FreeBSD/src cd33fd7 — sys/sys module.h

sys/modules.h: Fix too long line

No functional change (intended).

Fixes:          f4b3640475ce ("inline atomics and allow tied modules to inline locks")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/sys/module.h
+1-11 files

LLVM/project d9a8559 —

Retrigger the PR update after a GitHub incident
DeltaFile
+0-00 files

LLVM/project 7c36838 —

Retrigger the PR update after a GitHub incident
DeltaFile
+0-00 files

LLVM/project 44270fa — llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp WebAssemblyMachineFunctionInfo.cpp, llvm/lib/Target/WebAssembly/GISel WebAssemblyCallLowering.cpp

[wasm] Swift Async ABI p1: Pass the swiftasync argument in parameter 0 (#236131)

(see https://github.com/swiftlang/swift/pull/93554) 
This commit attempts to start defining an ABI (WASM) for the async ctx
parameters to async functions. While other targets can rely on the name
of a register for this, in WASM the parameter position is what defines
its name, so an ABI must be position dependent.

The proposal here is to always place the async context in the first
parameter for WASM. (The swifttailcc padding for a missing swiftasync
argument also becomes parameter 0).

The WebAssembly parameter list already differs from the IR parameter
list:
* The backend already synthesizes parameters that are not in the IR
list:
the demoted sret pointer, the varargs buffer pointer, and the swiftself,
  swifterror and swiftasync padding.
* Direct precedent: LowerCall already reorders arguments for an ABI. For

    [10 lines not shown]
DeltaFile
+84-0llvm/test/CodeGen/WebAssembly/swiftasync-first-param.ll
+40-18llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+10-8llvm/test/CodeGen/WebAssembly/swifttailcc.ll
+9-2llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
+11-0llvm/lib/Target/WebAssembly/GISel/WebAssemblyCallLowering.cpp
+7-2llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+161-301 files not shown
+168-307 files

LLVM/project 1dca80e — llvm/lib/CodeGen CodeGenPrepare.cpp, llvm/test/Transforms/CodeGenPrepare/AArch64 strength-reduce-vector-as-data.ll

Fix crashes
DeltaFile
+159-0llvm/test/Transforms/CodeGenPrepare/AArch64/strength-reduce-vector-as-data.ll
+10-1llvm/lib/CodeGen/CodeGenPrepare.cpp
+169-12 files

LLVM/project 796cc10 — offload/include DiagnosticPrinter.h, offload/liboffload/API Diagnostic.td

[Offload][Omp] Split plugin diagnostics into detection & messaging

The plugin interface tracks a allocations and kernels (when TrackAllocationTraces
and TrackNumKernelLaunches are enabled) to emit diagnostic messages.

These messages currently contain OpenMP specific data that needs to be carried
through the Plugin Interface.

This PR splits this support in two pieces: tracking and detection that is
kept inside the plugins, and reporting of the error which is done through
a handler set from libomptarget.

A new diagnostic handler type is added, and the API to associate it to a device
are added to liboffload.

This will allow to handle the OpenMP specific data fromb the libomptarget handler
and remove it from the Plugin Interface (not done in this PR).
DeltaFile
+245-292offload/plugins-nextgen/common/include/ErrorReporting.h
+333-0offload/libompaccsupport/DiagnosticPrinter.cpp
+127-0offload/liboffload/API/Diagnostic.td
+64-0offload/plugins-nextgen/common/src/ErrorReporting.cpp
+28-11offload/plugins-nextgen/common/src/PluginInterface.cpp
+23-0offload/include/DiagnosticPrinter.h
+820-30310 files not shown
+872-30616 files

FreeBSD/ports e4d7e5d — devel/llvm23 Makefile distinfo, devel/llvm23/files patch-llvm_include_llvm_Support_Allocator.h

devel/llvm23: 23.1.5 release

See the annoucement for changes:
    https://discourse.llvm.org/t/llvm-23-1-5-released/92716

Sponsored by:   DARPA, AFRL
DeltaFile
+0-14devel/llvm23/files/patch-llvm_include_llvm_Support_Allocator.h
+3-3devel/llvm23/distinfo
+1-1devel/llvm23/Makefile
+4-183 files

LLVM/project 9f6bc04 — mlir/test/lib/Dialect/Bufferization CMakeLists.txt

[mlir][test] Link MLIRBufferizationTestPasses to MLIRTestDialect directly (#238752)

#236155 removed the explicit test dialect include directories from
MLIRBufferizationTestPasses, relying on the usage requirements of
MLIRTestDialect instead. The library linked MLIRTestDialect via
`mlir_target_link_libraries`, which links libMLIR instead of the given
libraries if `MLIR_LINK_MLIR_DYLIB` is enabled. Since the test dialect
is not part of libMLIR, it was never linked, and its include directories
were never added, causing `TestDialect.h` to not be found.

Link MLIRTestDialect via `LINK_LIBS` like all other test libraries.
DeltaFile
+3-1mlir/test/lib/Dialect/Bufferization/CMakeLists.txt
+3-11 files

LLVM/project 6d1385b — clang/lib/CIR/Dialect/Transforms CIRSimplify.cpp, clang/test/CIR/Transforms simplify-load-in-ternary.cir

[CIR] Run SimplifyConstantLoad in the same driver as the other patterns

CIRSimplify ran SimplifyConstantLoad in a second greedy driver because the
pattern cached a DominanceInfo that the ternary and switch rewrites could
leave stale. Keeping the phases apart needed a second op list, pruned of
the loads the first phase erased, and it left simplifications behind: a
load inside a ternary branch only folds in the second phase, after the
ternary pattern has already rejected that branch as non-trivial.

Share one DominanceInfo between the pass and the pattern and keep it
coherent with a listener that drops a region's cached tree when its
blocks change or the region is erased. All patterns then run in one
driver over one worklist, and the driver itself handles erased loads.

Pass time is unchanged on real inputs and on an 8000-block stress
function (13 ms before and after). Computing dominance per match
instead would take 2.5 s there.

Assisted-by: Claude Code (claude-fable-5-1).
DeltaFile
+36-50clang/lib/CIR/Dialect/Transforms/CIRSimplify.cpp
+27-0clang/test/CIR/Transforms/simplify-load-in-ternary.cir
+63-502 files

LLVM/project 058b683 — mlir/lib/Transforms RemoveDeadValues.cpp, mlir/test/Transforms remove-dead-values.mlir

[mlir] remove dead values: don't remove used symbols

This was hitherto accidental for functions and region-carrying globals, make it
intentional. In a custom dialect, one may have a side effect free global-like
operation with a symbol referenced from elsewhere in the translation unit. We
don't want that to be removed.

Assisted-by: Gemini 4 Argon
DeltaFile
+16-0mlir/test/Transforms/remove-dead-values.mlir
+11-2mlir/lib/Transforms/RemoveDeadValues.cpp
+27-22 files

LLVM/project 387ac28 — libc/test/src/math/smoke cospif16_test.cpp

resolve f16 literals
DeltaFile
+5-2libc/test/src/math/smoke/cospif16_test.cpp
+5-21 files

LLVM/project ca04058 — libcxxabi/src private_typeinfo.cpp private_typeinfo.h

[libc++abi] Split strcmp and non-strcmp dynamic_casts (#230762)

The `strcmp` path is only selected for at the top of the call chain, but
causes significant amounts of overhead, since all functions have to
check for it whenever they compare for equality. Furthermore, the strcmp
case is almost never used, since there has to be a user error detected
for it to kick in, and on most platforms that branch is completely
disabled. By instead having separate virtual functions for the two cases
the performance can be significantly improved. This also removes the
code entirely if `_LIBCXXABI_FORGIVING_DYNAMIC_CAST` is not enabled.
DeltaFile
+111-8libcxxabi/src/private_typeinfo.h
+41-36libcxxabi/src/private_typeinfo.cpp
+152-442 files

LLVM/project cbb296e — libc/src/__support/math cospif16.h

resolve f16 literals
DeltaFile
+8-5libc/src/__support/math/cospif16.h
+8-51 files

LLVM/project bc4e5ed — libc/config/linux/riscv entrypoints.txt, libc/config/linux/x86_64 entrypoints.txt

[libc] Treat reallocarray as an external allocator entrypoint (#236918)

This patch adds `reallocarray` to LLVM libc under `stdlib` as
standardized in POSIX.1-2024.

Following maintainer discussion, `reallocarray` is treated as an
external allocator entrypoint (similar to `malloc` and `realloc`),
backed by the underlying allocator (e.g. Scudo):
- Adds `reallocarray` declaration to `libc/include/stdlib-malloc.yaml`
under the POSIX standard.
- Adds `reallocarray` to `libc/utils/docgen/stdlib.yaml` tracking
POSIX.1-2024.
- Declares the external entrypoint in `libc/src/stdlib/CMakeLists.txt`
and `libc/src/stdlib/reallocarray.h`.
- Adds `reallocarray` to external entrypoints across Linux targets
(`x86_64`, `aarch64`, `riscv`).

Fixes #236898.
DeltaFile
+26-0libc/src/stdlib/reallocarray.h
+8-0libc/src/stdlib/CMakeLists.txt
+1-2libc/include/stdlib-malloc.yaml
+2-0libc/utils/docgen/stdlib.yaml
+1-0libc/config/linux/x86_64/entrypoints.txt
+1-0libc/config/linux/riscv/entrypoints.txt
+39-21 files not shown
+40-27 files

LLVM/project f6befee — mlir/test/lib/Dialect/Bufferization CMakeLists.txt

[mlir][test] Link MLIRBufferizationTestPasses to MLIRTestDialect directly

#236155 removed the explicit test dialect include directories from
MLIRBufferizationTestPasses, relying on the usage requirements of
MLIRTestDialect instead. The library linked MLIRTestDialect via
`mlir_target_link_libraries`, which links libMLIR instead of the given
libraries if `MLIR_LINK_MLIR_DYLIB` is enabled. Since the test dialect
is not part of libMLIR, it was never linked, and its include directories
were never added, causing `TestDialect.h` to not be found.

Link MLIRTestDialect via `LINK_LIBS` like all other test libraries.
DeltaFile
+3-1mlir/test/lib/Dialect/Bufferization/CMakeLists.txt
+3-11 files

LLVM/project dad1c82 — libc/src/math/generic modff80.cpp

nits
DeltaFile
+2-0libc/src/math/generic/modff80.cpp
+2-01 files

LLVM/project 096a090 — libc/src/__support/math CMakeLists.txt modff80.h, libc/test/src/math/smoke CMakeLists.txt modff80_test.cpp

nits
DeltaFile
+2-2libc/src/__support/math/CMakeLists.txt
+3-1libc/src/__support/math/modff80.h
+3-0libc/test/src/math/smoke/modff80_test.cpp
+1-0libc/test/src/math/smoke/CMakeLists.txt
+9-34 files

LLVM/project a27d099 —

clang-format
DeltaFile
+0-00 files

LLVM/project b701390 — . do_commit_mantissa_manip.py

clean helper scripts
DeltaFile
+0-31do_commit_mantissa_manip.py
+0-311 files

LLVM/project 7c5fdb5 — . do_commit_mantissa_manip.py, libc/shared/math modff80.h

adds modff80 function
DeltaFile
+31-0do_commit_mantissa_manip.py
+27-0libc/src/__support/math/modff80.h
+24-0libc/shared/math/modff80.h
+24-0libc/src/math/generic/modff80.cpp
+21-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+21-0libc/src/math/modff80.h
+148-025 files not shown
+229-131 files

LLVM/project 8471556 — libc/src/math/generic scalbnf80.cpp scalblnf80.cpp

nits
DeltaFile
+2-0libc/src/math/generic/scalbnf80.cpp
+2-0libc/src/math/generic/scalblnf80.cpp
+2-0libc/src/math/generic/ldexpf80.cpp
+6-03 files

LLVM/project 5229eb1 — . do_commit_exp_scaling.py, libc/src/__support/math scalbnf80.h scalblnf80.h

nits
DeltaFile
+0-31do_commit_exp_scaling.py
+22-0utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+6-6libc/src/__support/math/CMakeLists.txt
+3-3libc/src/__support/math/ldexpf80.h
+3-1libc/src/__support/math/scalbnf80.h
+3-1libc/src/__support/math/scalblnf80.h
+37-424 files not shown
+49-4210 files

LLVM/project 43e5d05 — libc/src/math scalbnf80.h, libc/src/math/generic scalbnf80.cpp scalblnf80.cpp

clang-format
DeltaFile
+1-2libc/src/math/generic/scalbnf80.cpp
+1-2libc/src/math/generic/scalblnf80.cpp
+2-1libc/test/src/math/smoke/scalbnf80_test.cpp
+2-1libc/test/src/math/smoke/scalblnf80_test.cpp
+2-1libc/test/shared/shared_math_test.cpp
+2-1libc/src/math/scalbnf80.h
+10-81 files not shown
+11-107 files

LLVM/project ab7b7dd — libc/src/__support/math scalblnf80.h scalbnf80.h, libc/src/math/generic CMakeLists.txt

adds ldexpf80, scalbnf80, scalblnf80
DeltaFile
+65-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+36-0libc/test/src/math/smoke/CMakeLists.txt
+33-0libc/src/math/generic/CMakeLists.txt
+32-0libc/src/__support/math/CMakeLists.txt
+31-0libc/src/__support/math/scalblnf80.h
+31-0libc/src/__support/math/scalbnf80.h
+228-035 files not shown
+603-341 files

LLVM/project 12fac18 — libc/src/__support/math CMakeLists.txt frexpf80.h, utils/bazel/llvm-project-overlay/libc BUILD.bazel

cast from f128
DeltaFile
+6-1libc/src/__support/math/frexpf80.h
+2-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+2-0libc/src/__support/math/CMakeLists.txt
+10-13 files

LLVM/project 71294e8 — . do_commit_exp_decomp.py, libc/src/__support/math logbf80.h llogbf80.h

nits
DeltaFile
+40-0libc/test/src/math/smoke/CMakeLists.txt
+0-31do_commit_exp_decomp.py
+8-8libc/src/__support/math/CMakeLists.txt
+3-4libc/src/__support/math/logbf80.h
+3-4libc/src/__support/math/llogbf80.h
+3-4libc/src/__support/math/ilogbf80.h
+57-519 files not shown
+80-5915 files

LLVM/project e3e914b — libc/src/__support/math logbf80.h, libc/src/math/generic logbf80.cpp frexpf80.cpp

clang-format
DeltaFile
+1-3libc/src/__support/math/logbf80.h
+1-2libc/src/math/generic/logbf80.cpp
+1-2libc/src/math/generic/frexpf80.cpp
+3-73 files

LLVM/project 8e52bf5 — . do_commit_exp_decomp.py, libc/src/__support/math logbf80.h llogbf80.h

adds frexpf80, ilogbf80, llogbf80, logbf80
DeltaFile
+84-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+44-0libc/src/math/generic/CMakeLists.txt
+40-0libc/src/__support/math/CMakeLists.txt
+31-0do_commit_exp_decomp.py
+29-0libc/src/__support/math/logbf80.h
+29-0libc/src/__support/math/llogbf80.h
+257-040 files not shown
+743-446 files

LLVM/project 86ee580 — libc/shared math.h, libc/src/math/generic canonicalizef80.cpp

clang-format
DeltaFile
+4-4libc/shared/math.h
+1-1libc/src/math/generic/canonicalizef80.cpp
+5-52 files