LLVM/project ccc2b0clibcxx/include/__memory uninitialized_algorithms.h, libcxx/test/std/containers/sequences/vector/vector.cons copy.pass.cpp

[libc++] Avoid non-trivial assignment in `__uninitialized_allocator_copy_impl`

__uninitialized_allocator_copy_impl has an optimization that replaces allocator_traits::construct with std::copy for raw pointer ranges when the element type is trivially copy constructible and trivially copy assignable.

The copy-assignment trait only checks whether assignment from const T& is trivial. That is weaker than the expression used by std::copy, which evaluates *out = *in. If overload resolution selects a different non-trivial assignment operator for that expression, std::copy can call that operator on uninitialized storage.

Const-qualify the input pointers in the optimized overload instead. This makes the std::copy expression assign from const T&, matching the existing is_trivially_copy_assignable check, preserving the optimized path when that assignment is trivial, and falling back to placement construction otherwise.

Add a vector copy-constructor regression test with a type whose defaulted copy assignment is trivial but whose templated assignment operator is selected for non-const lvalue sources.

Tested with:
build/bin/llvm-lit -q build/runtimes/runtimes-bins/libcxx/test --filter='(vector.cons/copy.pass|uninitialized_allocator_copy\\.pass)'
build/bin/llvm-lit -q build/runtimes/runtimes-bins/libcxx/test --param std=c++20 --filter='vector.cons/copy.pass'
build/bin/llvm-lit -q build/runtimes/runtimes-bins/libcxx/test --param std=c++11 --filter='vector.cons/copy.pass'
DeltaFile
+76-1libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
+1-1libcxx/include/__memory/uninitialized_algorithms.h
+77-22 files

LLVM/project d118474libcxx/include/__memory uninitialized_algorithms.h, libcxx/test/libcxx/memory uninitialized_allocator_copy_template_op_assign.pass.cpp

[libc++] Avoid non-trivial assignment in `__uninitialized_allocator_copy_impl`

__uninitialized_allocator_copy_impl has an optimization that replaces allocator_traits::construct with std::copy for raw pointer ranges when the element type is trivially copy constructible and trivially copy assignable.

The copy-assignment trait only checks whether assignment from const T& is trivial. That is weaker than the expression used by std::copy, which evaluates *out = *in. If overload resolution selects a different non-trivial assignment operator for that expression, std::copy can call that operator on uninitialized storage.

Const-qualify the input pointers in the optimized overload instead. This makes the std::copy expression assign from const T&, matching the existing is_trivially_copy_assignable check, preserving the optimized path when that assignment is trivial, and falling back to placement construction otherwise.

Add a regression test with a type whose defaulted copy assignment is trivial but whose templated assignment operator is selected for non-const lvalue sources.

Tested with:
build/bin/llvm-lit -q build/runtimes/runtimes-bins/libcxx/test --filter='uninitialized_allocator_copy(\\.pass|_template_op_assign)'
DeltaFile
+77-0libcxx/test/libcxx/memory/uninitialized_allocator_copy_template_op_assign.pass.cpp
+1-1libcxx/include/__memory/uninitialized_algorithms.h
+78-12 files

NetBSD/pkgsrc-wip 61a1a1fgvfs options.mk TODO

gvfs: fix build on SunOS
DeltaFile
+4-4gvfs/options.mk
+0-6gvfs/TODO
+3-1gvfs/Makefile
+7-113 files

LLVM/project 45e5bfbllvm/test/Transforms/SLPVectorizer/X86 struct-return-different-bb.ll

[SLP][NFC]Add a test with struct-returning intrinsics in different basic blocks, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/196748
DeltaFile
+51-0llvm/test/Transforms/SLPVectorizer/X86/struct-return-different-bb.ll
+51-01 files

LLVM/project 9465cf9llvm/lib/Analysis ConstantFolding.cpp, llvm/lib/IR Constants.cpp ConstantFold.cpp

[RFC][NFCI][Constants] Add `Constant::isZeroValue`

