LLVM/project 41cfe83libc/src/__support/wchar character_converter.cpp character_converter.h, libc/src/stdio/printf_core char_converter.h

[libc] Reland %lc support in printf (#176110)

Add support for %lc in printf by calling internal wcrtomb function and
relevant end-to-end sprintf test.

Additionally, made the following changes:
- Modified printf parser for recognizing length modifier
- Added two internal error codes. 
- Added a flag to disable wchar support on windows platform.
- To keep printf interface header only, converted wcrtomb and
CharacterConverter to header only implementation and removed the cpp
source.

Resolves GPU libc issues in #169983 and original issue: #166598

---------

Co-authored-by: shubhe25p <shubhp at mbm3a24.local>
Co-authored-by: Joseph Huber <huberjn at outlook.com>
DeltaFile
+0-176libc/src/__support/wchar/character_converter.cpp
+163-5libc/src/__support/wchar/character_converter.h
+97-1libc/test/src/stdio/sprintf_test.cpp
+44-6libc/src/stdio/printf_core/char_converter.h
+0-50libc/src/__support/wchar/wcrtomb.cpp
+35-4libc/src/__support/wchar/wcrtomb.h
+339-24210 files not shown
+426-25316 files

LLVM/project cf6a281llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUInstPrinter.cpp, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

fix review comments
DeltaFile
+1-25llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+20-4llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
+2-2llvm/test/MC/AMDGPU/gfx11_asm_vop2-fake16.s
+2-2llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop2.txt
+2-2llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop2.txt
+2-2llvm/test/MC/AMDGPU/gfx11_asm_vop2.s
+29-372 files not shown
+29-418 files

pfSense/pfsense c4393e8src/usr/local/pfSense/include/www alias-utils.inc

Refresh alias cache before updating static routes. Fix #16407

The code which updates static routes relies on a global alias variable to
determine what changes are needed. Once an alias is updated the global
variable must be refreshed so route changes reflect the latest config.
Also include "network" aliases when detecting static route aliases.
DeltaFile
+6-1src/usr/local/pfSense/include/www/alias-utils.inc
+6-11 files

LLVM/project 5c24d56llvm/lib/Target/AMDGPU SIPreEmitPeephole.cpp, llvm/test/CodeGen/AMDGPU issue176578.ll insert-skip-from-vcc.mir

AMDGPU: Fix assert when looking for s_and_b64 + vcc branch pattern

Fixes #176578
DeltaFile
+137-0llvm/test/CodeGen/AMDGPU/issue176578.ll
+56-0llvm/test/CodeGen/AMDGPU/insert-skip-from-vcc.mir
+3-2llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
+196-23 files

LLVM/project d377911lldb/include/lldb/Host/windows PseudoConsole.h, lldb/source/Host/windows PseudoConsole.cpp

[LLDB] Close previously opened handles in `PseudoConsole` (#176775)

In
https://github.com/llvm/llvm-project/pull/175837#issuecomment-3749408432
I mentioned that any handles that were previously opened and haven't
been closed since, won't be closed in the destructor nor in
`OpenPseudoConsole`.

In this PR, I added `Close` calls to these methods. Calling `Close()` is
a no-op if the handles are invalid.
DeltaFile
+11-2lldb/source/Host/windows/PseudoConsole.cpp
+8-0lldb/include/lldb/Host/windows/PseudoConsole.h
+19-22 files

LLVM/project d34c30bllvm/lib/Target/AArch64/GISel AArch64PreLegalizerCombiner.cpp AArch64O0PreLegalizerCombiner.cpp

AArch64/GlobalISel: Use LibcallLoweringInfo in utils (#176946)

Wire up the boilerplate to get the query for bzero from
LibcallLoweringInfo instead of TargetLowering.
DeltaFile
+16-7llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
+13-5llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
+4-3llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.cpp
+2-1llvm/lib/Target/AArch64/GISel/AArch64GlobalISelUtils.h
+35-164 files

FreeBSD/ports 8f0c591science/afni distinfo Makefile

science/afni: Update to 26.0.03
DeltaFile
+3-3science/afni/distinfo
+1-1science/afni/Makefile
+4-42 files

FreeNAS/freenas 60187fbsrc/middlewared/middlewared/plugins/smb_ groupmap.py

NAS-139402 / 26.04 / Replace call with call_sync (#18073)

DeltaFile
+1-1src/middlewared/middlewared/plugins/smb_/groupmap.py
+1-11 files

FreeBSD/ports f05d251astro/osmium-tool Makefile distinfo

astro/osmium-tool: Upgrade to v1.19.0

ChangeLog: https://github.com/osmcode/osmium-tool/blob/master/CHANGELOG.md

Added

 * Add integration tests for show command output formats.

Changed

 * Switch to C++17 as minimum requirement.
 * Use std::back_inserter instead of boost::function_output_iterator removing
   one dependency on Boost.
 * Various small fixes and code cleanups.

Fixed

 * Fix ID comparison in osmium merge to match osmium sort behavior.
 * Extract in "simple" mode: Check all nodes in a way for overlap with the

    [3 lines not shown]
DeltaFile
+5-6astro/osmium-tool/Makefile
+3-3astro/osmium-tool/distinfo
+8-92 files

LLVM/project 85d64d1offload/libomptarget omptarget.cpp, offload/libomptarget/OpenMP Mapping.cpp

[Offload] Cast to `void *` in the debug message (#177019)

There are a few places where data types based on character array or
string are printed in the debug message while they do not represent
strings. Such expressions should be casted to `void *` unless they
represent actual strings. Change also includes casting from integral
type to pointer type when appropriate.
DeltaFile
+13-7offload/libomptarget/OpenMP/Mapping.cpp
+7-4offload/plugins-nextgen/common/src/PluginInterface.cpp
+6-4offload/libomptarget/omptarget.cpp
+26-153 files

OpenZFS/src 2829153module/zstd README.md

Zstd: Document update policy

Add the Zstd update policy to the subtree README.

Also update the documented location of zstd-in.c to match upstream
changes, and normalize naming from 'ZSTD' to 'Zstd'.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Moch <mail at alexmoch.com>
Closes #18089
DeltaFile
+31-13module/zstd/README.md
+31-131 files

OpenZFS/src 2d5a9b6module/zstd/lib/common allocations.h bits.h

Zstd: Restore SPDX license identifiers

When updating Zstandard to version 1.5.7 the SPDX license identifiers
were lost. This commit restores them.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Moch <mail at alexmoch.com>
Closes #18089
DeltaFile
+1-0module/zstd/lib/common/allocations.h
+1-0module/zstd/lib/common/bits.h
+1-0module/zstd/lib/common/bitstream.h
+1-0module/zstd/lib/common/compiler.h
+1-0module/zstd/lib/common/cpu.h
+1-0module/zstd/lib/common/debug.h
+6-053 files not shown
+59-059 files

OpenZFS/src e7f9734module/zstd zfs_zstd.c

Zstd: Fix ASan poisoning for pooled Zstd contexts

The Zstd context mempool can reuse buffers that were previously poisoned
under AddressSanitizer, leading to false-positive use-after-poison reports
during zloop and other stress tests.

Explicitly unpoison memory when handing buffers out to Zstd and poison the
user-visible region again when buffers are returned to the pool. This makes
the allocator ASan-correct while preserving existing pooling behavior.

Also fix non-standard void * pointer arithmetic in zstd_free() and remove an
early return in zstd_dctx_alloc() so kmem_type/kmem_size are always set on
pool hits.

This only affects ASan bookkeeping in user space, does not change runtime
behavior in non-ASan configurations, and does not affect on-disk formats.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Moch <mail at alexmoch.com>
Closes #18089
DeltaFile
+27-7module/zstd/zfs_zstd.c
+27-71 files

OpenZFS/src a2ac9cdlib/libzstd Makefile.am, module Kbuild.in Makefile.bsd

Zstd: Integrate v1.5.7 into the ZFS build system

This commit builds on the previous zstd library update and adds the
necessary ZFS integration and build system changes required to make
zstd 1.5.7 compile and function correctly.

Changes:
- Add zstd_preSplit.c (new in 1.5.7) to all build systems.
- Enable x86_64 assembly in userspace (huf_decompress_amd64.S).
- Disable assembly in kernel for RETHUNK/IBT compatibility.
- Disable intrinsics in kernel for EL10 x86_64-v3 baseline.
- Disable tracing in kernel builds for AArch64 compatibility.
- Fix ZSTD_isError symbol renaming with __asm__ directive.
- Rename abs64 to ZSTD_abs64 (FreeBSD kernel conflict).
- Fix bitstream.h attributes (MEM_STATIC -> FORCE_INLINE_TEMPLATE).
- Remove xxhash.c from BSD build (now header-only).
- Update symbol names in zstd_compat_wrapper.h.
- Ignore checkstyle for zstd-in.c.


    [6 lines not shown]
DeltaFile
+199-188module/zstd/include/zstd_compat_wrapper.h
+10-0module/Kbuild.in
+3-3module/zstd/lib/compress/zstd_preSplit.c
+6-0lib/libzstd/Makefile.am
+2-2module/Makefile.bsd
+2-2module/zstd/lib/common/bitstream.h
+222-1952 files not shown
+224-1958 files

OpenZFS/src bbcddb1module/zstd/lib zstd.h, module/zstd/lib/common xxhash.h

Zstd: Update bundled library to v1.5.7 without further adjustments

This commit only replaces the bundled source and does not include any
ZFS integration changes. Because the build depends on integration
adjustments, it will fail until the accompanying integration commit is
applied.

Upstream release: https://github.com/facebook/zstd/releases/tag/v1.5.7

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Moch <mail at alexmoch.com>
Closes #18089
DeltaFile
+7,037-229module/zstd/lib/common/xxhash.h
+4,698-1,134module/zstd/lib/compress/zstd_compress.c
+1,288-593module/zstd/lib/decompress/huf_decompress.c
+1,478-371module/zstd/lib/zstd.h
+1,391-335module/zstd/lib/compress/zstd_lazy.c
+1,173-403module/zstd/lib/decompress/zstd_decompress_block.c
+17,065-3,06556 files not shown
+26,386-7,87262 files

FreeBSD/ports 2603e0adevel/nextpnr Makefile

devel/nextpnr: Update GUI from Qt5 to Qt6
DeltaFile
+3-3devel/nextpnr/Makefile
+3-31 files

FreeBSD/ports 85263a5textproc/py-jq distinfo Makefile

textproc/py-jq: update to 1.11.0

Changelog: https://github.com/mwilliamson/jq.py/compare/1.10.2...1.11.0
DeltaFile
+5-5textproc/py-jq/distinfo
+1-1textproc/py-jq/Makefile
+6-62 files

LLVM/project 72e9d30llvm/include/llvm/ADT STLExtras.h, llvm/unittests/ADT STLExtrasTest.cpp

Revert "Reland "[STLExtras] Add a template for detecting whether a type has an equality comparison operator" (#176893)"

This reverts commit 2984a28612bb8c56cd85d858b00319a24c95409a.

Another buildbot is unhappy with another static assert: https://lab.llvm.org/buildbot/#/builders/108/builds/22080
DeltaFile
+0-27llvm/unittests/ADT/STLExtrasTest.cpp
+0-11llvm/include/llvm/ADT/STLExtras.h
+0-382 files

LLVM/project d2c40c3llvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Check if VPlan contains FindLast reduction directly (NFC).

Directly check the VPlan to see if there are any FindLast reductions.
Currently this is NFC, but checking in the VPlan is more future proof,
e.g. if reductions are simplified, removed or transformed. Then checking
in legacy LoopVectorizationLegality is inaccruate.
DeltaFile
+19-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+19-91 files

FreeNAS/freenas c3ff4ebsrc/middlewared/middlewared/plugins/smb_ groupmap.py

Replace call with call_sync
DeltaFile
+1-1src/middlewared/middlewared/plugins/smb_/groupmap.py
+1-11 files

NetBSD/pkgsrc kJRLmhBdoc TODO

   doc/TODO: + ocaml-opam-2.5.0.
VersionDeltaFile
1.26700+2-1doc/TODO
+2-11 files

LLVM/project 0c812a6clang/lib/CodeGen CGHLSLBuiltins.cpp

mark assert-only variables from 11b1836 maybe_unused (#177011)

Fix for variables added in 11b18362822759ac1592cee5b857943fa2320f8c.
DeltaFile
+2-2clang/lib/CodeGen/CGHLSLBuiltins.cpp
+2-21 files

FreeBSD/ports 113a37bmisc/dotenv-linter Makefile

misc/dotenv-linter: unbreak on powerpc64*
DeltaFile
+0-3misc/dotenv-linter/Makefile
+0-31 files

FreeBSD/ports 355f49fgames/openclonk Makefile

games/openclank: unbreak on powerpc64

Also remove unnecessary powerpc64le fix.
DeltaFile
+0-3games/openclonk/Makefile
+0-31 files

FreeBSD/ports 90f8979devel/spr Makefile

devel/spr: unbreak on powerpc64le
DeltaFile
+0-2devel/spr/Makefile
+0-21 files

OpenBSD/ports 7i2wcvNnet/monitoring-plugins/pkg PLIST-main PLIST-dbi

   remove @conflict/@pkgpath that were there to handle the migration from
   nagios-plugins >10y ago
VersionDeltaFile
1.7+0-8net/monitoring-plugins/pkg/PLIST-main
1.4+0-2net/monitoring-plugins/pkg/PLIST-dbi
1.4+0-2net/monitoring-plugins/pkg/PLIST-fping
1.4+0-2net/monitoring-plugins/pkg/PLIST-game
1.4+0-2net/monitoring-plugins/pkg/PLIST-ldap
1.4+0-2net/monitoring-plugins/pkg/PLIST-mysql
+0-183 files not shown
+1-239 files

LLVM/project db2f0f8mlir/include/mlir/Dialect/XeGPU/IR XeGPUTypes.td, mlir/lib/Conversion/VectorToXeGPU VectorToXeGPU.cpp

[MLIR][XeGPU]: Reject `tensor_desc` types with unknown bitwidth (#173922)

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

1. Only allow XeGPU_ScalarType element types in `xegpu::TensorDescType`
(via verifier, keeping mlir::Type params in api)
2. Fix `VectorToXeGPU` to prevent vectors with invalid TensorDescType
element types from lowering
DeltaFile
+6-0mlir/test/Dialect/XeGPU/invalid.mlir
+4-0mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
+4-0mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+1-1mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
+15-14 files

OpenBSD/ports 44aGsmVnet/monitoring-plugins/patches patch-plugins_check_curl_c patch-plugins_check_smtp_c

   use pledge in various monitoring-plugins checks; from Alvar Penning
VersionDeltaFile
1.3+29-79net/monitoring-plugins/patches/patch-plugins_check_curl_c
1.4+24-45net/monitoring-plugins/patches/patch-plugins_check_smtp_c
1.4+45-5net/monitoring-plugins/patches/patch-plugins-root_check_icmp_c
1.1+32-0net/monitoring-plugins/patches/patch-plugins_check_tcp_c
1.1+32-0net/monitoring-plugins/patches/patch-plugins_check_ntp_time_c
1.1+32-0net/monitoring-plugins/patches/patch-plugins_check_ssh_c
+194-1291 files not shown
+196-1297 files

LLVM/project b23840dllvm/test/Transforms/LoopUnroll/branch-weights-freq unroll-epilog.ll peel.ll

[LoopUnroll][NFC] Simplify recent block frequency tests

Refactor a number of recent tests in
`llvm/test/Transforms/LoopUnroll/branch-weights-freq` to make it
easier to understand and extend them.

The changes mostly resemble the refactoring I recently did in
PR#165635 in response to reviewer comments:
- For each case (e.g., each `-unroll-count` value in
  `unroll-epilog.ll`), group all FileCheck directives together.  That
  way, while digesting a single case, the reader does not need to sift
  through all other cases and a complex FileCheck prefix scheme.
- Reduce CFG testing.  Drop many FileCheck directives that check for
  all basic block labels and branches, and drop the cryptic
  `-implicit-check-not` that excludes others.  Instead, just use
  positive checks for every loop body (represented by `call void @f`),
  for relevant metadata, and for the branch instructions to which the
  metadata is attached, and use simple negative checks (e.g.,
  `-implicit-check-not='!prof'`) to be sure we have not missed any.

    [4 lines not shown]
DeltaFile
+184-122llvm/test/Transforms/LoopUnroll/branch-weights-freq/unroll-epilog.ll
+31-43llvm/test/Transforms/LoopUnroll/branch-weights-freq/peel.ll
+34-37llvm/test/Transforms/LoopUnroll/branch-weights-freq/unroll-partial.ll
+249-2023 files

FreeBSD/ports 811f998sysutils/go-ntfy distinfo Makefile

sysutils/go-ntfy: Update to 2.16.0

ChangeLog: https://github.com/binwiederhier/ntfy/releases/tag/v2.16.0
DeltaFile
+7-7sysutils/go-ntfy/distinfo
+2-3sysutils/go-ntfy/Makefile
+9-102 files