LLVM/project 832d1ec.ci monolithic-linux.sh, llvm CMakeLists.txt

refactor UnityBuild.cmake
DeltaFile
+1,448-1,308llvm/cmake/modules/UnityBuild.cmake
+31-24llvm/CMakeLists.txt
+1-1.ci/monolithic-linux.sh
+1,480-1,3333 files

LLVM/project 66d3e60clang/lib/CodeGen CMakeLists.txt, clang/unittests CMakeLists.txt

works
DeltaFile
+1,460-0llvm/cmake/modules/UnityBuild.cmake
+0-62clang/unittests/CMakeLists.txt
+0-38clang/lib/CodeGen/CMakeLists.txt
+0-34llvm/utils/TableGen/CMakeLists.txt
+0-26llvm/lib/CodeGen/CMakeLists.txt
+0-23mlir/test/lib/IR/CMakeLists.txt
+1,460-183117 files not shown
+1,470-1,163123 files

LLVM/project 80f7721libc/test/src/__support/wctype CMakeLists.txt

test high constexpr steps
DeltaFile
+3-0libc/test/src/__support/wctype/CMakeLists.txt
+3-01 files

LLVM/project 791f0c2libc/test/src/__support/wctype CMakeLists.txt

test high constexpr steps
DeltaFile
+3-0libc/test/src/__support/wctype/CMakeLists.txt
+3-01 files

NetBSD/pkgsrc hdafBh8devel/ocaml-dune Makefile

   ocaml-dune: Fix install with custom PKGMANDIR.

   Seen in jperkin's darwin bulk builds.
   From riastradh
VersionDeltaFile
1.20+10-2devel/ocaml-dune/Makefile
+10-21 files

LLVM/project f1fa15clibc/test/src/__support/wctype CMakeLists.txt

test high constexpr steps
DeltaFile
+4-0libc/test/src/__support/wctype/CMakeLists.txt
+4-01 files

OpenBSD/ports iVZjeD7editors/litexl/patches patch-src_meson_build

   fix build by not trying to statically link sdl3

   libSDL3.a does not exist but meson still tries to statically link
   everything in the Requires.private part of the sdl3.pc pkgconfig file.
   In the case of gbm libgbm.a had unresolved symbols.

   build failure reported by tb@ who tracked this back to a change in the
   devel/sdl3 port to build with -DSDL_DEPS_SHARED=OFF

   ok tb@
VersionDeltaFile
1.2+9-0editors/litexl/patches/patch-src_meson_build
+9-01 files

LLVM/project feae3bclibcxx/docs/ReleaseNotes 23.rst, libcxx/include/__iterator wrap_iter.h

