LLVM/project 0593d0dllvm/test/CodeGen/AMDGPU cc-inreg-sgpr0-3-mismatch.ll

[NFC][AMDGPU] Add test showing caller/callee SGPR mismatch for inreg args

Add a test demonstrating a bug where the caller and callee disagree on which
SGPRs hold user inreg arguments when there are enough to reach the SGPR0-3
range.

On the callee side, `LowerFormalArguments` marks SGPR0-3 as allocated in
`CCState` before the CC analysis runs. On the caller side, `LowerCall` adds the
scratch resource to `RegsToPass` without marking SGPR0-3 in `CCState`. This
causes `CC_AMDGPU_Func` to assign user inreg args to SGPR0-3 on the caller side
(they appear free) while the callee skips them.

In the test, the caller writes arg 0 (value 42) to s0, but the callee reads arg
0 from s16.
DeltaFile
+105-0llvm/test/CodeGen/AMDGPU/cc-inreg-sgpr0-3-mismatch.ll
+105-01 files

LLVM/project a9645ebllvm/lib/Target/AMDGPU GCNSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU machine-scheduler-sink-trivial-remats.mir machine-scheduler-sink-trivial-remats-debug.mir

[AMDGPU] Move `advanceBeforeNext` before `advanceToNext` (#182808)

The document of `advanceToNext` says, `advanceBeforeNext` has to be
called first.
DeltaFile
+52-52llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats.mir
+3-7llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats-debug.mir
+2-2llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+57-613 files

LLVM/project 4c795dbclang/test/Sema format-strings.c

[clang][test] Try to fix Sema/format-strings.c on i686 (#181800)

https://github.com/llvm/llvm-project/pull/180566 did this for 32bit arm,
but this still breaks for us downstream on i686 with:
```
# .---command stderr------------
# | error: 'expected-warning' diagnostics expected but not seen: 
# |   File /builddir/build/BUILD/llvm-project/clang/test/Sema/format-strings.c Line 990: format specifies type 'size_t' (aka '{{.+}}') but the argument has type '_Bool'
# |   File /builddir/build/BUILD/llvm-project/clang/test/Sema/format-strings.c Line 991: format specifies type 'ptrdiff_t' (aka '{{.+}}') but the argument has type '_Bool'
# | 2 errors generated.
# `-----------------------------
```
DeltaFile
+1-4clang/test/Sema/format-strings.c
+1-41 files

LLVM/project 9e4f1d1clang/include/clang/Basic TargetInfo.h, clang/lib/AST ASTContext.cpp

convert to exec-charset inside getPredefinedStringLiteralFromCache, test __builtin_FILE()
DeltaFile
+28-0clang/test/CodeGen/systemz-charset.cpp
+10-0clang/lib/AST/ASTContext.cpp
+3-2clang/lib/Lex/TextEncodingConfig.cpp
+3-0clang/lib/Basic/TargetInfo.cpp
+2-0clang/include/clang/Basic/TargetInfo.h
+0-1llvm/include/llvm/Support/TextEncoding.h
+46-36 files

FreeBSD/ports bc0eed4games/stockfish distinfo Makefile

games/stockfish: Update 17.1 => 18

Summary of changes:
+ Improved quality of chess play, ELO gain of up to 46 points.
+ Next generation evaluation introducing the SFNNv10 network
  architecture.
+ Hardware and Performance Optimizations.
+ Search Improvements.

Changelog:
https://github.com/official-stockfish/Stockfish/releases/tag/sf_18

PR:     292927
DeltaFile
+5-5games/stockfish/distinfo
+2-2games/stockfish/Makefile
+7-72 files

LLVM/project a236331lldb/source/Plugins/Process/FreeBSDKernel ProcessFreeBSDKernel.cpp ProcessFreeBSDKernel.h

[NFC][lldb][Process/FreeBSDKernel] Reorder class member functions (#182717)

DeltaFile
+24-24lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.cpp
+6-6lldb/source/Plugins/Process/FreeBSDKernel/ProcessFreeBSDKernel.h
+5-6lldb/source/Plugins/Process/FreeBSDKernel/ThreadFreeBSDKernel.h
+35-363 files

LLVM/project 12d4634llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize/AArch64 partial-reduce-chained.ll vector-reverse.ll

[LV] Only create partial reductions when profitable.

We want the LV cost-model to make the best possible decision of
VF and whether or not to use partial reductions.  At the moment,
when the LV can use partial reductions for a given VF range, it
assumes those are always preferred. After transforming the plan to
use partial reductions, it then chooses the most profitable VF. It
is possible for a different VF to have been more profitable, if it
wouldn't have chosen to use partial reductions.

This PR changes that, to first decide whether partial reductions
are more profitable for a given chain. If not, then it won't do
the transform.
DeltaFile
+92-80llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+40-44llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-chained.ll
+32-45llvm/test/Transforms/LoopVectorize/AArch64/vector-reverse.ll
+33-33llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-fdot-product.ll
+18-18llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce.ll
+4-0llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-add-sdot-i16-i32.ll
+219-2206 files

FreeNAS/freenas 8d780e9src/middlewared/middlewared/plugins config.py

NAS-139934 / 26.0.0-BETA.1 / vacuum db before presenting for download (#18269)

There have been some circumstances in the past in which users were
unable to upload db through the webui due to file size limits. For
various reasons, DB had expanded to tens of MiB in size. Users were able
to work around by vacuuming. Since we're already prepping copy of DB for
download, we should create it as a vacuumed copy.
DeltaFile
+36-17src/middlewared/middlewared/plugins/config.py
+36-171 files

LLVM/project 4656bd8llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[LV] NFCI: Move extend optimization to transformToPartialReduction.

The reason for doing this in `transformToPartialReduction` is so that
we can create the VPExpressions directly when transforming reductions
into partial reductions (to be done in a follow-up PR).

I also intent to see if we can merge the in-loop reductions with
partial reductions, so that there will be no need for the separate
`convertToAbstractRecipes` VPlan Transform pass.
DeltaFile
+72-8llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+72-81 files

LLVM/project af4c51dclang/include/clang/Driver RocmInstallationDetector.h, clang/lib/Driver/ToolChains AMDGPU.cpp

clang/AMDGPU: Stop looking for oclc_correctly_rounded_sqrt control libraries

These have not done anything in almost a year.
DeltaFile
+0-11clang/lib/Driver/ToolChains/AMDGPU.cpp
+1-7clang/include/clang/Driver/RocmInstallationDetector.h
+0-5clang/test/Driver/rocm-device-libs.cl
+0-5clang/test/Driver/hip-device-libs.hip
+2-2clang/test/Driver/amdgpu-openmp-toolchain.c
+0-0clang/test/Driver/Inputs/rocm/amdgcn/bitcode-no-abi-ver/oclc_correctly_rounded_sqrt_off.bc
+3-3010 files not shown
+3-3016 files

FreeBSD/ports ecd82bdaudio/subtui distinfo Makefile

audio/subtui: Update to 2.6.0

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.6.0
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files

LLVM/project 8f5880dllvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-512-v64.ll

[X86] lowerV64I8Shuffle - prefer VPERMV3 byte shuffles to OR(PSHUFB,PSHUFB) on VBMI targets (#182852)

Minor improvement for #137422
DeltaFile
+19-24llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll
+6-0llvm/lib/Target/X86/X86ISelLowering.cpp
+25-242 files

LLVM/project a660cfcmlir/include/mlir/Dialect/OpenMP/Utils Utils.h, mlir/lib/Dialect/OpenMP/Transforms StackToShared.cpp CMakeLists.txt

[MLIR][OpenMP] Unify device shared memory logic

This patch creates a utils library for the OpenMP dialect with functions
used by MLIR to LLVM IR translation as well as the stack-to-shared pass
to determine which allocations must use local stack memory or device
shared memory.
DeltaFile
+104-0mlir/lib/Dialect/OpenMP/Utils/Utils.cpp
+10-93mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+13-85mlir/lib/Dialect/OpenMP/Transforms/StackToShared.cpp
+53-0mlir/include/mlir/Dialect/OpenMP/Utils/Utils.h
+13-0mlir/lib/Dialect/OpenMP/Utils/CMakeLists.txt
+1-0mlir/lib/Dialect/OpenMP/Transforms/CMakeLists.txt
+194-1782 files not shown
+196-1788 files

FreeNAS/freenas 5182ab1src/middlewared/middlewared/plugins/update_ trains.py

Fix ClientConnectorCertificateError object has no attribute _os_error

(cherry picked from commit d9a40f93a083c538cdc1dac8f26437fec6a654ac)
DeltaFile
+7-1src/middlewared/middlewared/plugins/update_/trains.py
+7-11 files

LLVM/project f303e08mlir/test/Target/LLVMIR openmp-target-private-shared-mem.mlir

update after rebase
DeltaFile
+2-2mlir/test/Target/LLVMIR/openmp-target-private-shared-mem.mlir
+2-21 files

LLVM/project 406f242llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[MLIR][OpenMP][OMPIRBuilder] Improve shared memory checks

This patch refines checks to decide whether to use device shared memory or
regular stack allocations. In particular, it adds support for parallel regions
residing on standalone target device functions.

The changes are:
- Shared memory is introduced for `omp.target` implicit allocations, such as
those related to privatization and mapping, as long as they are shared across
threads in a nested parallel region.
- Standalone target device functions are interpreted as being part of a Generic
kernel, since the fact that they are present in the module after filtering
means they must be reachable from a target region.
- Prevent allocations whose only shared uses inside of an `omp.parallel` region
are as part of a `private` clause from being moved to device shared memory.
DeltaFile
+84-38mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+109-0offload/test/offloading/fortran/target-generic-outlined-loops.f90
+20-15llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+4-4mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir
+3-2llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+2-2llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+222-616 files

LLVM/project 7cfd76dflang/lib/Optimizer/OpenMP FunctionFiltering.cpp, flang/test/Lower/OpenMP declare-target-func-and-subr.f90 function-filtering-2.f90

add internal linkage to target device functions
DeltaFile
+23-23flang/test/Lower/OpenMP/declare-target-func-and-subr.f90
+26-19flang/test/Lower/OpenMP/function-filtering-2.f90
+22-22flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap.f90
+20-20flang/test/Lower/OpenMP/declare-target-implicit-func-and-subr-cap-enter.f90
+7-7flang/test/Lower/OpenMP/declare-target-implicit-tarop-cap.f90
+6-0flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+104-916 files

LLVM/project c357bbfflang/test/Integration/OpenMP target-use-device-nested.f90 threadprivate-target-device.f90, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

add missing check
DeltaFile
+76-0mlir/test/Target/LLVMIR/openmp-target-private-shared-mem.mlir
+12-13flang/test/Integration/OpenMP/target-use-device-nested.f90
+6-8flang/test/Integration/OpenMP/threadprivate-target-device.f90
+6-1mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+1-1mlir/test/Target/LLVMIR/omptarget-constant-alloca-raise.mlir
+101-235 files

LLVM/project d32d77emlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

support other map-like clauses
DeltaFile
+13-3mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+13-31 files

LLVM/project 817b7f3llvm/test/CodeGen/AArch64 arm64-cvt-simd-fptoi-strictfp.ll arm64-cvt-simd-fptoi.ll

[NFC][AArch64] Split fptoi tests and add scal_to_vec convert tests (#179315)

This patch splits simd-fptoi tests into strictfp and nonstrictfp files
for simplicity and adds tests which will test correct insertion of
bitcasts to certain scalar_to_vector variant which will be introduced in
#172837.
DeltaFile
+335-0llvm/test/CodeGen/AArch64/arm64-cvt-simd-fptoi-strictfp.ll
+0-328llvm/test/CodeGen/AArch64/arm64-cvt-simd-fptoi.ll
+49-0llvm/test/CodeGen/AArch64/aarch64-scal-to-vec-bitcast-insert.ll
+384-3283 files

FreeBSD/ports 8de6fe6java/openjdk21 Makefile, java/openjdk22 Makefile distinfo

java/openjdk21-25: Bootstrap from prebuilt packages

Completes the transition to using prebuilt packages to bootstrap OpenJDK
ports.

PR:             289731
Reviewed by:    jrm, fuz (mentor)
Approved by:    fuz (mentor)
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54731
DeltaFile
+8-18java/openjdk24/Makefile
+7-16java/openjdk21/Makefile
+6-16java/openjdk22/Makefile
+6-16java/openjdk23/Makefile
+4-15java/openjdk25/Makefile
+10-0java/openjdk22/distinfo
+41-814 files not shown
+75-8110 files

FreeBSD/src 3ca02a7sys/dev/vt vt_core.c, sys/teken teken.c teken.h

vt: Fix handling of backtab

PR: 292463
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2002

(cherry picked from commit 5fec99caff3ac4f476bb88078ebf85fbecf6afb3)
DeltaFile
+6-0sys/dev/vt/vt_core.c
+4-0sys/teken/teken.c
+2-0sys/teken/teken.h
+12-03 files

LLVM/project 5ea70b6libcxx/test/benchmarks spec.gen.py, libcxx/utils/ci/lnt run-benchmarks

[libc++] Simplify and optimize the run-benchmarks script (#181382)

Instead of configuring and running the benchmark suite once for SPEC and
once for the microbenchmarks, run it only once for everything. This
saves a configuration of the test suite (which includes building Google
Benchmark).

To replicate the functionality we had with --disable-microbenchmarks
(whose goal was mostly to run only SPEC), introduce a --filter argument
that can be used to select exactly which benchmarks are run. This is
simpler and more powerful.

Making this work requires hardcoding the only C++ standard that works
for SPEC (C++17) inside spec.gen.py instead of expecting it to be set
correctly when running the test suite.
DeltaFile
+14-34libcxx/utils/ci/lnt/run-benchmarks
+3-2libcxx/test/benchmarks/spec.gen.py
+17-362 files

LLVM/project 1737b61llvm/cmake/modules HandleLLVMOptions.cmake

Re-enable MSVC C4722 diagnostic; NFC (#182845)

From MSDN:

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4722?view=msvc-170

> 'function' : destructor never returns, potential memory leak

This diagnostic was disabled in 24fdbe567638d942fff6b1cf3df3cb4f5adf6823
as not having value for us, but enabling the diagnostic triggers no new
warnings, so I believe it's safe for us to re-enable. It may not be the
most valuable diagnostic, but knowing about non-returning destructors is
still good for code health.
DeltaFile
+0-1llvm/cmake/modules/HandleLLVMOptions.cmake
+0-11 files

LLVM/project a287555libcxx/include/__chrono convert_to_tm.h, libcxx/test/std/time/time.clock/time.clock.gps gps_time.ostream.pass.cpp

[libc++] Fix `gps_time` formatting and related tests (#181560)

- The Standard wording in https://eel.is/c++draft/time.format#13 is similar
  to TAI formatting in that it's equivalent to formatting a `sys_time`
  with a fixed offset. Leap seconds should not be considered.

- Tests need to be adjusted by adding the number of leap seconds between
  the GPS epoch and the tested date, which is 15s for 2010 and 18s for
  2019.

- The TAI and GPS tests using `meow_time<cr::duration<long, ...>>`
  should use `long long` because the offset swill overflow a 32-bit
  signed integer.
DeltaFile
+33-33libcxx/test/std/time/time.syn/formatter.gps_time.pass.cpp
+27-27libcxx/test/std/time/time.clock/time.clock.gps/gps_time.ostream.pass.cpp
+6-6libcxx/test/std/time/time.clock/time.clock.tai/tai_time.ostream.pass.cpp
+4-1libcxx/include/__chrono/convert_to_tm.h
+70-674 files

LLVM/project 630a418llvm/cmake/modules HandleLLVMOptions.cmake

Re-enable MSVC C4141 diagnostic; NFC (#182586)

From MSDN:

https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4141?view=msvc-170

> 'modifier': used more than once

This diagnostic was disabled in e11ce62707c8e0f51fce06097f71a97d02283d7a
due to triggering repeatedly for combinations of __forceinline and
inline. However, local testing shows that this diagnostic is no longer
emitted and so I believe this can be re-enabled.
DeltaFile
+0-1llvm/cmake/modules/HandleLLVMOptions.cmake
+0-11 files

FreeBSD/doc 84e1dfewebsite/data/en/news news.toml

News: Fix 2025Q4 Status Report Year
DeltaFile
+1-1website/data/en/news/news.toml
+1-11 files

FreeNAS/freenas a1eef66src/middlewared/middlewared main.py, src/middlewared/middlewared/api/v26_0_0 cronjob.py

NAS-139939 / 26.0.0-BETA.1 / Move cronjob namespace to be typesafe (#18271)

## Context

Cronjob namespace has been moved to new typesafe implementation.

API tests:
http://jenkins.eng.ixsystems.net:8080/job/tests/job/api_tests/7763/
DeltaFile
+0-258src/middlewared/middlewared/plugins/cron.py
+95-0src/middlewared/middlewared/plugins/cron/crud.py
+93-0src/middlewared/middlewared/plugins/cron/execute.py
+87-0src/middlewared/middlewared/plugins/cron/__init__.py
+2-1src/middlewared/middlewared/api/v26_0_0/cronjob.py
+2-0src/middlewared/middlewared/main.py
+279-2592 files not shown
+281-2608 files

FreeNAS/freenas 79d5017

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas f8022a9src/middlewared/middlewared/plugins config.py

Address review
DeltaFile
+3-10src/middlewared/middlewared/plugins/config.py
+3-101 files