The old `isZeroValue` was removed because it was functionally identical to
`Constant::isNullValue`. Currently, a "null value" in LLVM means a zero value.
We are moving toward changing the semantics of `ConstantPointerNull` to
represent a semantic null pointer instead of a zero-valued pointer. As a result,
the meaning of "null value" will also change in the future.

This PR series is the first step toward renaming the two widely used "null
value" interfaces to "zero value". As the first PR in the series, this change
adds a "new" `isZeroValue` alongside `isNullValue`, and makes `isNullValue` call
`isZeroValue` directly. Then, all uses of `isNullValue` in LLVM are replaced
with `isZeroValue`. Uses in other projects will be updated in separate PRs.

The plan is to eventually remove `isNullValue` after all uses have been
migrated.
DeltaFile
+15-15llvm/lib/Analysis/ConstantFolding.cpp
+14-14llvm/lib/IR/Constants.cpp
+11-11llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+11-9llvm/lib/IR/ConstantFold.cpp
+9-9llvm/unittests/Analysis/ValueLatticeTest.cpp
+9-9llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+69-67100 files not shown
+276-265106 files

LLVM/project 7c0ae9cllvm/test/Transforms/SLPVectorizer/RISCV scalable-type-as-input.ll

[SLP][NFC]Add a test with scalable vector type in struct-returning intrinsic, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/196747
DeltaFile
+32-0llvm/test/Transforms/SLPVectorizer/RISCV/scalable-type-as-input.ll
+32-01 files

LLVM/project 968430ellvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+257-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+179-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+158-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+126-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+126-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+106-0llvm/docs/AMDGPUUsage.rst
+952-29 files not shown
+1,261-1415 files

NetBSD/pkgsrc-wip 1413287pimsync distinfo cargo-depends.mk, pimsync/patches patch-Cargo.toml

pimsync: update to 0.5.8.
DeltaFile
+132-139pimsync/distinfo
+43-45pimsync/cargo-depends.mk
+0-12pimsync/patches/patch-Cargo.toml
+1-7pimsync/Makefile
+176-2034 files

FreeBSD/ports 389beabdeskutils/gnome-initial-setup Makefile, sysutils/mate-control-center Makefile

*: Bump PORTREVISION on libaccountsservice.so consumers

PR:             294993
Reported by:    Ale <discipline at tiscali.it>
Fixes:          5c1a2fb873434e3b845e8396edbff71e27ec130c
DeltaFile
+1-1deskutils/gnome-initial-setup/Makefile
+1-1x11/cinnamon-screensaver/Makefile
+1-1sysutils/mate-control-center/Makefile
+1-1x11/swaysettings/Makefile
+1-0x11/gdm/Makefile
+1-0x11/budgie-desktop/Makefile
+6-43 files not shown
+9-49 files

FreeBSD/ports b8732dasysutils/accountsservice Makefile, sysutils/accountsservice/files patch-generate-version.sh

sysutils/accountsservice: Fix version reported by pkg-config

Reported by:    cmt
Fixes:          5c1a2fb873434e3b845e8396edbff71e27ec130c
DeltaFile
+0-11sysutils/accountsservice/files/patch-generate-version.sh
+5-0sysutils/accountsservice/Makefile
+5-112 files

LLVM/project 492d774mlir/include/mlir/Dialect/SPIRV/IR TargetAndABI.h, mlir/lib/Conversion/SCFToSPIRV SCFToSPIRV.cpp