[libc++] Remove non-standard member type iterator_type from __wrap_iter (#186871)

Resolves #186801 
Removed the non-standard member type `iterator_type` from `__wrap_iter`.
This member exposed the underlying iterator type, and its removal
prevents users from relying on the implementation detail.
DeltaFile
+7-8libcxx/include/__iterator/wrap_iter.h
+2-2libcxx/docs/ReleaseNotes/23.rst
+9-102 files

LLVM/project eca7d83mlir/lib/Dialect/MemRef/Transforms ExpandStridedMetadata.cpp, mlir/test/Conversion/MemRefToLLVM expand-then-convert-to-llvm.mlir

[mlir][memref] Simplify expand_shape size/stride computation using output_shape (#187844)

This PR refactors `getExpandedSizes` and `getExpandedStrides` to compute
their results directly from the `output_shape` of `memref.expand_shape`.
Instead of reconstructing expanded sizes/strides through manual
inference, we now rely on the operation’s explicit shape information.
The previous implementation imposed the restriction that there must be
at most one dynamic size per reassociation group. This limitation is
removed by the new approach: any number of dynamic dimensions within a
group is now supported, as long as they are represented in the
`output_shape`.
As a result, the code becomes both simpler and more expressive, while
better matching the semantics of `memref.expand_shape`.
DeltaFile
+55-67mlir/test/Conversion/MemRefToLLVM/expand-then-convert-to-llvm.mlir
+34-80mlir/test/Dialect/MemRef/expand-strided-metadata.mlir
+22-89mlir/lib/Dialect/MemRef/Transforms/ExpandStridedMetadata.cpp
+111-2363 files

LLVM/project e8c01fblibc/src/__support/wctype CMakeLists.txt

test high constexpr steps
DeltaFile
+4-0libc/src/__support/wctype/CMakeLists.txt
+4-01 files

LLVM/project 30267e0libc/src/__support/wctype perfect_hash_map.h

name
DeltaFile
+3-3libc/src/__support/wctype/perfect_hash_map.h
+3-31 files

LLVM/project 80603c6llvm/docs LangRef.rst, llvm/lib/FuzzMutate RandomIRBuilder.cpp

[CoroSplit] Never collect allocas used by catchpad into frame (#186728)

Windows EH requires exception objects allocated on stack. But there is
no reliable way to identify them. CoroSplit employs a best-effort
algorithm to determine whether allocas persist on the stack or the
frame, which may result in miscompilation when Windows exceptions are
used.
This patch proposes that we treat allocas used by catchpad as exception
objects and never place them on the frame. A verifier check is added to
enforce that operands of catchpad are either constants or allocas.

Close #143235 Close #153949 Close #182584
DeltaFile
+66-0llvm/test/Transforms/Coroutines/coro-alloca-10.ll
+7-0llvm/lib/Transforms/Coroutines/SpillUtils.cpp
+7-0llvm/lib/IR/Verifier.cpp
+3-2llvm/docs/LangRef.rst
+5-0llvm/lib/FuzzMutate/RandomIRBuilder.cpp
+2-1llvm/unittests/FuzzMutate/StrategiesTest.cpp
+90-31 files not shown
+93-37 files

LLVM/project cd9a0dcllvm/include/llvm/ExecutionEngine/Orc EPCGenericJITLinkMemoryManager.h, llvm/lib/ExecutionEngine/Orc EPCGenericJITLinkMemoryManager.cpp

[ORC] EPCGenericJITLinkMemoryManager from SimpleNativeMemoryMap syms. (#188391)

Adds a new EPCGenericJITLinkMemoryManager convenience constructor that
constructs an instance by looking up the given symbol names in the
bootstrap JITDylib of the given ExecutionSession.

The symbol names default to the SimpleNativeMemoryMap SPS-interface
symbol names provided by the new ORC runtime.
DeltaFile
+36-0llvm/unittests/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManagerTest.cpp
+13-1llvm/include/llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h
+14-0llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp
+63-13 files

FreeBSD/src 61f7813stand defs.mk

stand: Force disable RETPOLINE for boot loaders

Boot loaders do not require speculative execution protection, and may be
too large if enabled.

Reported by:    Shawn Webb
Reviewed by:    dim, imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56068
DeltaFile
+1-0stand/defs.mk
+1-01 files

FreeBSD/src 615f1b9sys/amd64/amd64 machdep.c

kern/amd64/machdep: Replace memset in wrmsr_early_safe_end

GENERIC-KASAN kernel failed to boot on a Dell PowerEdge C6615 with
an AMD EPYC 8224P CPU; UEFI BIOS caught a #GP exception with %RIP
in kasan_memset where %GS relative pointer (curthread->td_pflags2)
was dereferenced. Investigation led to wrmsr_early_safe_end which
calls memset to clear early #GP IDT entry. Replacing memset with
__builtin_memset_inline still resulted in the compiler emitting a
call to the memset resolver in GENERIC-KASAN build and the kernel
stil faulted during boot. This version which has been successfully
tested with both GENERIC and GENERIC-KASAN kernels uses memset_early.

Signed-off-by: Kristofer Peterson <kris at tranception.com>
Reviewed-by: kib
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2069
DeltaFile
+1-1sys/amd64/amd64/machdep.c
+1-11 files

LLVM/project 29a627allvm/test/CodeGen/LoongArch/lasx/ir-instruction shuffle-as-xvextrins.ll shuffle-as-xvshuf4i.ll

update tests
DeltaFile
+7-15llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvextrins.ll
+1-4llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvshuf4i.ll
+8-192 files

LLVM/project 2bc4992llvm/lib/Target/LoongArch LoongArchISelLowering.cpp

[LoongArch] Custom legalize vector_shuffle to `xvextrins`
DeltaFile
+79-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+79-01 files

LLVM/project 1573cbfllvm/test/CodeGen/LoongArch/lasx/ir-instruction shuffle-as-xvextrins.ll

[LoongArch][NFC] Pre-commit tests for `xvextrins`
DeltaFile
+78-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvextrins.ll
+78-01 files

LLVM/project 6ae5803llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch fsqrt-reciprocal-estimate.ll

[LoongArch] Fix incorrect reciprocal sqrt estimate semantics (#187621)

The current implementation of getSqrtEstimate() has incorrect semantics
when using `FRSQRTE`.

`FRSQRTE` computes an approximation to 1/sqrt(x), but the existing code
multiplies the estimate by the operand when Reciprocal is true. This
results in returning sqrt(x) instead of 1/sqrt(x), effectively reversing
the intended semantics of the 'Reciprocal' flag.

Additionally, the implementation does not properly account for LLVM's
Newton-Raphson refinement pipeline. When refinement steps are requested,
the initial estimate must be in reciprocal form so that the generic
DAGCombiner can apply NR iterations correctly.

This patch fixes the behavior by:

- Returning the raw FRSQRTE result when Reciprocal is true, or when
  refinement steps are required.

    [13 lines not shown]
DeltaFile
+67-31llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+0-12llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
+0-4llvm/test/CodeGen/LoongArch/lasx/fsqrt-reciprocal-estimate.ll
+0-2llvm/test/CodeGen/LoongArch/lsx/fsqrt-reciprocal-estimate.ll
+67-494 files

LLVM/project d49d24cllvm/lib/Target/RISCV RISCVInstrInfoXRivos.td, llvm/test/Analysis/CostModel/RISCV rvv-extractelement.ll rvv-insertelement.ll

[RISCV] Remove the experimental XRivosVisni extension (#188370)
DeltaFile
+0-399llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract.ll
+0-331llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
+0-293llvm/test/Analysis/CostModel/RISCV/rvv-extractelement.ll
+0-291llvm/test/Analysis/CostModel/RISCV/rvv-insertelement.ll
+1-86llvm/lib/Target/RISCV/RISCVInstrInfoXRivos.td
+0-43llvm/test/MC/RISCV/xrivosvisni-valid.s
+1-1,44313 files not shown
+7-1,50819 files

LLVM/project 218f240llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp

[RISCV] Fix ssub_sat cost model to use signed VSSUB instead of VSSUBU (#188195)

Intrinsic::ssub_sat was incorrectly mapped to RISCV::VSSUBU_VV (unsigned
saturating subtract) instead of RISCV::VSSUB_VV (signed saturating
subtract), causing wrong cost estimates.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+1-1llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+1-11 files

LLVM/project 448c10ellvm/lib/Target/LoongArch LoongArchISelLowering.cpp

rebase after vshuf4i_d was defined
DeltaFile
+1-1llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+1-11 files

LLVM/project 5d7b810llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lasx vec-shuffle-byte-rotate.ll

[LoongArch] Custom legalize vector_shuffle to `xvshuf4i.d`
DeltaFile
+28-4llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+3-7llvm/test/CodeGen/LoongArch/lasx/vec-shuffle-byte-rotate.ll
+2-7llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvshuf4i.ll
+33-183 files

NetBSD/pkgsrc CVaAi5Wmath/R distinfo, math/R/patches patch-configure.ac

   R: fix install-time error on Darwin builds by restoring patch lost in update

   There seem to be more missing hunks plus some weird lines ending with a
   vertical bar in patch-configure.ac, but I'm doing minimal changes to fix
   an issue at the moment.
VersionDeltaFile
1.15+18-5math/R/patches/patch-configure.ac
1.115+2-2math/R/distinfo
+20-72 files

LLVM/project 4a83fe7llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/test/CodeGen/LoongArch/lsx vec-sext.ll vec-shuffle-any-ext.ll

[LoongArch] Custom legalize vector_shuffle to `vextrins`

TODO: LASX supporting will be in a later commit.
DeltaFile
+88-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+24-27llvm/test/CodeGen/LoongArch/lsx/vec-sext.ll
+24-24llvm/test/CodeGen/LoongArch/lsx/ir-instruction/shuffle-as-vextrins.ll
+18-21llvm/test/CodeGen/LoongArch/lsx/vec-shuffle-any-ext.ll
+11-23llvm/test/CodeGen/LoongArch/lsx/vec-trunc.ll
+4-10llvm/test/CodeGen/LoongArch/lsx/vmskcond.ll
+169-1056 files

LLVM/project 303a1a4libc/src/__support/wctype perfect_hash_map.h

implicit cast
DeltaFile
+9-7libc/src/__support/wctype/perfect_hash_map.h
+9-71 files

LLVM/project 04c12callvm/test/CodeGen/LoongArch/lsx/ir-instruction shuffle-as-vextrins.ll

[LoongArch][NFC] Pre-commit tests for `vextrins`
DeltaFile
+78-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/shuffle-as-vextrins.ll
+78-01 files

FreeBSD/src b1d3252sys/dev/nvmf/controller nvmft_controller.c

nvmf: Fix null ptr reference

Reported by:    Nikolay Denev <ndenev at gmail.com>
Reviewed by:    imp, jhb
Differential Revision:  https://reviews.freebsd.org/D55863

(cherry picked from commit 09c5bb35425bc70573c007e7f7e82be286677a87)
DeltaFile
+1-1sys/dev/nvmf/controller/nvmft_controller.c
+1-11 files

FreeBSD/src 930a790share/man/man4 rge.4, sys/dev/rge if_rge_sysctl.c if_rge.c

rge: make rx_process_limit a sysctl tunable

The number of packets processed per interrupt was hardcoded to 16.
Add a per-interface sysctl dev.rge.%d.rx_process_limit tunable so
users can adjust this value at runtime.

Signed-off-by: Christos Longros <chris.longros at gmail.com>

Reviewed by:    ziaee, adrian
Differential Revision:  https://reviews.freebsd.org/D56014
DeltaFile
+5-0share/man/man4/rge.4
+5-0sys/dev/rge/if_rge_sysctl.c
+2-1sys/dev/rge/if_rge.c
+2-0sys/dev/rge/if_rgevar.h
+14-14 files

LLVM/project 8de427blibc/src/__support/wctype upper_to_lower.h lower_to_upper.h, libc/test/src/__support/wctype wctype_perfect_hash_test.cpp

fix size difference on windows
DeltaFile
+540-523libc/src/__support/wctype/upper_to_lower.h
+460-538libc/src/__support/wctype/lower_to_upper.h
+42-28libc/utils/wctype_utils/conversion/hex_writer.py
+24-0libc/test/src/__support/wctype/wctype_perfect_hash_test.cpp
+1,066-1,0894 files