NetBSD/pkgsrc-wip a1df12e — icu Makefile PLIST, icu/patches patch-configure.ac patch-configure

icu: add upgrade cnadidate
DeltaFile
+275-0icu/PLIST
+182-0icu/Makefile
+77-0icu/patches/patch-config_mh-scoosr5
+47-0icu/patches/patch-common_umutex.h
+45-0icu/patches/patch-configure
+34-0icu/patches/patch-configure.ac
+660-017 files not shown
+964-023 files

LLVM/project f985e17 — llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[LV] Don't introduce UB when rewriting SCEVs with versioned strides. (#236313)

replaceSymbolicStrides rewrites the SCEVs of VPExpandSCEVRecipes in the
entry block using the versioned strides (e.g. Stride == 1). Those
expressions are expanded before the SCEV checks that guarantee the
predicates, so the rewritten expressions must not introduce UB when the
predicates do not hold. For example, the trip count n /u (stride + y)
was rewritten to n /u (y + 1), which divides by zero for y == -1 and
stride != 1, while the original loop is well defined.
DeltaFile
+11-13llvm/test/Transforms/LoopVectorize/version-stride-trip-count-expansion.ll
+9-8llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+3-3llvm/include/llvm/Analysis/ScalarEvolution.h
+23-243 files

LLVM/project 231ecc9 — libc/config/baremetal/hexagon entrypoints.txt

Add tanh to baremetal hexagon entrypoints.
DeltaFile
+1-0libc/config/baremetal/hexagon/entrypoints.txt
+1-01 files

LLVM/project ffcd39c — utils/bazel/llvm-project-overlay/libc/test/src/math/smoke BUILD.bazel

Fix bazel.
DeltaFile
+0-1utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel
+0-11 files

LLVM/project ef79e52 — libc/src/__support/math tanh_double_eval.h

Small simplification using exact_add.
DeltaFile
+10-10libc/src/__support/math/tanh_double_eval.h
+10-101 files

LLVM/project bbe4c81 — libc/src/__support/math CMakeLists.txt tanh_accurate_128.h, libc/test/src/math tanh_test.cpp

[libc][math] Implement double precision tanh correctly rounded to all rounding modes.
DeltaFile
+559-0libc/src/__support/math/tanh_double_eval.h
+221-0libc/src/__support/math/tanh_accurate_128.h
+187-0libc/test/src/math/tanh_test.cpp
+146-0libc/test/src/math/smoke/tanh_test.cpp
+56-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+51-0libc/src/__support/math/CMakeLists.txt
+1,220-025 files not shown
+1,384-131 files

LLVM/project c9f05f1 — libc/config/baremetal/hexagon entrypoints.txt, libc/src/__support/math cosh_double_eval.h

Address review comments: reuse COSH_TINY_BOUND and add hexagon entrypoint.
DeltaFile
+13-12libc/src/__support/math/cosh_double_eval.h
+1-0libc/config/baremetal/hexagon/entrypoints.txt
+14-122 files

LLVM/project d09ce90 — libc/src/__support/math CMakeLists.txt cosh.h, libc/test/src/math cosh_test.cpp

[libc][math] Implement double precision cosh correctly rounded to all rounding modes.

Use shared exp(x) +- exp(-x) evaluations with sinh from https://github.com/llvm/llvm-project/pull/235097.

Assisted-by: Gemini for analysis and refactoring.
DeltaFile
+187-0libc/test/src/math/cosh_test.cpp
+125-0libc/test/src/math/smoke/cosh_test.cpp
+94-0libc/src/__support/math/cosh_double_eval.h
+34-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+34-0libc/src/__support/math/cosh.h
+29-0libc/src/__support/math/CMakeLists.txt
+503-024 files not shown
+631-130 files

LLVM/project 2e41b08 — libc/config/baremetal/hexagon entrypoints.txt

Add sinh to baremetal hexagon entrypoints.
DeltaFile
+1-0libc/config/baremetal/hexagon/entrypoints.txt
+1-01 files

FreeBSD/ports 978b455 — audio/caps-plugins distinfo Makefile, audio/caps-plugins/files patch-dsp_v4f__IIR2.h patch-dsp_v4f.h

audio/caps-plugins: update to 0.9.26