[mlir][SPIR-V] Support spirv.selection_control attribute on scf.if (#196510)
DeltaFile
+22-0mlir/test/Conversion/SCFToSPIRV/if.mlir
+11-0mlir/test/Dialect/SPIRV/IR/target-and-abi.mlir
+6-2mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
+4-0mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
+4-0mlir/lib/Dialect/SPIRV/IR/SPIRVDialect.cpp
+3-0mlir/include/mlir/Dialect/SPIRV/IR/TargetAndABI.h
+50-26 files

OpenBSD/src bQgYvLmlib/libc/dlfcn init.c, lib/libc/gen elf_aux_info.c

   libc: declare _hwcap and related variables as hidden

   ok tb@ deraadt@
VersionDeltaFile
1.2+2-5lib/libc/gen/elf_aux_info.c
1.2+6-1lib/libc/hidden/sys/auxv.h
1.25+2-1lib/libc/dlfcn/init.c
+10-73 files

LLVM/project fab2603llvm/lib/Target/AMDGPU VOP1Instructions.td VOPInstructions.td

[AMDGPU] Add VOP1 DPP8 pseudo infrastructure

Add VOP_DPP8_Pseudo/VOP1_DPP8_Pseudo classes for DPP8 instructions, similar to
the existing VOP_DPP_Pseudo/VOP1_DPP_Pseudo pattern.
DeltaFile
+20-17llvm/lib/Target/AMDGPU/VOP1Instructions.td
+25-0llvm/lib/Target/AMDGPU/VOPInstructions.td
+45-172 files

LLVM/project 900dd1dclang/lib/Driver/ToolChains AMDGPU.cpp

clang/AMDGPU: Use all_equal instead of building a temporary set (#196742)
DeltaFile
+1-2clang/lib/Driver/ToolChains/AMDGPU.cpp
+1-21 files

FreeBSD/ports 21fb84dmisc/py-sagemaker-train distinfo Makefile

misc/py-sagemaker-train: update 1.9.0 → 1.10.1
DeltaFile
+3-3misc/py-sagemaker-train/distinfo
+4-2misc/py-sagemaker-train/Makefile
+7-52 files

FreeBSD/ports a5c3290misc Makefile, misc/py-sagemaker-schema-inference-artifacts Makefile distinfo

misc/py-sagemaker-schema-inference-artifacts: New port: SageMaker: Library for Hugging Face Task Sample Inputs and Outputs
DeltaFile
+36-0misc/py-sagemaker-schema-inference-artifacts/Makefile
+3-0misc/py-sagemaker-schema-inference-artifacts/distinfo
+2-0misc/py-sagemaker-schema-inference-artifacts/pkg-descr
+1-0misc/Makefile
+42-04 files

FreeBSD/ports 1aa37acmisc/py-sagemaker-serve Makefile distinfo

misc/py-sagemaker-serve: update 1.9.0 → 1.10.1
DeltaFile
+7-5misc/py-sagemaker-serve/Makefile
+3-3misc/py-sagemaker-serve/distinfo
+10-82 files

FreeBSD/ports 6ae7374misc/py-sagemaker-shim distinfo Makefile

misc/py-sagemaker-shim: update 0.6.1 → 0.7.0
DeltaFile
+3-3misc/py-sagemaker-shim/distinfo
+1-1misc/py-sagemaker-shim/Makefile
+4-42 files

FreeBSD/ports 3388403misc/py-sagemaker-core distinfo Makefile

misc/py-sagemaker-core: update 2.9.0 → 2.10.1
DeltaFile
+3-3misc/py-sagemaker-core/distinfo
+1-2misc/py-sagemaker-core/Makefile
+4-52 files

FreeBSD/ports 69b0290misc/py-sagemaker-mlops Makefile distinfo

misc/py-sagemaker-mlops: update 1.9.0 → 1.10.1
DeltaFile
+8-6misc/py-sagemaker-mlops/Makefile
+3-3misc/py-sagemaker-mlops/distinfo
+11-92 files

FreeBSD/ports a89bf3emisc/py-sagemaker Makefile distinfo

misc/py-sagemaker: update 3.9.0 → 3.10.1
DeltaFile
+5-5misc/py-sagemaker/Makefile
+3-3misc/py-sagemaker/distinfo
+8-82 files

FreeBSD/ports ab55b4ddevel/git-town distinfo Makefile

devel/git-town: update 22.7.1 → 23.0.0
DeltaFile
+7-7devel/git-town/distinfo
+2-3devel/git-town/Makefile
+9-102 files

LLVM/project ee29cb1clang/test/Preprocessor predefined-arch-macros.c

clang: Fix using -march=amdgcn in some r600 run lines (#196745)
DeltaFile
+2-2clang/test/Preprocessor/predefined-arch-macros.c
+2-21 files

FreeBSD/src f066979sys/kern uipc_usrreq.c, tests/sys/kern unix_stream.c

unix: Make sure we signal EOF on the write side when disconnecting

Add a regression test.

PR:             294014
Reported by:    diizzy
Reviewed by:    glebius
MFC after:      1 week
Fixes:          d15792780760 ("unix: new implementation of unix/stream & unix/seqpacket")
Differential Revision:  https://reviews.freebsd.org/D56764

(cherry picked from commit 476805133f5736c2c8638e41d2b5d8dd2c597f3a)
DeltaFile
+62-19tests/sys/kern/unix_stream.c
+2-0sys/kern/uipc_usrreq.c
+64-192 files

LLVM/project 2d8bcb5llvm/lib/Transforms/Vectorize VPlanRecipes.cpp VPlanUtils.cpp

[VPlan] Lift isUsedByLoadStoreAddr into vputils, operate on VPValue(NFC) (#196415)

Extract the helper previously scoped to VPReplicateRecipe::computeCost
and make it available from VPlanUtils so other transforms can query
whether a VPValue is used as part of another load or store's address.

Also relax the input type from VPUser * to VPValue *: the worklist now
tracks VPValues directly, and traversal is gated on the user being a
VPSingleDefRecipe before walking its own users. This is NFC for the
existing caller.
DeltaFile
+1-51llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+51-0llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+4-0llvm/lib/Transforms/Vectorize/VPlanUtils.h
+56-513 files

FreeBSD/ports de7ba06security/vuxml/vuln 2026.xml

security/vuxml: Adjust listing for OpenVPN 2.6.20 release

Fixes in 2.7.2 are backported to 2.6.20 release

PR:             294714
Security:       549313db-3e93-11f1-8d38-7fbbe0285610
                CVE-2026-35058
                CVE-2026-40215
DeltaFile
+3-1security/vuxml/vuln/2026.xml
+3-11 files

FreeBSD/ports 145127bnet/gerbera pkg-message Makefile, net/gerbera/files pkg-message.in gerbera.in

net/gerbera: Adjust comment and move pkg-message file

Adjust comment in files/gerbera.in
Adjust pkg-message and move to "root" dir
DeltaFile
+11-0net/gerbera/pkg-message
+0-11net/gerbera/files/pkg-message.in
+1-1net/gerbera/files/gerbera.in
+0-1net/gerbera/Makefile
+12-134 files

FreeBSD/ports 871d6c9dns/godns pkg-message Makefile, dns/godns/files pkg-message.in godns.in

dns/godns: Fix various comments and text for port

Fix comment in files/godns.in
Adjust pkg-message and move it to "root" dir
Adjust pkg-descr
DeltaFile
+22-0dns/godns/pkg-message
+0-22dns/godns/files/pkg-message.in
+1-1dns/godns/files/godns.in
+0-2dns/godns/Makefile
+1-1dns/godns/pkg-descr
+24-265 files

FreeBSD/ports 593d86fdevel/capnproto pkg-message Makefile

devel/capnproto: Add notice about kernel bug affecting 15.0

Add notice about kernel bug on 15.0
While at it do a minor change to port Makefile

Reference:
https://cgit.freebsd.org/src/commit/?id=476805133f5736c2c8638e41d2b5d8dd2c597f3a
DeltaFile
+10-0devel/capnproto/pkg-message
+2-1devel/capnproto/Makefile
+12-12 files

FreeBSD/ports ee2a3cfmultimedia/mediamtx pkg-message Makefile, multimedia/mediamtx/files pkg-message.in mediamtx.in

multimedia/mediamtx: Fix various comment and move pkg-message file

Adjust comment in files/mediamtx.in
Move pkg-message file to "root" dir
DeltaFile
+11-0multimedia/mediamtx/pkg-message
+0-11multimedia/mediamtx/files/pkg-message.in
+1-1multimedia/mediamtx/files/mediamtx.in
+0-1multimedia/mediamtx/Makefile
+12-134 files