LLVM/project fe1fc78llvm/include/llvm/ADT SmallVector.h

[SmallVector] Out-of-line the trivially-copyable push_back grow path (#206213)

In the approximately trivially-copyable specialization, push_back's grow
path does not early return. Both Clang and GCC likely keep `this` and
`Elt` live across the out-of-line `grow_pod` call, saving and restoring
them in the prologue/epilogue. Shrink wrapping can't sink it (the saved
values are used in the store block the fast path also reaches).

Move the grow-and-store into a noinline `growAndPushBack` helper and
tail call it. The fast path needs no callee-saved registers.
`push_back(int)` drops from 14 to 7 instructions on x86-64.

```
// void vec_pb_int(llvm::SmallVectorImpl<int>&v, int x){ v.push_back(x); }

        mov     eax, dword ptr [rdi + 8]
        cmp     eax, dword ptr [rdi + 12]
        jae     _ZN4llvm23SmallVectorTemplateBaseIiLb1EE15growAndPushBackEi # TAILCALL
        mov     rcx, qword ptr [rdi]

    [12 lines not shown]
DeltaFile
+13-2llvm/include/llvm/ADT/SmallVector.h
+13-21 files

LLVM/project c6b0a8dlibcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members get_long_double_zh_CN.pass.cpp, libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members put_long_double_zh_CN.pass.cpp

[libc++][FreeBSD] Fix localization test on FreeBSD (#186066)

Some ifdefs are missing so that we try to add it back and allow test to
run.
DeltaFile
+20-22libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_zh_CN.pass.cpp
+12-14libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_zh_CN.pass.cpp
+2-4libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/pos_format.pass.cpp
+2-4libcxx/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/neg_format.pass.cpp
+2-4libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp
+1-3libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp
+39-513 files not shown
+43-579 files

LLVM/project d02dbafllvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn build] Port 78af5e2b68da (#206268)
DeltaFile
+3-4llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+3-41 files

LLVM/project cb962bellvm/utils/gn/secondary/lldb/source/Core BUILD.gn, llvm/utils/gn/secondary/lldb/source/Utility BUILD.gn

[gn build] Port 2ceab13545c2 (#206267)
DeltaFile
+0-1llvm/utils/gn/secondary/lldb/source/Utility/BUILD.gn
+1-0llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
+1-12 files

LLVM/project e35ef5cllvm/utils/gn/secondary/llvm/lib/Target/Hexagon BUILD.gn

[gn build] Port 1485386b78dc (#206266)
DeltaFile
+2-0llvm/utils/gn/secondary/llvm/lib/Target/Hexagon/BUILD.gn
+2-01 files

LLVM/project 3ad436ellvm/utils/gn/secondary/lldb/source/Host BUILD.gn

[gn] port 049448403c7b (#206265)
DeltaFile
+3-1llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
+3-11 files

LLVM/project f99a584bolt/test/X86 infer_no_exits.test

[BOLT] Work around BSD sed's lack of in-place editing support (#206183)

BSD sed does not implement `-i` the same way as GNU sed. Use a
copy-and-replace approach instead of in-place editing to ensure
compatibility.
DeltaFile
+2-1bolt/test/X86/infer_no_exits.test
+2-11 files

LLVM/project d7b8c61llvm/utils/gn/secondary/libcxx/include BUILD.gn

[gn] use `sources` instead of `inputs` for libc++ header copy action (#206263)

`sources` and `inputs` have the same semantics for GN action targets,
but the sync script can only handle `sources`.

Follow-up to cd98648925531663.
DeltaFile
+2-2llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+2-21 files

LLVM/project 3992e30libcxx/include/__random random_device.h

[libc++][NFC] Mark random_device::__padding_ as [[maybe_unused]] (#206248)

Instead of pushing and popping warnings we can just mark the offending
member as `[[maybe_unused]]`, improving compile times a bit and
simplifying the code.
DeltaFile
+1-5libcxx/include/__random/random_device.h
+1-51 files

OpenBSD/src Q6odCKLlib/libc/asr getaddrinfo_async.c

   Revert rev 1.68 as it breaks resolution of literal IP addresses

   Reported by matthieu@
VersionDeltaFile
1.70+9-10lib/libc/asr/getaddrinfo_async.c
+9-101 files

NetBSD/src Pks83Gdsys/dev/pci virtio.c

   Pull up following revision(s) (requested by riastradh in ticket #1280):

        sys/dev/pci/virtio.c: revision 1.85

   virtio(4): Add missing BUS_DMASYNC_PREREAD operations.

   And one missing BUS_DMASYNC_POSTREAD operation.
   With this change, loads from vq->vq_used->flags (which occur
   immediately after a transfer is submitted to test whether we need to
   kick the host device) is separated by a PREREAD/POSTREAD cycle from
   loads from vq->vq_used->idx (which occur when we think a transfer may
   have completed, e.g. upon receiving an interrupt, to test whether it
   has, in fact, completed).

   Additionally, with this change, consecutive loads from
   *vq->vq_avail_event are separated by a PREREAD/POSTREAD cycle.
   Should fix virtio(4) issues on m68k and other related architectures
   like mips and armv<7:
   PR kern/60144: virtio(4) cache coherence issue

    [152 lines not shown]
VersionDeltaFile
1.63.2.8+12-4sys/dev/pci/virtio.c
+12-41 files

FreeBSD/src 21e9413usr.sbin/ctld ctld.cc kernel.cc

ctld: Cleanup redundant handling of duplicate kernel ports

Sponsored by:   Chelsio Communications
DeltaFile
+1-13usr.sbin/ctld/ctld.cc
+1-6usr.sbin/ctld/kernel.cc
+0-1usr.sbin/ctld/ctld.hh
+2-203 files

FreeBSD/src 4907d1cusr.sbin/ctld ctld.cc kernel.cc

ctld: Normalize physical port names

Don't require ioctl port names to be fully expanded as this
contradicts the syntax documented in the ctl.conf(5).  However, don't
require users to exactly guess when pp or vp can be omitted.  Instead,
normalize all physical port names by parsing any port name with a pp
or vp value and reformatting them to a standardized format.  This
format is also used when generating names for kernel-enumerated ports.

Reported by:    Seth Hoffert <seth.hoffert at gmail.com>
Fixes:          caef3c50ac06 ("ctld: Refactor ioctl port handling")
Sponsored by:   Chelsio Communications
DeltaFile
+50-9usr.sbin/ctld/ctld.cc
+1-4usr.sbin/ctld/kernel.cc
+51-132 files

OpenBSD/ports yZ4zHqgsysutils/colorls distinfo Makefile

   sysutils/colorls: sync with OpenBSD 7.9
VersionDeltaFile
1.29+2-2sysutils/colorls/distinfo
1.48+1-1sysutils/colorls/Makefile
+3-32 files

NetBSD/pkgsrc Rqu6NWSdoc TODO

   doc/TODO: + rumdl-0.2.23.
VersionDeltaFile
1.27500+2-1doc/TODO
+2-11 files

NetBSD/src WcJI4P0sys/dev/pci virtio.c

   Pull up following revision(s) (requested by riastradh in ticket #332):

        sys/dev/pci/virtio.c: revision 1.85

   virtio(4): Add missing BUS_DMASYNC_PREREAD operations.

   And one missing BUS_DMASYNC_POSTREAD operation.
   With this change, loads from vq->vq_used->flags (which occur
   immediately after a transfer is submitted to test whether we need to
   kick the host device) is separated by a PREREAD/POSTREAD cycle from
   loads from vq->vq_used->idx (which occur when we think a transfer may
   have completed, e.g. upon receiving an interrupt, to test whether it
   has, in fact, completed).

   Additionally, with this change, consecutive loads from
   *vq->vq_avail_event are separated by a PREREAD/POSTREAD cycle.
   Should fix virtio(4) issues on m68k and other related architectures
   like mips and armv<7:
   PR kern/60144: virtio(4) cache coherence issue

    [152 lines not shown]
VersionDeltaFile
1.83.2.2+12-4sys/dev/pci/virtio.c
+12-41 files

LLVM/project b61a41cllvm/lib/Support GlobPattern.cpp, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

Merge branch 'main' into revert-205399-revert-149886-slashy
DeltaFile
+1,129-0llvm/test/CodeGen/X86/vector-reduce-add-subvector.ll
+43-71llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
+62-0llvm/unittests/Support/GlobPatternTest.cpp
+37-14llvm/lib/Support/GlobPattern.cpp
+16-21llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+6-12llvm/test/Transforms/InstCombine/and-fcmp.ll
+1,293-1189 files not shown
+1,333-16215 files

NetBSD/src UHi8lbesys/dev/pci virtio_pci.c

   Pull up following revision(s) (requested by riastradh in ticket #1279):

        sys/dev/pci/virtio_pci.c: revision 1.56

   virtio(4): Allow virtio 0.9 BAR0 type to be memory rather than I/O.

   This matches virtio>=1.0, and can't break working `hardware': any
   existing virtio devices that worked must have reported I/O-type BAR0,
   so they will continue to work; this will only enable previously
   unusable virtio devices, reporting memory-type BAR0, to work.

   Patch from Petri Koistinen.

   PR kern/60247: virtio(4): legacy attach fails when BAR0 is MMIO