Changelog: http://quitte.de/dsp/caps.html#CHANGES

take maintainership

Event: Works Must Run
DeltaFile
+42-0audio/caps-plugins/files/patch-basics.h
+10-24audio/caps-plugins/Makefile
+16-0audio/caps-plugins/files/patch-dsp_v4f.h
+13-0audio/caps-plugins/files/patch-dsp_v4f__IIR2.h
+3-2audio/caps-plugins/distinfo
+84-265 files

LLVM/project 0bbcb44 — llvm/docs/CommandGuide dsymutil.md, llvm/include/llvm/BinaryFormat MachO.h

[dsymutil] Record dsymutil's version in LC_BUILD_VERSION (#236202)

There is no way to tell which dsymutil produced a dSYM. The compiler
records itself in DW_AT_producer, and the linkers (ld64, lld) record
themselves as a build tool in LC_BUILD_VERSION.

Do the same for dsymutil. Replace the (previously dropped) tool list of
each LC_BUILD_VERSION with a single TOOL_DSYMUTIL entry. Unlike an
Info.plist key, this survives flat output and dSYMs copied out of their
bundle. Re-running dsymutil with --update replaces the entry.

rdar://190920015
DeltaFile
+17-6llvm/test/tools/dsymutil/X86/lc_build_version.test
+9-4llvm/tools/dsymutil/MachOUtils.cpp
+7-1llvm/include/llvm/BinaryFormat/MachO.h
+3-1llvm/docs/CommandGuide/dsymutil.md
+2-0llvm/include/llvm/Object/MachO.h
+38-125 files

LLVM/project 67c2556 — flang/test/HLFIR opt-bufferization-eval_in_mem.fir, flang/test/Lower equivalence-with-host-assoc.f90 host-associated-globals.f90

