LLVM/project 257eca3 — llvm/lib/Transforms/Scalar SROA.cpp, llvm/test/Transforms/SROA memory-metadata.ll

[SROA] Use shared memory metadata propagation
DeltaFile
+44-87llvm/lib/Transforms/Scalar/SROA.cpp
+31-27llvm/test/Transforms/SROA/memory-metadata.ll
+75-1142 files

LLVM/project 91cce4d — llvm/test/Transforms/SROA memory-metadata.ll

[SROA] Add memory metadata tests
DeltaFile
+223-0llvm/test/Transforms/SROA/memory-metadata.ll
+223-01 files

LLVM/project 6486a6e — llvm/lib/Transforms/InstCombine InstCombineCalls.cpp InstCombineLoadStoreAlloca.cpp, llvm/test/Transforms/InstCombine storemerge-metadata.ll memory-cache-hint.ll

[InstCombine] Use shared memory metadata propagation
DeltaFile
+12-62llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+28-24llvm/test/Transforms/InstCombine/memory-metadata.ll
+12-22llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+11-8llvm/test/Transforms/InstCombine/memory-cache-hint.ll
+11-7llvm/test/Transforms/InstCombine/storemerge-metadata.ll
+74-1235 files

LLVM/project 4b323dc — llvm/test/Transforms/InstCombine ptr-replace-alloca.ll masked_intrinsics_keep_metadata.ll

[InstCombine] Add memory metadata tests
DeltaFile
+259-0llvm/test/Transforms/InstCombine/memory-metadata.ll
+220-0llvm/test/Transforms/InstCombine/storemerge-metadata.ll
+63-0llvm/test/Transforms/InstCombine/memory-cache-hint.ll
+19-0llvm/test/Transforms/InstCombine/masked_intrinsics_keep_metadata.ll
+1-3llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
+562-35 files

LLVM/project daf72f1 — llvm/lib/Analysis MetadataUtils.cpp, llvm/test/Transforms/InstCombine storemerge-metadata.ll memory-metadata.ll

[Analysis] Split memory metadata API from transform migrations
DeltaFile
+0-248llvm/test/Transforms/InstCombine/memory-metadata.ll
+0-232llvm/test/Transforms/VectorCombine/memory-metadata.ll
+0-220llvm/test/Transforms/SROA/memory-metadata.ll
+0-217llvm/test/Transforms/InstCombine/storemerge-metadata.ll
+0-168llvm/test/Transforms/Scalarizer/memory-metadata.ll
+117-42llvm/lib/Analysis/MetadataUtils.cpp
+117-1,12722 files not shown
+570-1,77528 files

LLVM/project 02a0148 — llvm/include/llvm/Analysis MetadataUtils.h, llvm/lib/Analysis MetadataUtils.cpp

[Analysis] Add metadata propagation for replacement memory accesses
DeltaFile
+504-0llvm/unittests/Analysis/MetadataUtilsTest.cpp
+259-0llvm/lib/Analysis/MetadataUtils.cpp
+28-16llvm/include/llvm/Analysis/MetadataUtils.h
+1-0llvm/unittests/Analysis/CMakeLists.txt
+792-164 files

LLVM/project 9a4e295 — llvm/include/llvm/Analysis VectorUtils.h, llvm/lib/Analysis VectorUtils.cpp

[Analysis] Preserve metadata declarations through existing headers
DeltaFile
+1-1llvm/lib/Transforms/Utils/Local.cpp
+1-1llvm/lib/Analysis/VectorUtils.cpp
+1-0llvm/include/llvm/Analysis/VectorUtils.h
+3-23 files

LLVM/project 76cb1d8 — llvm/include/llvm/Analysis VectorUtils.h MetadataUtils.h, llvm/include/llvm/Transforms/Utils Local.h

[Analysis] Consolidate metadata utilities (NFC)
DeltaFile
+493-0llvm/lib/Analysis/MetadataUtils.cpp
+1-305llvm/lib/Transforms/Utils/Local.cpp
+1-162llvm/lib/Analysis/VectorUtils.cpp
+88-0llvm/include/llvm/Analysis/MetadataUtils.h
+1-32llvm/include/llvm/Transforms/Utils/Local.h
+0-28llvm/include/llvm/Analysis/VectorUtils.h
+584-5274 files not shown
+588-52710 files

LLVM/project 0a262e7 — llvm/lib/Analysis TypeBasedAliasAnalysis.cpp, llvm/test/Transforms/SROA tbaa-field-coverage.ll

[TBAA] Preserve tags when an access ends within a field
DeltaFile
+15-2llvm/unittests/Analysis/TBAATest.cpp
+3-2llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
+2-2llvm/test/Transforms/SROA/tbaa-field-coverage.ll
+20-63 files

