LLVM/project 9f5e0aclibc/include elf.yaml

[libc] Add some more segment type macros

Missing macros from
https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/progheader.html.

We need PT_GNU_EH_FRAME for libunwind.

Reviewers: jtstogel, frobtech, vonosmas, michaelrj-google

Pull Request: https://github.com/llvm/llvm-project/pull/193604
DeltaFile
+12-0libc/include/elf.yaml
+12-01 files

LLVM/project 802de7eoffload/libomptarget interface.cpp private.h, offload/plugins-nextgen/common/include RecordReplay.h

[offload] Allow replay repetitions and report basic timing (#193388)

This commit extends the kernel replay tool to perform multiple replay
repetitions on the same process. It also prints the execution time of
the kernel replay, which includes the kernel launch and kernel
synchronization (replay I/O time is excluded). Precise kernel timing
should be obtained through the corresponding profiling tools for now.

The output report after recording has been improved as well.
DeltaFile
+55-19offload/plugins-nextgen/common/src/RecordReplay.cpp
+33-13offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
+25-0offload/plugins-nextgen/common/include/RecordReplay.h
+13-8offload/libomptarget/interface.cpp
+8-9offload/libomptarget/private.h
+10-2offload/libomptarget/omptarget.cpp
+144-512 files not shown
+155-558 files

LLVM/project e68d91allvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp

[NFC][SPIRV] Introduce function to handle 64 bits overflow (#193088)

Some intrinsics require special logic to deal with 64bits, usually
because vulkan doesn't allow 64 overloads. This patch introduces a
function that can be reused in some of those intrinsics to deal with
this specific case.

Requested here
https://github.com/llvm/llvm-project/pull/193068#discussion_r3113352858
as part of https://github.com/llvm/llvm-project/issues/192756
DeltaFile
+91-157llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+91-1571 files

LLVM/project fa0de06libc/include elf.yaml

rebase

Created using spr 1.3.7
DeltaFile
+12-0libc/include/elf.yaml
+12-01 files

LLVM/project f720315libc/include elf.yaml

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+12-0libc/include/elf.yaml
+12-01 files

LLVM/project 3be5c2elibc/include elf.yaml

rebase

Created using spr 1.3.7
DeltaFile
+12-0libc/include/elf.yaml
+12-01 files

LLVM/project 769f03clibc/include elf.yaml

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+12-0libc/include/elf.yaml
+12-01 files

LLVM/project c76e275libc/config/linux/x86_64 entrypoints.txt, libcxx/cmake/caches Generic-llvm-libc.cmake

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+0-62libcxx/cmake/caches/Generic-llvm-libc.cmake
+0-27libcxx/test/configs/llvm-libc++-llvm-libc.cfg.in
+0-27libcxxabi/test/configs/llvm-libc++abi-llvm-libc.cfg.in
+0-20libcxx/utils/ci/run-buildbot
+0-3libc/config/linux/x86_64/entrypoints.txt
+0-1395 files

LLVM/project 107701bllvm/lib/Transforms/Utils SimplifyCFG.cpp, llvm/test/Transforms/SimplifyCFG/X86 switch-to-lookup-comdat.ll

Revert "Reapply "[SimplifyCFG] Reuse function comdat for switch lookup table"" (#193582)

Reverts llvm/llvm-project#193229

Broke two-stage build while compiling llvm-profdata on Windows.

https://luci-milo.appspot.com/ui/p/fuchsia/builders/prod/clang-windows-x64/b8683881140581066385/overview
DeltaFile
+0-58llvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-comdat.ll
+0-1llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+0-592 files

LLVM/project 8a12b26libc/test CMakeLists.txt, libc/test/include CMakeLists.txt

Revert "[libc] Replace check-libc with lit-based test execution" (#193610)

Reverts llvm/llvm-project#184163
DeltaFile
+10-7libc/test/CMakeLists.txt
+2-1libc/test/include/CMakeLists.txt
+2-1libc/test/integration/CMakeLists.txt
+1-1libc/utils/libctest/format.py
+15-104 files

Linux/linux 2e68039fs/tracefs event_inode.c inode.c

Merge tag 'tracefs-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracefs fixes from Steven Rostedt:

 - Use list_add_tail_rcu() for walking eventfs children

   The linked list of children is protected by SRCU and list walkers can
   walk the list with only using SRCU. Using just list_add_tail() on
   weakly ordered architectures can cause issues. Instead use
   list_add_tail_rcu().

 - Hold eventfs_mutex and SRCU for remount walk events

   The trace_apply_options() walks the tracefs_inodes where some are
   eventfs inodes and eventfs_remount() is called which in turn calls
   eventfs_set_attr(). This walk only holds normal RCU read locks, but
   the eventfs_mutex and SRCU should be held.

   Add a eventfs_remount_(un)lock() helpers to take the necessary locks

    [5 lines not shown]
DeltaFile
+15-1fs/tracefs/event_inode.c
+4-1fs/tracefs/inode.c
+3-0fs/tracefs/internal.h
+22-23 files

Linux/linux 66a7974tools/testing/ktest ktest.pl

Merge tag 'ktest-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest

Pull ktest updates from Steven Rostedt:

 - Fix month in date timestamp used to create failure directories

   On failure, a directory is created to store the logs and config file
   to analyze the failure. The Perl function localtime is used to create
   the data timestamp of the directory. The month passed back from that
   function starts at 0 and not 1, but the timestamp used does not
   account for that. Thus for April 20, 2026, the timestamp of 20260320
   is used, instead of 20260420.

 - Save the logfile to the failure directory

   Just the test log was saved to the directory on failure, but there's
   useful information in the full logfile that can be helpful to
   analyzing the failure. Save the logfile as well.


    [3 lines not shown]
DeltaFile
+7-1tools/testing/ktest/ktest.pl
+7-11 files

LLVM/project 19b40f7llvm/docs SPIRVUsage.rst, llvm/lib/Target/SPIRV SPIRVCommandLine.cpp SPIRVUtils.cpp

[SPIR-V] Add SPV_AMD_weak_linkage extension (#193307)

Spec is available here:
https://github.com/KhronosGroup/SPIRV-Registry/pull/401
DeltaFile
+31-0llvm/test/CodeGen/SPIRV/linkage/weak-linkage.ll
+3-1llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
+4-0llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+2-0llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
+2-0llvm/docs/SPIRVUsage.rst
+2-0llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+44-16 files

LLVM/project 4b44e20compiler-rt/test/fuzzer lit.cfg.py lit.site.cfg.py.in

[fuzzer] Set target_cflags instead of target_flags in lit config (#191510)

This PR fixes warning "Compiler lib dir != compiler-rt lib dir"

There is a check in compiler-rt/test/lit.common.cfg.py which detects
runtime dir using target_cflags.

If we set target_flags only, the test will complain as below:

The persistent from #111498, but I don't see anything wrong.

```
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -DLLVM_CCACHE_BUILD=ON  -DLLVM_ENABLE_ASSERTIONS=OFF '-DLLVM_ENABLE_PROJECTS='\''clang;lld'\''' '-DLLVM_ENABLE_RUNTIMES='\''compiler-rt;libunwind;libcxx;libcxxabi'\''' -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ../../llvm-project/llvm

ninja check-compiler-rt
```

```
-- Installing: runtimes/runtimes-bins/compiler-rt/lib/tsan/libcxx_tsan_x86_64/lib/libc++.modules.json

    [20 lines not shown]
DeltaFile
+1-1compiler-rt/test/fuzzer/lit.cfg.py
+1-1compiler-rt/test/fuzzer/lit.site.cfg.py.in
+2-22 files

Linux/linux 1e18ed5kernel/trace Makefile undefsyms_base.c

Merge tag 'trace-ring-buffer-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull ring-buffer fix from Steven Rostedt:

 - Make undefsyms_base.c into a real file

   The file undefsyms_base.c is used to catch any symbols used by a
   remote ring buffer that is made for use of a pKVM hypervisor. As it
   doesn't share the same text as the rest of the kernel, referencing
   any symbols within the kernel will make it fail to be built for the
   standalone hypervisor.

   A file was created by the Makefile that checked for any symbols that
   could cause issues. There's no reason to have this file created by
   the Makefile, just create it as a normal file instead.

* tag 'trace-ring-buffer-v7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing: Make undefsyms_base.c a first-class citizen
DeltaFile
+4-31kernel/trace/Makefile
+28-0kernel/trace/undefsyms_base.c
+0-1kernel/trace/.gitignore
+32-323 files

FreeBSD/src af01ffbsys/compat/linuxkpi/common/include/linux gfp.h

linuxkpi: Define `GFP_KERNEL_ACCOUNT` flag

This flag combines `GFP_KERNEL` and `__GFP_ACCOUNT`. The latter is also
defined in this commit. It is defined as a no-op flag as it is not
implemented.

The DRM generic code started to use it in Linux 6.12.x.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56587
DeltaFile
+2-0sys/compat/linuxkpi/common/include/linux/gfp.h
+2-01 files

LLVM/project 083cab6llvm/test/Transforms/SLPVectorizer/RISCV basic-strided-stores.ll

[SLP] Precommit tests for strided store reordering (#193565)

Currently these tests generate incorrect vectorization because we try to re-order strided store
nodes in `reorderBottomToTop`.
DeltaFile
+98-0llvm/test/Transforms/SLPVectorizer/RISCV/basic-strided-stores.ll
+98-01 files

LLVM/project c09089dlibc/config/linux/x86_64 entrypoints.txt, libc/include elf.yaml

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+62-0libcxx/cmake/caches/Generic-llvm-libc.cmake
+27-0libcxx/test/configs/llvm-libc++-llvm-libc.cfg.in
+27-0libcxxabi/test/configs/llvm-libc++abi-llvm-libc.cfg.in
+20-0libcxx/utils/ci/run-buildbot
+6-0libc/include/elf.yaml
+3-0libc/config/linux/x86_64/entrypoints.txt
+145-06 files

LLVM/project ac5db03libc/config/linux/x86_64 entrypoints.txt, libcxx/cmake/caches Generic-llvm-libc.cmake

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+62-0libcxx/cmake/caches/Generic-llvm-libc.cmake
+27-0libcxx/test/configs/llvm-libc++-llvm-libc.cfg.in
+27-0libcxxabi/test/configs/llvm-libc++abi-llvm-libc.cfg.in
+20-0libcxx/utils/ci/run-buildbot
+3-0libc/config/linux/x86_64/entrypoints.txt
+139-05 files

LLVM/project ced532dllvm/test/CodeGen/AArch64 hadd-combine.ll, llvm/test/CodeGen/RISCV/rvv vandn-vp.ll vxor-vp.ll

Merge branch 'main' into revert-193229-reapply-comdat-fix
DeltaFile
+897-327llvm/test/CodeGen/AArch64/hadd-combine.ll
+365-365llvm/test/CodeGen/RISCV/rvv/vandn-vp.ll
+292-292llvm/test/CodeGen/RISCV/rvv/vxor-vp.ll
+224-224llvm/test/CodeGen/RISCV/rvv/vor-vp.ll
+223-223llvm/test/CodeGen/RISCV/rvv/vand-vp.ll
+212-220llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vxor-vp.ll
+2,213-1,65128 files not shown
+3,198-2,66834 files

LLVM/project e4e8bcbllvm/test/CodeGen/RISCV/rvv vandn-vp.ll vxor-vp.ll

[RISCV] Expand vp.and, vp.or, vp.xor (#193542)

Part of the work to remove trivial VP intrinsics from the RISC-V
backend, see
https://discourse.llvm.org/t/rfc-remove-codegen-support-for-trivial-vp-intrinsics-in-the-risc-v-backend/87999

This expands 3 intrinsics from #179622. The codegen support is left in
for now as other parts in DAGCombiner/SelectionDAGBuilder can generate
these.
DeltaFile
+365-365llvm/test/CodeGen/RISCV/rvv/vandn-vp.ll
+292-292llvm/test/CodeGen/RISCV/rvv/vxor-vp.ll
+224-224llvm/test/CodeGen/RISCV/rvv/vor-vp.ll
+223-223llvm/test/CodeGen/RISCV/rvv/vand-vp.ll
+212-220llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vxor-vp.ll
+163-173llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vand-vp.ll
+1,479-1,4977 files not shown
+1,721-1,75813 files

LLVM/project c23796dlibc/config/linux/x86_64 entrypoints.txt, libcxx/cmake/caches Generic-llvm-libc.cmake

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+62-0libcxx/cmake/caches/Generic-llvm-libc.cmake
+27-0libcxx/test/configs/llvm-libc++-llvm-libc.cfg.in
+27-0libcxxabi/test/configs/llvm-libc++abi-llvm-libc.cfg.in
+20-0libcxx/utils/ci/run-buildbot
+3-0libc/config/linux/x86_64/entrypoints.txt
+139-05 files

LLVM/project a15e3eblibcxx/cmake/caches Generic-llvm-libc.cmake, libcxx/test/configs llvm-libc++-llvm-libc.cfg.in

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+62-0libcxx/cmake/caches/Generic-llvm-libc.cmake
+27-0libcxx/test/configs/llvm-libc++-llvm-libc.cfg.in
+27-0libcxxabi/test/configs/llvm-libc++abi-llvm-libc.cfg.in
+20-0libcxx/utils/ci/run-buildbot
+136-04 files

Linux/linux 38ee6e1arch/x86/kernel kgdb.c, include/linux kgdb.h

Merge tag 'kgdb-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux

Pull kgdb update from Daniel Thompson:
 "Only a very small update for kgdb this cycle: a single patch from
  Kexin Sun that fixes some outdated comments"

* tag 'kgdb-7.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux:
  kgdb: update outdated references to kgdb_wait()
DeltaFile
+5-4arch/x86/kernel/kgdb.c
+4-3include/linux/kgdb.h
+1-1kernel/debug/debug_core.c
+1-1kernel/debug/gdbstub.c
+11-94 files

LLVM/project b515f0cflang/include/flang/Lower PFTBuilder.h, flang/lib/Lower/OpenMP OpenMP.cpp

[flang][OpenMP] Remove OmpEndLoopDiretive from PFT

It's no longer necessary. An end-directive for a loop construct used
to be a separate construct, but now it only exists as a member in
OpenMPLoopConstruct.
DeltaFile
+0-3flang/lib/Lower/OpenMP/OpenMP.cpp
+1-1flang/include/flang/Lower/PFTBuilder.h
+0-1flang/test/Lower/pre-fir-tree03.f90
+1-53 files

Linux/linux 87d0377security/tomoyo audit.c condition.c

Merge tag 'tomoyo-pr-20260422' of git://git.code.sf.net/p/tomoyo/tomoyo

Pull tomoyo update from Tetsuo Handa:
 "Handle 64-bit inode numbers"

* tag 'tomoyo-pr-20260422' of git://git.code.sf.net/p/tomoyo/tomoyo:
  tomoyo: use u64 for holding inode->i_ino value
DeltaFile
+4-6security/tomoyo/audit.c
+3-3security/tomoyo/condition.c
+1-1security/tomoyo/common.h
+8-103 files

FreeBSD/ports c3d64bcsysutils/beats8 Makefile, sysutils/beats8/files patch-vendor_github.com_elastic_elastic-agent-libs_monitoring_metrics.go

sysutils/beats8: Fix panic, SIGSEGV in elastic-agent-libs/monitoring

Upstream:
https://github.com/elastic/elastic-agent-libs/issues/392
https://github.com/elastic/elastic-agent-libs/pull/402

PR:             294181
Approved by:    girgen (elastic)
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 7dc442bb668b58fcf34b7c8e423b4ffd3c9844dc)
DeltaFile
+16-0sysutils/beats8/files/patch-vendor_github.com_elastic_elastic-agent-libs_monitoring_metrics.go
+1-1sysutils/beats8/Makefile
+17-12 files

LLVM/project 7431a4fllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/X86 non-schedulable-before-main.ll

[SLP]Fix dominance for multi-use copyable scalars in scheduled bundle

scheduleBlock skips copyable bundle members with their own ScheduleData,
leaving them at their original position. If such a scalar comes after
MainOp and satisfies doesNotNeedToBeScheduled, the vectorized op is
inserted at LastScheduledInst while the scalar stays behind, so the
insertelement feeding the copyable lane fails to be dominated by it.

After placing bundle members, move copyable scalars with more than one
use (same block as MainOp, doesNotNeedToBeScheduled, schedulable from
the tree entry's view) to just before LastScheduledInst.

Fixes #193513.

Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/193599
DeltaFile
+42-0llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-before-main.ll
+13-0llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+55-02 files

LLVM/project 24be43fllvm/lib/Transforms/Vectorize VPlan.cpp, llvm/test/Transforms/LoopVectorize vector-loop-backedge-elimination-predicated-early-exit.ll

[VPlan] Pick correct insert point after creating canonical IV. (#193587)

Retrieve (or create) the canonical IV increment before setting up the
VPBuilder insertion point at Header->begin(). getOrCreate may insert the
increment recipe into the Header, which would invalidate an insertion
point captured before the increment exists.

Fixes https://github.com/llvm/llvm-project/issues/193164.
DeltaFile
+54-0llvm/test/Transforms/LoopVectorize/vector-loop-backedge-elimination-predicated-early-exit.ll
+1-1llvm/lib/Transforms/Vectorize/VPlan.cpp
+55-12 files

FreeBSD/src fb7df70tools/build/mk OptionalObsoleteFiles.inc

Remove all of /usr/tests/share/examples/... when MK_EXAMPLES == no

- Remove the generated files (`file1`).
- Remove the top-level example `Kyuafile`.

MFC after:      1 week
DeltaFile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+4-01 files