[flang] Preserve capture metadata for host-associated globals (#233433)

Host-associated globals accessed directly inside internal procedures are
missing `internal_assoc`. For SAVE variables, FIR alias analysis can
then treat a sibling internal call as `NoModRef`, allowing FIR LICM to
hoist loads incorrectly.

Use the host procedure's existing global-capture set when lowering
canonical host globals. Exact symbol identity keeps OpenMP private
copies separate from their originals, and the existing alias-analysis
handling of `internal_assoc` protects the captured storage.

For example:

```fortran
program p
  integer, save :: x = 0
  print *, f()
contains

    [29 lines not shown]
DeltaFile
+82-0flang/test/Lower/host-associated-globals-licm.f90
+38-0flang/test/Lower/OpenMP/host-associated-globals-private.f90
+29-6flang/test/Lower/host-associated-globals.f90
+31-0flang/test/Transforms/licm.fir
+30-0flang/test/HLFIR/opt-bufferization-eval_in_mem.fir
+10-10flang/test/Lower/equivalence-with-host-assoc.f90
+220-168 files not shown
+252-3114 files

LLVM/project a9cd2d2 — llvm/lib/Transforms/Utils LoopPeel.cpp

[LoopPeel] Check compare shape before evaluatePredicate (NFCI). (#236309)

Check if we have an AddRec and a non-AddRec operand before checking the
more expensive isMonotonicPredicate.

Reduces compile-time a bit:
stage1-O3: -0.03%
stage1-ReleaseThinLTO: -0.07%
stage1-ReleaseLTO-g: -0.06%
stage1-aarch64-O3: -0.04%
stage2-O3: -0.05%
stage2-clang: -0.05%


https://llvm-compile-time-tracker.com/compare.php?from=fdfb0ce320ac94fac11de0b126cad2953d32998c&to=447d9acc2872eaad48ef5fb6281f608e2244859f&stat=instructions:u

Assisted-by: Opus 5.5
DeltaFile
+12-15llvm/lib/Transforms/Utils/LoopPeel.cpp
+12-151 files

NextBSD/src ac06108 — . build.sh

Fetch freebsd-kexts on arm64 too (#592)

nextbsd-kernel-extensions now publishes freebsd-kexts-<arch>.tar.gz for
both arches (autofs.kext is on arm64 too, nextbsd-kernel-extensions#7).
Fetch it per arch instead of on amd64 only, failing if it is missing.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+6-6build.sh
+6-61 files

LLVM/project e1a4233 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize runtime-checks-sibling-loop-addrec.ll reuse-lcssa-phi-scev-expansion.ll

[LV] Model memory runtime checks with AddRec bounds in VPlan. (#231132)

Remove the restriction in attachRuntimeChecks that kept the IR-generated
memcheck block when a check group's bounds contain a SCEVAddRecExpr.

VPSCEVExpander now expands AddRecs of loops outside VPlan's scope as
VPInstructions, with only canonical IVs expanded to IR in the plan's
entry, which dominates the check block.

Depends on https://github.com/llvm/llvm-project/pull/230858

PR: https://github.com/llvm/llvm-project/pull/231132
DeltaFile
+65-66llvm/test/Transforms/LoopVectorize/VPlan/memory-checks.ll
+2-18llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+9-10llvm/test/Transforms/LoopVectorize/runtime-checks-sibling-loop-addrec.ll
+9-10llvm/test/Transforms/LoopVectorize/reuse-lcssa-phi-scev-expansion.ll
+85-1044 files

LLVM/project ab6a1a5 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Remove scalar resume phis when creating epilogue markers (NFC). (#236307)

Erase the resume phis in the main plan's scalar preheader directly in
preparePlanForMainVectorLoop, right after creating the ResumeForEpilogue
markers for them, instead of in a separate removeScalarResumePhis step
after the check blocks have been added.
DeltaFile
+5-14llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+5-141 files

FreeBSD/ports b526416 — textproc/tgrep Makefile distinfo

textproc/tgrep: Update to 1.2.5

Changelog: https://github.com/microsoft/tgrep/releases/tag/v1.2.5

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

FreeNAS/freenas 100a1a5 — src/middlewared/middlewared/plugins/service_/services base_interface.py webshare.py

NAS-144806 / 27.0.0 / Handle webshare sidecar units rate limits (#20038)

Discovered while working on
https://github.com/truenas/middleware/pull/20034

We reset rate limits on the systemd units (so that our explicit commands
are not rejected), but not on their auxiliary services. This might
result in partial webshare startup.
DeltaFile
+9-0src/middlewared/middlewared/plugins/service_/services/base.py
+6-0src/middlewared/middlewared/plugins/service_/services/webshare.py
+1-0src/middlewared/middlewared/plugins/service_/services/base_interface.py
+16-03 files

FreeBSD/ports b3af602 — ports-mgmt/portlint Makefile, ports-mgmt/portlint/src portlint.pl

ports-mgmt/portlint: warn when depending on openldap-client directly

Add a check that flags direct dependencies on
net/openldap2*-client or databases/openldap2*-client,
suggesting USES+=ldap instead.  The corresponding
-server port is exempted since that dependency is expected.

PR:             ports/297834
Approved by:    maintainer timeout
DeltaFile
+11-0ports-mgmt/portlint/src/portlint.pl
+1-1ports-mgmt/portlint/Makefile
+12-12 files

LLVM/project a01ce5e — llvm/lib/Target/BPF BPFInstrInfo.td BPFISelLowering.h, llvm/test/CodeGen/BPF atomics-fence.ll atomics-expand.ll

[BPF] Lower the atomic operations that there is no insn for (#235215)

BPF has add, and, or, xor, xchg and cmpxchg on 32 and 64 bits, load
acquire
and store release. The rest is an error:

  atomicrmw xchg ptr %p, i8 %v seq_cst
    unsupported atomic operation, please use 32/64 bit version
  atomicrmw max ptr %p, i64 %v seq_cst
    Cannot select: AtomicLoadMax
  load atomic i64, ptr %p seq_cst, align 8
    sequentially consistent (seq_cst) atomic load/store is not supported
  fence acquire
    Runtime fence is not supported at the moment

With load acquire and store release, -mcpu=v4:
- 8 and 16 bits: the minimal size of cmpxchg is 32 bits. AtomicExpand
widens
and, or, xor, and turns the others into a loop around cmpxchg of the

    [26 lines not shown]
DeltaFile
+99-0llvm/test/CodeGen/BPF/atomics-expand.ll
+58-2llvm/lib/Target/BPF/BPFISelLowering.cpp
+13-0llvm/test/CodeGen/BPF/atomics-fence.ll
+5-0llvm/lib/Target/BPF/BPFISelLowering.h
+2-1llvm/lib/Target/BPF/BPFInstrInfo.td
+177-35 files

LLVM/project d0891a4 — llvm/lib/Transforms/Vectorize VPlanUtils.h VPlanUtils.cpp, llvm/test/Transforms/LoopVectorize expand-scev-shared-subexpressions.ll

[VPlan] Cache SCEV expansions in VPSCEVExpander. (#235983)

Cache expansions in VPSCEVExpander so expressions can be re-used. This
fixes a compile-time regression, where a large amount of time was spent
re-expanding the same sub-expressions.

Fixes https://github.com/llvm/llvm-project/issues/235447.

PR: https://github.com/llvm/llvm-project/pull/235983
DeltaFile
+533-0llvm/test/Transforms/LoopVectorize/expand-scev-shared-subexpressions.ll
+31-0llvm/test/Transforms/LoopVectorize/VPlan/expand-scev-reuse.ll
+25-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+7-7llvm/test/Transforms/LoopVectorize/PowerPC/pr41179.ll
+6-6llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll
+8-1llvm/lib/Transforms/Vectorize/VPlanUtils.h
+610-149 files not shown
+621-2315 files

LLVM/project 6a2d22f — llvm/lib/Target/BPF BPFUnwind.cpp BPFISelDAGToDAG.cpp, llvm/test/CodeGen/BPF sockex2.ll undef-is-zero.ll

[BPF] Select undef and poison as zero (#235216)

An undef or poison value is selected as IMPLICIT_DEF: no insn, the
register
holds what it happens to hold. The verifier rejects a read of a register
that
was not written, whatever is done with the value.

Such values are not a sign of a bug in the source. In

    %e = zext i64 %b to i128
    %m = mul i128 %a, %e

with bits 0-63 of %m in use the upper halves of the operands don't
matter.
They are passed to __multi3() in r2 and r4, which nobody sets: "R4
!read_ok".

Select ISD::UNDEF and ISD::POISON of i32 and i64 as 'rX = 0'. Both get

    [7 lines not shown]
DeltaFile
+64-0llvm/test/CodeGen/BPF/undef-is-zero.ll
+10-10llvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2.ll
+10-10llvm/test/CodeGen/BPF/CORE/offset-reloc-fieldinfo-2-bpfeb.ll
+13-0llvm/lib/Target/BPF/BPFUnwind.cpp
+13-0llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
+1-1llvm/test/CodeGen/BPF/sockex2.ll
+111-216 files

FreeBSD/ports a3e34a0 — lang/rust Makefile

lang/rust: Fix build with CPUTYPE and the WASM option

cc-rs appends the target specific CFLAGS_<target> to the generic CFLAGS
instead of replacing them, so the -march that CPUTYPE adds for the host
was also passed when compiler-builtins' C code is built for
wasm32-unknown-unknown, where clang rejects it:

  clang: error: unsupported option '-march=' for target
  'wasm32-unknown-unknown'

Clear CFLAGS/CXXFLAGS for the bootstrap and pass the flags per target
only, without -march/-mtune/-mcpu for wasm32.  The flags for the host
target are unchanged.

Tested with lang/rust-nightly and CPUTYPE=skylake-avx512.

PR:             ports/299355
Approved by:    maintainer timeout
DeltaFile
+14-2lang/rust/Makefile
+14-21 files

LLVM/project a7cc2f2 — llvm/lib/Target/BPF BPFISelLowering.cpp, llvm/test/CodeGen/BPF unwind-select-arg.ll

[BPF] Set the call frame size of the blocks that a select expands to (#236250)

A select is expanded to a branch and two new blocks. When that happens
between ADJCALLSTACKDOWN and ADJCALLSTACKUP of a call that passes
arguments on the stack, the new blocks have to say how big the call
frame is at their entry. ARM, AVR, LoongArch, M68k, PowerPC, RISC-V do
that. BPF didn't:

  *** Bad machine code: Call frame size on entry does not match value
      computed from predecessor ***
  - function:    f
  - basic block: %bb.5 go
Call frame size on entry 0 does not match value computed from
predecessor 8

unwind-select-arg.ll of #235217 is the first test with such a call. It
fails with -verify-machineinstrs, which is the default in a build with
LLVM_ENABLE_EXPENSIVE_CHECKS. The invoke has nothing to do with it: a
call with six arguments, one of them a bool that is computed, fails the

    [7 lines not shown]
DeltaFile
+6-0llvm/lib/Target/BPF/BPFISelLowering.cpp
+1-1llvm/test/CodeGen/BPF/unwind-select-arg.ll
+7-12 files

LLVM/project 71d23a5 — utils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fixes b6a34fc (#236298)

This fixes b6a34fc9f1181df2cfb7629bed11ed19ab3e2734 (#235780).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=b6a34fc9f1181df2cfb7629bed11ed19ab3e2734

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-01 files

LLVM/project 2d55e50 — mlir/lib/Dialect/Vector/Utils VectorUtils.cpp, mlir/test/Dialect/Linalg/vectorization insert-slice.mlir

[mlir][vector] Check the written dims when folding a write mask (#233244)

`isMaskTriviallyFoldable` compares dest dim `rankDiff + i` with index
`i`, so when the vector has fewer dims than the destination, it checks
dims against the wrong indices. `createWriteOrMaskedWrite` therefore did
not call it when given a permutation map, and kept the mask even when it
is all true. It now passes only the sizes and indices of the dims that
the map selects, and the mask shape, so the check runs for every map.

For example, vectorizing this with `vector_sizes [4, 4]`:

```mlir
%r = tensor.insert_slice %src into %dest[2, 6, 0] [4, 1, 4] [1, 1, 1]
    : tensor<4x4xi32> into tensor<8x8x8xi32>
```

gave a write masked with `vector.create_mask` of sizes 6 and 8 on a
`vector<4x4xi1>`, which is all true. The write is now unmasked.


    [9 lines not shown]
DeltaFile
+40-0mlir/test/Dialect/Linalg/vectorization/insert-slice.mlir
+15-10mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
+55-102 files

OpenBSD/src HWUML80 — usr.bin/rup rup.c

   restore return mistakenly removed in rev 1.32
   found with smatch, ok jan@ millert@
VersionDeltaFile
1.33+4-2usr.bin/rup/rup.c
+4-21 files

NextBSD/src 184323e — . build.sh

Fetch freebsd-kexts on arm64 too

nextbsd-kernel-extensions now publishes freebsd-kexts-<arch>.tar.gz for
both arches (autofs.kext is on arm64 too, nextbsd-kernel-extensions#7).
Fetch it per arch instead of on amd64 only, failing if it is missing.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+6-6build.sh
+6-61 files

LLVM/project b3835a4 — clang/test/SemaTemplate dependent-names.cpp

[clang][Sema] Add regression test for GH91131 (#236018)

The assersion failure, reported in
https://github.com/llvm/llvm-project/issues/91131, doesn't fire since
https://github.com/llvm/llvm-project/pull/92597 ; but that PR does not
include a test for this case.

Add a SemaTemplate regression test that verifies the invalid program
emits the expected diagnostics without crashing.

Note that a minimum patch to fix the original crash would be this:

https://github.com/iam28th/llvm-project/commit/9d498c7e984e7c3a4f38a76d079146c4b290861a

Fixes https://github.com/llvm/llvm-project/issues/91131
DeltaFile
+25-0clang/test/SemaTemplate/dependent-names.cpp
+25-01 files

FreeBSD/src 2c38dc0 — sys/contrib/dev/rtwn rtwn-rtl8188fufw.fw.uu, sys/dev/rtwn/rtl8188f r88f_priv.h r88f_chan.c

rtwn: add support for the RTL8188FTV USB chipset

Add support for the RTL8188FTV chipset to rtwn(4)/rtwn_usb(4).

Differential Revision: https://reviews.freebsd.org/D60875
DeltaFile
+728-0sys/dev/rtwn/rtl8188f/r88f_calib.c
+471-0sys/contrib/dev/rtwn/rtwn-rtl8188fufw.fw.uu
+444-0sys/dev/rtwn/rtl8188f/usb/r88fu_init.c
+358-0sys/dev/rtwn/rtl8188f/r88f_chan.c
+254-0sys/dev/rtwn/rtl8188f/usb/r88fu_attach.c
+214-0sys/dev/rtwn/rtl8188f/r88f_priv.h
+2,469-033 files not shown
+3,336-539 files