LLVM/project 944c9f4 — llvm/test/Transforms/SROA tbaa-field-coverage.ll

[SROA] Add TBAA field coverage test
DeltaFile
+36-0llvm/test/Transforms/SROA/tbaa-field-coverage.ll
+36-01 files

LLVM/project 65406a3 — cross-project-tests/intrinsic-header-tests riscv_packed_simd.c, llvm/lib/Target/RISCV RISCVInstrInfoP.td RISCVISelLowering.cpp

[RISCV][P-ext] Recognize merge when the mask is constant. (#241110)

If the mask is a constant, we will likely have (or (and X, C), (and X,
~C)).
The isel pattern match expect to see a not operation so we will
miss this pattern.

Add a DAGCombine to detect the inverse constants and form a
RISCVISD::MERGE.

I'm a little worried we may end up adding more DAGCombines to turn MERGE
back into logical operations if we find the other operands are constants
later. I had to do this combine early to catch constants before they can
become constant pools.

Assisted-by: Claude
DeltaFile
+303-0llvm/test/CodeGen/RISCV/rvp-merge.ll
+29-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+21-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+1-2cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c
+354-24 files

LLVM/project 80d7de9 — llvm/lib/Transforms/Scalar ConstraintElimination.cpp, llvm/test/Transforms/ConstraintElimination uadd-with-overflow.ll usub-with-overflow.ll

Revert "[ConstraintElim] Add guarded add/sub.with.overflow results as… (#243655)

This reverts commit 07a94e61110e600d82ddabf1680de6f9728296c3.

#227820 misscompiles.
DeltaFile
+0-249llvm/test/Transforms/ConstraintElimination/sadd-with-overflow.ll
+0-35llvm/test/Transforms/ConstraintElimination/ssub-with-overflow.ll
+4-28llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
+0-31llvm/test/Transforms/ConstraintElimination/usub-with-overflow.ll
+0-30llvm/test/Transforms/ConstraintElimination/uadd-with-overflow.ll
+4-3735 files

LLVM/project 74b4e02 — libc/test/src/wchar swprintf_test.cpp, llvm/test/tools/llvm-mca/AArch64/Cortex A53-basic-instructions.s A53-neon-instructions.s

Merge cascade

LLM-aided
DeltaFile
+1,192-20,418utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6,864-0utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+3,686-0utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+1,495-1,493llvm/test/tools/llvm-mca/AArch64/Cortex/A53-basic-instructions.s
+18,613-24,1533,411 files not shown
+156,246-80,6283,417 files

LLVM/project 0c64265 — libc/test/src/wchar swprintf_test.cpp, llvm/test/tools/llvm-mca/AArch64/Cortex A53-basic-instructions.s A53-neon-instructions.s

Merge cascade

LLM-aided
DeltaFile
+1,192-20,418utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6,864-0utils/bazel/llvm-project-overlay/libc/src/__support/math/BUILD.bazel
+2,239-2,237llvm/test/tools/llvm-mca/AArch64/Cortex/A53-neon-instructions.s
+3,686-0utils/bazel/llvm-project-overlay/libc/src/math/BUILD.bazel
+3,137-5libc/test/src/wchar/swprintf_test.cpp
+1,495-1,493llvm/test/tools/llvm-mca/AArch64/Cortex/A53-basic-instructions.s
+18,613-24,1533,411 files not shown
+156,252-80,6283,417 files

LLVM/project 3011c3e — llvm/lib/CodeGen MachineCSE.cpp, llvm/test/CodeGen/AArch64 machine-cse-physreg-kill-flags.mir

MachineCSE: Clear physreg kill flags locally (#240274)

Avoid using clearKillFlags which is an expensive use list
walk. Instead of clearing every kill of the implicitly defined
physical register across the function when CSEing across blocks, clear
only the kills between the kept instruction and the eliminated
one. Add a MIR test showing the kill after the eliminated instruction
is now preserved.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+66-0llvm/test/CodeGen/AArch64/machine-cse-physreg-kill-flags.mir
+8-6llvm/lib/CodeGen/MachineCSE.cpp
+74-62 files

LLVM/project 8ad3753 — lldb/source/ValueObject ValueObjectVariable.cpp, lldb/test/API/lang/c/zero_size_variables Makefile main.c

[lldb] Let variables of zero-size types have no location (#243284)

Currently ValueObjectVariable reports an error for a variable whose
location can't be evaluated, or whose constant data is empty, even if
objects of the variable's type occupy no memory. For example, at -O2
Clang describes a parameter of an empty struct type without a location,
and LLDB shows it as "<no location, value may have been optimized out>",
although there is no value to show.

This patch fixes this by treating such a variable as valid, with its
type but no data, when its location can't be evaluated or its constant
data is empty.

Assisted-by: Claude
DeltaFile
+23-0lldb/source/ValueObject/ValueObjectVariable.cpp
+21-0lldb/test/API/lang/c/zero_size_variables/TestCZeroSizeVariables.py
+14-0lldb/test/API/lang/c/zero_size_variables/main.c
+6-0lldb/test/API/lang/c/zero_size_variables/Makefile
+64-04 files

LLVM/project 08e570c — llvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG switch-dead-default.ll

[SimplifyCFG] Mark weights unknown in turnSwitchRangeIntoICmp (#243617)

In the test case, we would end up emitting a branch with no profile
information if the original switch had an unknown profile attached to
it. Propagate the unknown profile to keep profcheck happy.

Also refactor the checks slightly for the profile propagation. The
weight count being the same as the number of cases + 1 on the switch is
an IR invariant enforced by the verifier.
DeltaFile
+37-0llvm/test/Transforms/SimplifyCFG/switch-dead-default.ll
+14-15llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+51-152 files

FreeNAS/freenas 462f546 — src/freenas/usr/lib/modprobe.d truenas.conf

NAS-145306 / 27.1.0 / Tune SPL large allocations, drop default ZFS tunable (by amotin) (#20252)

Our kernels' larger `MAX_ORDER` raises `spl_kmem_alloc_max` from 1MB to
8-16MB. kmem/vmem allocations of that size then try physically
contiguous memory and wake `kswapd`, which on fragmented memory may
evict a large part of the ARC to satisfy them. Restore the usual 1MB
limit, above which SPL uses vmalloc directly.

zfs_arc_shrinker_limit=0 is the default since ZFS 2.3.

Original PR: https://github.com/truenas/middleware/pull/20251

Co-authored-by: Alexander Motin <alexander.motin at TrueNAS.com>
DeltaFile
+2-2src/freenas/usr/lib/modprobe.d/truenas.conf
+2-21 files

LLVM/project 0ca45f4 — libc/include stdio.yaml, libc/src/stdio getdelim.h

[libc] implement getdelim (#243660)

Add the getdelim function. Implementation was done when adding getline
in PR #242975. This PR mostly adds tests, which are somewhat based on
the getline tests. In future they should be unified or at least made
more similar.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+508-0libc/test/src/stdio/getdelim_test.cpp
+41-0libc/src/stdio/generic/getdelim.cpp
+33-0libc/test/src/stdio/CMakeLists.txt
+29-0libc/src/stdio/getdelim.h
+19-0libc/src/stdio/generic/CMakeLists.txt
+9-0libc/include/stdio.yaml
+639-04 files not shown
+643-010 files

LLVM/project 8eca085 — llvm/lib/CodeGen/SelectionDAG LegalizeTypes.cpp SelectionDAG.cpp, llvm/test/CodeGen/RISCV riscv-f16-soft-promote-flags.ll

[SelectionDAG][LegalizeTypes] Fix f16 soft promotion flag leak in CSE and RemapValue (#239154)

Fixes  #237719
Fixes a miscompilation bug in LLVM where fast-math flags (specifically
nnan) incorrectly leaked during 16-bit float (f16) soft-promotion on
architectures without native half-precision support (such as RISC-V
without Zfh).
Intersect SDNodeFlags upon node reuse in
SelectionDAG::UpdateNodeOperands and DAGTypeLegalizer::RemapValue.
DeltaFile
+93-0llvm/test/CodeGen/RISCV/riscv-f16-soft-promote-flags.ll
+9-3llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+4-1llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+106-43 files

FreeNAS/freenas 7b742f7 — src/freenas/usr/lib/modprobe.d truenas.conf

NAS-145306 / 28.0.0-BETA.1 / Tune SPL large allocations, drop default ZFS tunable (#20251)

Our kernels' larger `MAX_ORDER` raises `spl_kmem_alloc_max` from 1MB to
8-16MB. kmem/vmem allocations of that size then try physically
contiguous memory and wake `kswapd`, which on fragmented memory may
evict a large part of the ARC to satisfy them. Restore the usual 1MB
limit, above which SPL uses vmalloc directly.

zfs_arc_shrinker_limit=0 is the default since ZFS 2.3.
DeltaFile
+2-2src/freenas/usr/lib/modprobe.d/truenas.conf
+2-21 files

LLVM/project 07a8fd0 — llvm/unittests/Analysis MetadataUtilsTest.cpp

[MetadataUtils] Use nondeprecated IRBuilder constructor in tests
DeltaFile
+1-1llvm/unittests/Analysis/MetadataUtilsTest.cpp
+1-11 files

LLVM/project fd95fe7 — llvm/include/llvm/Target Target.td

[nspr] update
DeltaFile
+4-5llvm/include/llvm/Target/Target.td
+4-51 files

LLVM/project 61a7ed5 — clang/test/Driver fsanitize-ignorelist.c

Add positive driver test for older versions

Created using spr 2.0.0-beta.2
DeltaFile
+6-0clang/test/Driver/fsanitize-ignorelist.c
+6-01 files

FreeBSD/ports 4766fe5 — x11/ashell Makefile distinfo

x11/ashell: Update to 0.12.1

Changelog: https://github.com/MalpenZibo/ashell/blob/0.12.1/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/ashell/distinfo
+1-1x11/ashell/Makefile
+4-42 files

LLVM/project b9828af — libc/src/__support/FPUtil CMakeLists.txt polyeval.h, libc/test/src/__support/FPUtil CMakeLists.txt polyeval_test.cpp

[libc][math] Expand polyeval.h with array, loop, and Estrin evaluation.

Add array-based, non-unrolled loop, and right-heavy Estrin polynomial
evaluation helpers to fputil:
- Add array overloads with optional OFFSET template parameter for
  polyeval and altpolyeval, using sub_multiply for altpolyeval and
  supporting both value (<= sizeof(double)) and const-ref (> sizeof(double))
  coefficient types.
- Add loop_polyeval and loop_altpolyeval with LIBC_LOOP_NOUNROLL for
  code-size-sensitive evaluations.
- Add estrin_polyeval (array and variadic overloads) using a precomputed
  dyadic power table and a minimum-depth right-heavy binary tree.
- Add unit tests in polyeval_test.cpp covering float, double,
  DoubleDouble, DyadicFloat<128>, and Frac128 across rounding modes,
  constexpr evaluation, and evaluation-order sensitivity.
DeltaFile
+518-0libc/test/src/__support/FPUtil/polyeval_test.cpp
+354-45libc/src/__support/FPUtil/polyeval.h
+14-0libc/test/src/__support/FPUtil/CMakeLists.txt
+13-0utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
+4-0libc/src/__support/FPUtil/CMakeLists.txt
+2-0utils/bazel/llvm-project-overlay/libc/src/__support/FPUtil/BUILD.bazel
+905-456 files

LLVM/project 5f67339 — lldb/include/lldb/Target LanguageRuntime.h, lldb/source/ValueObject ValueObjectChild.cpp

[lldb] Let language runtimes fix up pointers to instances (NFC) (#243261)

Currently ValueObjectChild uses the pointer value of a parent whose
instances are pointers as the address of the instance. A language
runtime that stores extra information in the spare bits of such
pointers, or that refers to some instances indirectly (for example,
Swift does for unowned references to Objective-C objects) has no way to
correct the address.

This patch fixes this by adding LanguageRuntime::FixupPointerValue(),
which ValueObjectChild calls for parents whose type has
eTypeInstanceIsPointer. No type system in LLVM sets that flag yet.

Assisted-by: Claude
DeltaFile
+18-1lldb/source/ValueObject/ValueObjectChild.cpp
+10-0lldb/include/lldb/Target/LanguageRuntime.h
+28-12 files

OpenBSD/src nkXtdOE — sys/dev/pv if_vio.c

   vio(4): adjust hardmtu and sizes by vlan tag length

   ok sf@
VersionDeltaFile
1.84+6-5sys/dev/pv/if_vio.c
+6-51 files

HardenedBSD/src 5824f5e — tests/sys/netinet tcp_oob.c, tests/sys/pmc pmc_ss_test.c pmc_perf_test.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+502-0tests/sys/pmc/amd/pmc_ibs_test.c
+338-0tests/sys/pmc/amd/pmc_ibs_fetch_op_test.c
+333-0tests/sys/pmc/pmc_perf_test.c
+311-0tests/sys/pmc/pmc_ss_test.c
+303-0tests/sys/netinet/tcp_oob.c
+286-0tests/sys/pmc/amd/pmc_rowalloc_test.c
+2,073-0156 files not shown
+6,099-934162 files

HardenedBSD/src d7f4705 — sys/kern vfs_vnops.c, tests/sys/file fspacectl_test.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+28-3sys/kern/vfs_vnops.c
+27-0tests/sys/file/fspacectl_test.c
+12-9usr.sbin/traceroute/traceroute.8
+14-7tests/sys/kern/ssl_sendfile.c
+15-3usr.sbin/syslogd/tests/syslogd_format_test_common.sh
+18-0usr.sbin/bhyve/bhyverun.c
+114-2225 files not shown
+223-5631 files