VersionDeltaFile
1.38.4.7+8-5sys/dev/pci/virtio_pci.c
+8-51 files

NetBSD/src H6kxovesys/dev/pci virtio_pci.c

   Pull up following revision(s) (requested by riastradh in ticket #331):

        sys/dev/pci/virtio_pci.c: revision 1.56

   virtio(4): Allow virtio 0.9 BAR0 type to be memory rather than I/O.

   This matches virtio>=1.0, and can't break working `hardware': any
   existing virtio devices that worked must have reported I/O-type BAR0,
   so they will continue to work; this will only enable previously
   unusable virtio devices, reporting memory-type BAR0, to work.

   Patch from Petri Koistinen.

   PR kern/60247: virtio(4): legacy attach fails when BAR0 is MMIO
VersionDeltaFile
1.55.2.1+8-5sys/dev/pci/virtio_pci.c
+8-51 files

NetBSD/pkgsrc-wip 90ea138knot-resolver/files kresd.sh

knot-resolver: Fixed logging into file
DeltaFile
+1-1knot-resolver/files/kresd.sh
+1-11 files

NetBSD/src kQjWoBosys/opencrypto cryptodev.c cryptosoft.c, sys/rump/dev/lib/libopencrypto opencrypto_component.c

   Pull up following revision(s) (requested by riastradh in ticket #1278):

        sys/opencrypto/cryptodev.c: revision 1.130
        sys/opencrypto/cryptodev.c: revision 1.131
        sys/opencrypto/cryptodev.c: revision 1.132
        sys/opencrypto/cryptodev.c: revision 1.133
        tests/crypto/opencrypto/Makefile: revision 1.6
        sys/opencrypto/cryptosoft.c: revision 1.67
        sys/opencrypto/ocryptodev.c: revision 1.19
        tests/crypto/opencrypto/h_thread.c: revision 1.1
        sys/rump/dev/lib/libopencrypto/OPENCRYPTO.ioconf: revision 1.2
        tests/crypto/opencrypto/h_thread.c: revision 1.2
        sys/rump/dev/lib/libopencrypto/opencrypto_component.c: revision 1.7
        tests/crypto/opencrypto/t_opencrypto.sh: revision 1.12
        tests/crypto/opencrypto/t_opencrypto.sh: revision 1.13
        sys/opencrypto/cryptodev_internal.h: revision 1.5
        tests/crypto/opencrypto/t_opencrypto.sh: revision 1.14
        sys/opencrypto/cryptodev.c: revision 1.129
        distrib/sets/lists/debug/mi: revision 1.512

    [79 lines not shown]
VersionDeltaFile
1.125.4.2+108-139sys/opencrypto/cryptodev.c
1.2.4.2+217-0tests/crypto/opencrypto/h_thread.c
1.2.4.1+0-217tests/crypto/opencrypto/h_thread.c
1.64.4.3+29-115sys/opencrypto/cryptosoft.c
1.6.24.1+10-39sys/rump/dev/lib/libopencrypto/opencrypto_component.c
1.17.4.2+24-23sys/opencrypto/ocryptodev.c
+388-5336 files not shown
+443-54112 files

NetBSD/src YcbudnMsys/opencrypto cryptodev.c cryptosoft.c, sys/rump/dev/lib/libopencrypto opencrypto_component.c

   Pull up following revision(s) (requested by riastradh in ticket #330):

        sys/opencrypto/cryptodev.c: revision 1.130
        sys/opencrypto/cryptodev.c: revision 1.131
        sys/opencrypto/cryptodev.c: revision 1.132
        sys/opencrypto/cryptodev.c: revision 1.133
        tests/crypto/opencrypto/Makefile: revision 1.6
        sys/opencrypto/cryptosoft.c: revision 1.67
        sys/opencrypto/ocryptodev.c: revision 1.19
        tests/crypto/opencrypto/h_thread.c: revision 1.1
        sys/rump/dev/lib/libopencrypto/OPENCRYPTO.ioconf: revision 1.2
        tests/crypto/opencrypto/h_thread.c: revision 1.2
        sys/rump/dev/lib/libopencrypto/opencrypto_component.c: revision 1.7
        tests/crypto/opencrypto/t_opencrypto.sh: revision 1.12
        tests/crypto/opencrypto/t_opencrypto.sh: revision 1.13
        sys/opencrypto/cryptodev_internal.h: revision 1.5
        tests/crypto/opencrypto/t_opencrypto.sh: revision 1.14
        sys/opencrypto/cryptodev.c: revision 1.129
        distrib/sets/lists/debug/mi: revision 1.512

    [79 lines not shown]
VersionDeltaFile
1.126.2.2+108-139sys/opencrypto/cryptodev.c
1.2.2.1+0-217tests/crypto/opencrypto/h_thread.c
1.2.2.2+217-0tests/crypto/opencrypto/h_thread.c
1.65.2.2+29-115sys/opencrypto/cryptosoft.c
1.6.32.1+10-39sys/rump/dev/lib/libopencrypto/opencrypto_component.c
1.17.12.2+24-23sys/opencrypto/ocryptodev.c
+388-5336 files not shown
+443-54112 files

FreeBSD/ports 742fae4mail/goimapnotify Makefile distinfo, mail/goimapnotify/files modules.txt

mail/goimapnotify: Update 2.5.5 => 2.5.6

Changelog:
https://gitlab.com/shackra/goimapnotify/-/blob/2.5.6/CHANGELOG.md

PR:             296321
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+2-3mail/goimapnotify/Makefile
+2-2mail/goimapnotify/distinfo
+1-0mail/goimapnotify/files/modules.txt
+5-53 files

LLVM/project ad35cfellvm/lib/Transforms/AggressiveInstCombine AggressiveInstCombine.cpp

[AggressiveInstCombine] Factor out the beginning of foldSelectSplitCTTZ/CTLZ into common entry point. NFC (#206220)

Both start by matching a select and a eq/ne compare with 0.

Assisted-by: claude
DeltaFile
+43-71llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
+43-711 files

LLVM/project 1210e04llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer non-power-of-2-buildvector.ll

[SLP] Allow non-power-of-2 VF in tryToVectorizeList
DeltaFile
+92-0llvm/test/Transforms/SLPVectorizer/non-power-of-2-buildvector.ll
+6-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+98-12 files

FreeBSD/src 27e2926usr.sbin/gstat gstat.c

gstat: Sanitize code which gcc did not like.
DeltaFile
+8-6usr.sbin/gstat/gstat.c
+8-61 files

NetBSD/src e6XAbAGsys/uvm uvm_swap.c

   uvm(9): Fix comments on swap encryption and tidy various whitespace.

   No functional change intended: comments and whitespace only.

   Cleanup after various fixes for:

   PR kern/60082: swap encryption corrupt data
   PR kern/60083: swap encryption break /dev/drum
   PR kern/60084: swap encryption: per-page tracking seems overengineered
VersionDeltaFile
1.234+61-95sys/uvm/uvm_swap.c
+61-951 files

NetBSD/src xvAfH4zsys/net if_wg.c, tests/net/if_wg t_basic.sh t_misc.sh

   Pull up following revision(s) (requested by riastradh in ticket #1277):

        tests/net/if_wg/t_misc.sh: revision 1.17
        tests/net/if_wg/t_misc.sh: revision 1.18
        sys/net/if_wg.c: revision 1.136
        tests/net/if_wg/t_basic.sh: revision 1.7
        sys/net/if_wg.c: revision 1.137
        tests/net/if_wg/t_basic.sh: revision 1.8
        sys/net/if_wg.c: revision 1.138
        tests/net/if_wg/t_basic.sh: revision 1.9
        tests/net/if_wg/common.sh: revision 1.2

   wg(4): Add test case for bad peer public keys.

   wg(4) should not crash on an assertion if they are used -- it should
   just gracefully accept them, with degraded security, since a peer
   that maliciously provides an invalid public key is no worse than a
   peer that voluntarily exposes all its plaintext anyway.
   PR kern/60106: wg(4) should properly handle invalid or insecure

    [45 lines not shown]
VersionDeltaFile
1.4.6.2+248-2tests/net/if_wg/t_basic.sh
1.71.2.6+102-18sys/net/if_wg.c
1.12.2.2+65-1tests/net/if_wg/t_misc.sh
1.1.6.1+36-1tests/net/if_wg/common.sh
+451-224 files

NetBSD/src TQ8e2Assys/net if_wg.c, tests/net/if_wg t_basic.sh t_misc.sh

   Pull up following revision(s) (requested by riastradh in ticket #329):

        tests/net/if_wg/t_misc.sh: revision 1.17
        tests/net/if_wg/t_misc.sh: revision 1.18
        sys/net/if_wg.c: revision 1.136
        tests/net/if_wg/t_basic.sh: revision 1.7
        sys/net/if_wg.c: revision 1.137
        tests/net/if_wg/t_basic.sh: revision 1.8
        sys/net/if_wg.c: revision 1.138
        tests/net/if_wg/t_basic.sh: revision 1.9
        tests/net/if_wg/common.sh: revision 1.2

   wg(4): Add test case for bad peer public keys.

   wg(4) should not crash on an assertion if they are used -- it should
   just gracefully accept them, with degraded security, since a peer
   that maliciously provides an invalid public key is no worse than a
   peer that voluntarily exposes all its plaintext anyway.
   PR kern/60106: wg(4) should properly handle invalid or insecure

    [45 lines not shown]
VersionDeltaFile
1.6.2.1+248-2tests/net/if_wg/t_basic.sh
1.135.2.1+102-18sys/net/if_wg.c
1.16.2.1+65-1tests/net/if_wg/t_misc.sh
1.1.10.1+36-1tests/net/if_wg/common.sh
+451-224 files

NetBSD/pkgsrc PDFFK15doc CHANGES-2026

   doc: Updated textproc/rumdl to 0.2.24
VersionDeltaFile
1.4035+2-1doc/CHANGES-2026
+2-11 files