NetBSD/pkgsrc-wip d91380b. TODO

TODO: + forgejo-14.0.
DeltaFile
+1-0TODO
+1-01 files

FreeBSD/ports cead7dbaudio/opus distinfo pkg-plist

audio/opus: update to 1.6.1
DeltaFile
+3-3audio/opus/distinfo
+1-1audio/opus/pkg-plist
+1-1audio/opus/Makefile
+5-53 files

NetBSD/pkgsrc WkbN5jKx11/mate-desktop Makefile

   mate-desktop: fix build on NetBSD 11
VersionDeltaFile
1.50+3-1x11/mate-desktop/Makefile
+3-11 files

LLVM/project fae5760clang/lib/CIR/Dialect/Transforms CXXABILowering.cpp, clang/lib/CIR/Dialect/Transforms/TargetLowering LowerItaniumCXXABI.cpp CIRCXXABI.h

[CIR] Upstream handling for member ptr function compare (#176029)

This adds handling for compare expressions involving member pointer to
functions.
DeltaFile
+121-0clang/test/CIR/CodeGen/pointer-to-member-func-cmp.cpp
+52-0clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerItaniumCXXABI.cpp
+9-5clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+4-0clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRCXXABI.h
+186-54 files

FreeBSD/src 988555elib/libc/stdlib tdestroy.c

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Reviewed by:    kib
Differential Revision:  https://reviews.freebsd.org/D54699
DeltaFile
+32-34lib/libc/stdlib/tdestroy.c
+32-341 files

FreeNAS/freenas 464b86csrc/middlewared/middlewared/plugins/iscsi_ alua.py fs_attachment_delegate.py

NAS-139207 / 26.04 / Robustize iSCSI ALUA (by bmeagherix) (#18051)

- For HA systems, do not use systemd to start SCST.
- Improve DLM cleanup.
- Improve ALUA handling with locked or disabled extents.
- Add additional lun health checks to standby_after_start.
- Eliminate customization of recovery_tmo on HA sessions.
- Optimize removal of ALUA HA LUN in removed_target_extent.
- Update slightly for 26.04
DeltaFile
+115-46src/middlewared/middlewared/plugins/iscsi_/alua.py
+114-1src/middlewared/middlewared/plugins/iscsi_/fs_attachment_delegate.py
+53-38src/middlewared/middlewared/plugins/iscsi_/targets.py
+80-3src/middlewared/middlewared/plugins/iscsi_/extents.py
+10-14src/middlewared/middlewared/plugins/iscsi_/target_to_extent.py
+17-1src/middlewared/middlewared/plugins/iscsi_/scst.py
+389-1037 files not shown
+429-11013 files

OpenBSD/ports uyP084Jaudio/opus distinfo Makefile

   audio/opus: update to 1.6.1
VersionDeltaFile
1.16+2-2audio/opus/distinfo
1.29+2-2audio/opus/Makefile
+4-42 files

LLVM/project 074653alldb/source/Plugins/Process/wasm ProcessWasm.cpp ProcessWasm.h

[lldb] Fix llvm_unreachable for invalid Wasm address (#176464)

We had an llvm_unreachable following a switch on the WasmAddress's type.
However, the type is encoded in a larger 64 bit address, and therefore
it's possible to create an invalid value that doesn't map back on one of
the enum types.

We could try to diagnose that in the wrapper, or treat all invalid types
the same. I took the latter approach because it makes it easier to show
the invalid type after the fact in an error message.

rdar://168314695
DeltaFile
+8-4lldb/source/Plugins/Process/wasm/ProcessWasm.cpp
+3-1lldb/source/Plugins/Process/wasm/ProcessWasm.h
+11-52 files

LLVM/project 716b547libc/shared/math logbf.h, libc/src/__support/math logbf.h CMakeLists.txt

[libc][math] Refactor logbf to Header Only. (#176222)

builds with both Clang and GCC 12.2.

Closes https://github.com/llvm/llvm-project/issues/175364.
DeltaFile
+26-0libc/src/__support/math/logbf.h
+22-0libc/shared/math/logbf.h
+15-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+8-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/logbf.cpp
+2-1libc/src/math/generic/CMakeLists.txt
+75-63 files not shown
+78-69 files

LLVM/project 986b45cllvm/lib/Target/AMDGPU SIInstrInfo.cpp

[AMDGPU] Use lambda in fmaak/fmamk f16 folding. NFC
DeltaFile
+23-38llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+23-381 files

FreeNAS/freenas 048c67fsrc/middlewared/middlewared/plugins/iscsi_ alua.py

Remove transient from iscsi.alua.reset_active

Transient jobs no longer send events, so cannot be waited on by
the peer node in a failover.call_remote
DeltaFile
+1-1src/middlewared/middlewared/plugins/iscsi_/alua.py
+1-11 files

LLVM/project dac308clibc/shared/math logbf16.h, libc/src/__support/math logbf16.h CMakeLists.txt

[libc][math] Refactor logbf16 to Header Only. (#176231)

builds with both Clang and GCC 12.2.

Closes https://github.com/llvm/llvm-project/issues/175363.
DeltaFile
+34-0libc/src/__support/math/logbf16.h
+29-0libc/shared/math/logbf16.h
+14-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-4libc/src/math/generic/logbf16.cpp
+2-2libc/src/math/generic/CMakeLists.txt
+91-73 files not shown
+94-79 files

FreeBSD/ports 377d28bsysutils/py-kubernetes distinfo Makefile

sysutils/py-kubernetes: Update 34.1.0 => 35.0.0

Changelog:
https://github.com/kubernetes-client/python/blob/release-35.0/CHANGELOG.md

PR:     292511
DeltaFile
+3-3sysutils/py-kubernetes/distinfo
+1-1sysutils/py-kubernetes/Makefile
+4-42 files

LLVM/project 37da38eclang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 rdrand-builtins.c

[CIR][X86] Implement rdrand/rdseed builtins (#175439)

Add support for rdrand and rdseed builtins.

Part of #167765
DeltaFile
+146-0clang/test/CIR/CodeGenBuiltins/X86/rdrand-builtins.c
+42-1clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+188-12 files

FreeNAS/freenas a4f3723src/middlewared/middlewared/plugins/iscsi_ utils.py scst.py

Replace chunker with itertools.batched
DeltaFile
+0-7src/middlewared/middlewared/plugins/iscsi_/utils.py
+3-2src/middlewared/middlewared/plugins/iscsi_/scst.py
+2-2src/middlewared/middlewared/plugins/iscsi_/alua.py
+5-113 files

OpenBSD/ports zTC4VgQgames/0ad/base Makefile, games/0ad/base/patches patch-build_premake_extern_libs5_lua

   0ad: fix build with Boost 1.89
VersionDeltaFile
1.4+11-13games/0ad/base/patches/patch-build_premake_extern_libs5_lua
1.57+2-2games/0ad/base/Makefile
+13-152 files

LLVM/project 6c496a1libc/shared/math logbf128.h, libc/src/__support/math logbf128.h CMakeLists.txt

[libc][math] Refactor logbf128 to Header Only. (#176234)

builds with both Clang and GCC 12.2.

Closes #175362.
DeltaFile
+34-0libc/src/__support/math/logbf128.h
+30-0libc/shared/math/logbf128.h
+12-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+9-0libc/src/__support/math/CMakeLists.txt
+4-4libc/src/math/generic/logbf128.cpp
+2-2libc/src/math/generic/CMakeLists.txt
+91-73 files not shown
+94-79 files

FreeBSD/ports 3fe4210games/prismlauncher distinfo Makefile

games/prismlauncher: Update 9.4 => 10.0.2

News:
https://prismlauncher.org/news/release-10
https://prismlauncher.org/news/release-10.0.1
https://prismlauncher.org/news/release-10.0.2

PR:     292508
DeltaFile
+7-7games/prismlauncher/distinfo
+7-6games/prismlauncher/Makefile
+1-0games/prismlauncher/pkg-plist
+15-133 files

LLVM/project 762a44fclang/include/clang/Analysis/Analyses UnsafeBufferUsage.h, clang/include/clang/Basic DiagnosticGroups.td DiagnosticSemaKinds.td

[clang][Wunsafe-buffer-usage] Add -Wunsafe-buffer-usage-in-static-sized-array (#176466)

This PR adds support for toggling on/off warnings around static sized
arrays. This supports / addresses
https://github.com/llvm/llvm-project/issues/87284, for those who use
-fsanitize=array-bounds which inserts checks for fixed sized arrays
already.
DeltaFile
+159-0clang/test/SemaCXX/warn-unsafe-buffer-usage-in-static-sized-array.cpp
+17-2clang/lib/Analysis/UnsafeBufferUsage.cpp
+6-0clang/lib/Sema/AnalysisBasedWarnings.cpp
+5-0clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
+2-1clang/include/clang/Basic/DiagnosticGroups.td
+2-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+191-31 files not shown
+192-47 files

LLVM/project 828261ellvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp CombinerHelper.cpp, llvm/test/CodeGen/RISCV/GlobalISel rv32p.ll rv64p.ll

[GISel] Add G_CTLS Opcode and combines, lower to cls(w) (#175069)

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

- Added a G_CTLS opcode and some pattern matching. This is the
GlobalISel equivalent to
https://github.com/llvm/llvm-project/pull/173417
- Add legalization for aarch64 and riscv

```
// Folds (ctlz (xor x, (sra x, bitwidth-1))) -> (add (ctls x), 1). 
// Folds (ctlz (or (shl (xor x, (sra x, bitwidth-1)), 1), 1) -> (ctls x) (clang aarch64)
```
DeltaFile
+431-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv32.mir
+395-0llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctls-rv64.mir
+141-0llvm/test/CodeGen/RISCV/GlobalISel/rv32p.ll
+114-0llvm/test/CodeGen/RISCV/GlobalISel/rv64p.ll
+82-5llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+67-0llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
+1,230-518 files not shown
+1,325-3924 files

FreeBSD/ports 8369d18astro/astroterm Makefile distinfo

astro/astroterm: Update 1.0.9 => 1.0.10

Changelog:
https://github.com/da-luce/astroterm/releases/tag/v1.0.10

Convert "if PORT_OPTIONS:MOPT" to "post-extract-OPT-on".

PR:     292507
DeltaFile
+6-11astro/astroterm/Makefile
+7-7astro/astroterm/distinfo
+13-182 files

FreeBSD/src 689663dsys/kern kern_time.c

Initialize CLOCK_UPTIME for itmer events

Since we move to implement Linux's CLOCK_MONOTONIC with CLOCK_UPTIME, we
broke the some timer support for Linux. Fix this by initializing
CLOCK_UPTIME as a posix clock so we can use in that context.

PR:                     292496
MFC After:              5 days
Fixes:                  108de784513d
Sponsored by:           Netflix
Reviewed by:            kib
Differential Revision:  https://reviews.freebsd.org/D54746
DeltaFile
+1-0sys/kern/kern_time.c
+1-01 files

FreeBSD/ports 66cde88net-im/py-zapzap distinfo Makefile

net-im/py-zapzap: Update to 6.2.7

ChangeLog:      https://github.com/rafatosta/zapzap/releases/tag/6.2.7
Reported by:    Rafael Tosta <notifications at github.com>
DeltaFile
+3-3net-im/py-zapzap/distinfo
+1-1net-im/py-zapzap/Makefile
+4-42 files

LLVM/project 2282f60lld/test/wasm debug-weak-unused.s, lld/wasm InputFiles.cpp

[lld][WebAssembly] Fix crash in debug info relocation against shared symbols (#176460)

When a weakly defined function is not include because its defined in
shared object we should use the tombstone value during relocation of
debug info.

Fixes: https://github.com/emscripten-core/emscripten/issues/26044
DeltaFile
+36-0lld/test/wasm/debug-weak-unused.s
+1-1lld/wasm/InputFiles.cpp
+37-12 files

OpenBSD/ports N0cr7yTx11/qt6/qtwebengine/patches patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_itx_sse_asm patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_mc_avx2_asm

   Merge IBT support from multimedia/dav1d
VersionDeltaFile
1.1+1,755-0x11/qt6/qtwebengine/patches/patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_itx_sse_asm
1.1+1,362-0x11/qt6/qtwebengine/patches/patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_mc_avx2_asm
1.1+1,266-0x11/qt6/qtwebengine/patches/patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_mc_avx512_asm
1.1+1,235-0x11/qt6/qtwebengine/patches/patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_mc16_avx512_asm
1.1+1,233-0x11/qt6/qtwebengine/patches/patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_mc_sse_asm
1.1+1,192-0x11/qt6/qtwebengine/patches/patch-src_3rdparty_chromium_third_party_dav1d_libdav1d_src_x86_mc16_avx2_asm
+8,043-023 files not shown
+15,484-029 files

LLVM/project e36ddffllvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Add scalable check to SinkStoreInfo helper.

Bail out on scalable vectors in helper. Currently this is not causing
issues, but fixes a potential crash that would be exposed by a follow-up
change.

Test would exposes the issue in the future has been added in
8c5352cf3e14ec0c56f592091899d229de8436a7.
DeltaFile
+2-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+2-01 files

LLVM/project 4a4fa0aclang/lib/Analysis UnsafeBufferUsage.cpp

[NFC][Clang][-Wunsafe-buffer-usage] Rename variable to upper camel case. (#176286)

Trivial renaming following the [style
guide](https://llvm.org/docs/CodingStandards.html#name-types-functions-variables-and-enumerators-properly).

This is mostly to familiarize myself with the workflow for contributing
to LLVM.
DeltaFile
+11-11clang/lib/Analysis/UnsafeBufferUsage.cpp
+11-111 files

LLVM/project 255af94clang/lib/CodeGen CGExpr.cpp, clang/test/CodeGenHLSL BoolMatrix.hlsl

[HLSL][Matrix] Update indexed matrix elements individually (#176216)

Fixes #174629

This PR is similar to that of #169144 but for matrices.

When storing to a matrix element or matrix row, `insertelement`
instructions have been replaced by GEPs followed by stores to individual
matrix elements. There is no longer storing of the entire matrix to
memory all at once, thus avoiding data races when writing to independent
matrix elements from multiple threads.
DeltaFile
+76-66clang/test/CodeGenHLSL/BasicFeatures/MatrixSingleSubscriptSetter.hlsl
+48-19clang/lib/CodeGen/CGExpr.cpp
+14-11clang/test/CodeGenHLSL/BasicFeatures/MatrixSingleSubscriptDynamicSwizzle.hlsl
+12-10clang/test/CodeGenHLSL/BasicFeatures/MatrixSingleSubscriptConstSwizzle.hlsl
+7-10clang/test/CodeGenHLSL/BoolMatrix.hlsl
+3-4clang/test/CodeGenHLSL/BasicFeatures/matrix-type-indexing.hlsl
+160-1206 files

LLVM/project 2042887llvm/docs MIRLangRef.rst, llvm/include/llvm/CodeGen MachineInstrBuilder.h

Reland "[NFC][MI] Tidy Up RegState enum use (1/2)" (#176277)

This Change is to prepare to make RegState into an enum class. It:
- Updates documentation to match the order in the code.
- Brings the `get<>RegState` functions together and makes them
`constexpr`.
- Adopts the `get<>RegState` where RegStates were being chosen with
ternary operators in backend code.
- Introduces `hasRegState` to make querying RegState easier once it is
an enum class.
- Adopts `hasRegState` where equivalent was done with bitwise
arithmetic.
- Introduces `RegState::NoFlags`, which will be used for the lack of
flags.
- Documents that `0x1` is a reserved flag value used to detect if
someone is passing `true` instead of flags (due to implicit bool to
unsigned conversions).
- Updates two calls to `MachineInstrBuilder::addReg` which were passing
`false` to the flags operand, to no longer pass a value.

    [6 lines not shown]
DeltaFile
+66-51llvm/include/llvm/CodeGen/MachineInstrBuilder.h
+17-17llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+15-15llvm/docs/MIRLangRef.rst
+14-10llvm/lib/CodeGen/MIRParser/MIParser.cpp
+8-9llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+8-8llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
+128-11017 files not shown
+156-14223 files

LLVM/project 2bcd2f2clang/include/clang/Analysis/Analyses/LifetimeSafety FactsGenerator.h Loans.h, clang/lib/Analysis/LifetimeSafety FactsGenerator.cpp

[LifetimeSafety] Track moved declarations to prevent false positives (#170007)

Prevent false positives in lifetime safety analysis when variables are
moved using `std::move`.

When a value is moved using `std::move`, ownership is transferred from
the original variable to another. The lifetime safety analysis was
previously generating false positives by warning about
use-after-lifetime when the original variable was destroyed after being
moved. This change prevents those false positives by tracking moved
declarations and exempting them from loan expiration checks.

- Added tracking for declarations that have been moved via `std::move`
in the `FactsGenerator` class
- Added a `MovedDecls` set to track moved declarations in a
flow-insensitive manner
- Implemented detection of `std::move` calls in `VisitCallExpr`
- Modified `handleLifetimeEnds` to skip loans for declarations that have
been moved

    [17 lines not shown]
DeltaFile
+39-0clang/test/Sema/warn-lifetime-safety.cpp
+19-0clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+9-0clang/include/clang/Analysis/Analyses/LifetimeSafety/FactsGenerator.h
+2-0clang/include/clang/Analysis/Analyses/LifetimeSafety/Loans.h
+69-04 files