LLVM/project 0b12400libcxx/test/support test_allocator.h min_allocator.h, libcxx/test/support/test.support test_allocators.pass.cpp

[libc++][test] Fix construction and comparison for testing allocators (#212702)

Previously, there were several issues in the allocators provided by
`min_allocator.h` and `test_allocator.h`.

1. Some allocators did not support heterogenous rebinding construction,
and thus failed to meet the Cpp17Allocator named requirements.
2. Some allocators only had `operator==`. This was fine since C++20 but
not in C++17 where there were no rewritten candidates of `!=`.
3. Many equality operators were non-template and homogeneous. This
caused ambiguity since C++20 due to rewritten candidates.

This patch fixes these issues by
- adding missing constructors,
- adding missing `operator!=` (in pre-C++20 modes), and
- making `operator==` and some `operator!=` templates.

Note that it is intended that `operator==`'s for `test_allocator`
perform seemingly redundant constructions (via `static_cast<const

    [3 lines not shown]
DeltaFile
+224-0libcxx/test/support/test.support/test_allocators.pass.cpp
+80-18libcxx/test/support/min_allocator.h
+46-8libcxx/test/support/test_allocator.h
+350-263 files

FreeBSD/ports e8224b1www/py-django61 Makefile distinfo, www/py-django61/files patch-pyproject.toml

www/py-django61: Update to 6.1
DeltaFile
+4-4www/py-django61/files/patch-pyproject.toml
+3-3www/py-django61/distinfo
+1-1www/py-django61/Makefile
+8-83 files

LLVM/project 2114567libcxx/include module.modulemap.in CMakeLists.txt, libcxx/include/__cmath lerp.h

[libc++] Move lerp to its own header instead of <cmath> (#213111)

This moves <cmath> towards an umbrella header.

Co-authored-by: A. Jiang <de34 at live.cn>
DeltaFile
+64-0libcxx/include/__cmath/lerp.h
+1-40libcxx/include/cmath
+5-0libcxx/include/complex
+1-0libcxx/include/module.modulemap.in
+1-0libcxx/include/CMakeLists.txt
+72-405 files

LLVM/project 057cc9dlibcxx/docs TestingLibcxx.rst, libcxx/test/libcxx/assertions/semantics override_with_ignore_semantic.pass.cpp override_with_observe_semantic.pass.cpp

[libc++] Refactor the conditions for enabling assertion tests (#213294)

Every hardening assertion test used to repeat a hand-rolled set of Lit
conditions like `has-unix-headers` and a bunch of others. Instead,
define a single Lit feature to handle all of them.

Assisted by Claude

Fixes #213148
DeltaFile
+113-0libcxx/utils/libcxx/test/features/hardening.py
+19-22libcxx/docs/TestingLibcxx.rst
+1-20libcxx/utils/libcxx/test/features/libcxx_macros.py
+5-6libcxx/test/libcxx/assertions/semantics/override_with_observe_semantic.pass.cpp
+4-5libcxx/test/libcxx/assertions/semantics/override_with_ignore_semantic.pass.cpp
+2-5libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp
+144-58220 files not shown
+393-793226 files

LLVM/project 3214218libcxx/test/std/utilities/charconv/charconv.msvc test.cpp, libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction uses_allocator_construction_args.pass.cpp uninitialized_construct_using_allocator.pass.cpp

[libc++] Add missing return 0 to main functions in tests (#214190)

The libc++ test suite requires main() to explicitly return a value,
since freestanding support requires it.
DeltaFile
+2-0libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.verify.cpp
+2-0libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ref_t.pass.cpp
+2-0libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uses_allocator_construction_args.pass.cpp
+2-0libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/uninitialized_construct_using_allocator.pass.cpp
+2-0libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.construction/make_obj_using_allocator.pass.cpp
+2-0libcxx/test/std/utilities/charconv/charconv.msvc/test.cpp
+12-055 files not shown
+121-061 files

LLVM/project 5dc3fcdllvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp, llvm/test/CodeGen/ARM execute-only.ll

[AsmPrinter] Emit STT_OBJECT type and size for jump tables (#214170)

Before this change, jump tables placed in a separate section were
emitted with no symbol type, leaving them STT_NOTYPE, and with no size
in their ELF file.

This change annotates the jump tables with object type and a size when
the target supports type/size directives. Jump tables inlined into the
function's own section are already covered by that function's symbol, so
they are left as-is.

This helps when disassembling a file, to understand that the jump table
is a single complete object, rather than the symbol being purely a
location. I think this reflects the ELF semantics better.
DeltaFile
+58-0llvm/test/CodeGen/RISCV/jumptable-sizes.ll
+7-0llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+1-0llvm/test/CodeGen/X86/pic.ll
+1-0llvm/test/CodeGen/ARM/execute-only.ll
+67-04 files

LLVM/project dd15c77llvm/test/CodeGen/AMDGPU/GlobalISel regbankcombiner-merge-readanylane.mir

[AMDGPU][GlobalISel] Pre-commit tests for readanylane merge regbank combine (NFC)

Add regbank-combiner tests covering a copy to vgpr whose source is a
merge or build_vector of G_AMDGPU_READANYLANE results and uniform
values. These currently keep the round trip through sgprs, and also
cover the cases where the merge has another user and where all merge
sources are uniform.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+103-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-merge-readanylane.mir
+103-01 files

LLVM/project c2f17bellvm/include/llvm/ExecutionEngine/Orc Core.h

[ORC] Make ExecutionSession non-copyable / non-moveable. (#214231)

Many ORC classes capture references to the ExecutionSession -- it is not
intended to be moved or copied.
DeltaFile
+5-0llvm/include/llvm/ExecutionEngine/Orc/Core.h
+5-01 files

FreeBSD/src 2733e05usr.bin/lorder/tests lorder_test.sh

tests/lorder_test: Update test case description from copy/paste

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 5a674a0694836616eaaff448345823594742ad76)
DeltaFile
+1-1usr.bin/lorder/tests/lorder_test.sh
+1-11 files

FreeBSD/src 625a7ebusr.bin/lorder/tests lorder_test.sh

tests/lorder_test: Update test case description from copy/paste

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 5a674a0694836616eaaff448345823594742ad76)
DeltaFile
+1-1usr.bin/lorder/tests/lorder_test.sh
+1-11 files

FreeBSD/src ffdac50cddl/contrib/opensolaris/lib/libdtrace/common dt_consume.c

libdtrace: Fix dt_print_sym() not printing symbols in non-oformat mode

dt_print_sym() fills the symbol string via snprintf() in non-oformat
mode but the guarding `dtp->dt_oformat != 0 &&` for the dt_printf()
call causes the symbol is computed but never emitted.

This fixes tests:

- common.profile-n.t_dtrace_contrib.tst_sym_ksh
- common.profile-n.t_dtrace_contrib.tst_func_ksh

Reviewed by:    markj
Fixes:          93f27766a7e1 ("dtrace: Add the 'oformat' libdtrace option")
MFC after:      3 days
Event:          Halifax Hackathon 202606
Location:       Room 208, Computer Science Building, Dalhousie University
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57895

(cherry picked from commit 8e61d8707f8a10acc143210089fea2502a3f2922)
DeltaFile
+1-1cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
+1-11 files

FreeBSD/src e6b49d7cddl/contrib/opensolaris/lib/libdtrace/common dt_consume.c

libdtrace: Fix dt_print_sym() not printing symbols in non-oformat mode

dt_print_sym() fills the symbol string via snprintf() in non-oformat
mode but the guarding `dtp->dt_oformat != 0 &&` for the dt_printf()
call causes the symbol is computed but never emitted.

This fixes tests:

- common.profile-n.t_dtrace_contrib.tst_sym_ksh
- common.profile-n.t_dtrace_contrib.tst_func_ksh

Reviewed by:    markj
Fixes:          93f27766a7e1 ("dtrace: Add the 'oformat' libdtrace option")
MFC after:      3 days
Event:          Halifax Hackathon 202606
Location:       Room 208, Computer Science Building, Dalhousie University
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D57895

(cherry picked from commit 8e61d8707f8a10acc143210089fea2502a3f2922)
DeltaFile
+1-1cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
+1-11 files

FreeBSD/src 424d07clibexec/rc/rc.d bthidd

rc.d/bthidd: Correct load_kld invocations

Pass a single module name to load_kld for kbdmux and vkbd, allowing
bthidd_prestart to load both modules successfully.

Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982)
DeltaFile
+2-2libexec/rc/rc.d/bthidd
+2-21 files

FreeBSD/src d690bf8libexec/rc/rc.d bthidd

rc.d/bthidd: Correct load_kld invocations

Pass a single module name to load_kld for kbdmux and vkbd, allowing
bthidd_prestart to load both modules successfully.

Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982)
DeltaFile
+2-2libexec/rc/rc.d/bthidd
+2-21 files

LLVM/project 239cbf5flang/lib/Optimizer/Transforms/CUDA CUFAllocDelay.cpp, flang/test/Transforms/CUF cuf-alloc-delay.fir

[flang][cuda] Delay box cuf.alloc past host association captures (#214347)

CUFAllocDelay treated the store of a descriptor into a host association
tuple as a use, so a device allocatable captured by an internal
procedure kept its descriptor allocation in the prologue. That allocates
managed memory before the program can call cudaSetDevice, binding a CUDA
context to the wrong device.

The store now sinks together with the allocation, constrained by the
tuple's readers, and the group is placed at the nearest common dominator
of all uses so it can sink into a later block.
DeltaFile
+160-9flang/test/Transforms/CUF/cuf-alloc-delay.fir
+112-51flang/lib/Optimizer/Transforms/CUDA/CUFAllocDelay.cpp
+272-602 files

LLVM/project a27b1d9clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64 neon-intrinsics.c

[CIR][AArch64] Upstream saturating-addition NEON builtins (#213755)

Related to https://github.com/llvm/llvm-project/issues/185382

CIR lowering for saturating-addition intrinsics
(https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#saturating-addition)

Port tests from `clang/test/CodeGen/AArch64/neon-intrinsics.c` to
`clang/test/CodeGen/AArch64/neon/add.c`
DeltaFile
+0-626clang/test/CodeGen/AArch64/neon-intrinsics.c
+557-0clang/test/CodeGen/AArch64/neon/add.c
+38-1clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+595-6273 files

FreeBSD/ports d9d158cdevel/jenkins Makefile, devel/jenkins-lts Makefile

devel/jenkins{,-lts}: Fix rc script output handling

- Add -f to daemon(8) so the service does not keep the caller's
  terminal or pipe open.  Before this, `service jenkins restart | tail`
  hung forever.
- Let rc.subr handle the user switch instead of a custom start_cmd.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+6-8devel/jenkins/files/jenkins.in
+6-8devel/jenkins-lts/files/jenkins.in
+1-0devel/jenkins/Makefile
+1-0devel/jenkins-lts/Makefile
+14-164 files

LLVM/project 3c8a11cclang/cmake/caches Fuchsia.cmake

[Fuchsia] Disable per-target runtime directories for Darwin (#214382)

This applies #214307 to the first stage as well.
DeltaFile
+2-1clang/cmake/caches/Fuchsia.cmake
+2-11 files

NetBSD/src 66ebMKwsys/arch/mvme68k/mvme68k isr.h

   Autovector interrupts aren't used on mvme68k at all, so g/c the
   isrlink_autovec() wrapper.
VersionDeltaFile
1.14+1-9sys/arch/mvme68k/mvme68k/isr.h
+1-91 files

LLVM/project 7e3ae4allvm/lib/Target/PISA PISAInstructionSelector.cpp

Add getAPFloatFromSize helper
DeltaFile
+14-0llvm/lib/Target/PISA/PISAInstructionSelector.cpp
+14-01 files

NetBSD/src MgyOE08sys/arch/mvme68k/dev sbic.c

   Don't need isr.h here.
VersionDeltaFile
1.38+2-3sys/arch/mvme68k/dev/sbic.c
+2-31 files

NetBSD/src PFY0tV6tools Makefile

   Build dtc as a tool for hb68k.
VersionDeltaFile
1.233+2-1tools/Makefile
+2-11 files

LLVM/project 8ba3d8fclang/lib/CIR/CodeGen CIRGenStmt.cpp CIRGenFunction.h, clang/test/CIR/CodeGenSYCL kernel-caller-entry-point.cpp kernel-call-stmt.cpp

[CIR][SYCL] Support SYCL kernel call statement in host codegen (#213728)

Add CIRGen support for lowering SYCLKernelCallStmt during host
compilation, emitting the kernel launch statement in place of the
`sycl_kernel_entry_point` function body (mirroring classic CodeGen). 

Device compilation, were the offload kernel caller entry point
is emitted instead, is future work and thus marked as NIY.
DeltaFile
+45-0clang/test/CIR/CodeGenSYCL/kernel-call-stmt.cpp
+35-0clang/lib/CIR/CodeGen/CIRGenSYCL.cpp
+23-0clang/test/CIR/CodeGenSYCL/kernel-caller-entry-point.cpp
+17-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+6-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+3-1clang/lib/CIR/CodeGen/CIRGenStmt.cpp
+129-11 files not shown
+130-17 files

LLVM/project e063f1fllvm/include/llvm/CodeGen RemoveRedundantDebugValues.h LiveDebugValuesPass.h, llvm/include/llvm/Transforms/Scalar ScalarizeMaskedMemIntrin.h

[NPM] Make few more passes required - 2 (#213608)

as discussed in https://github.com/llvm/llvm-project/pull/203511, few of
these should not really be required (such as sink) with O0/opt-none, yet
we require this for consistency between legacy and NPM. We need to look
at the passes separately and selectively make strictly optimizing passes
optional.
DeltaFile
+1-1llvm/include/llvm/Transforms/Utils/LowerInvoke.h
+1-1llvm/include/llvm/Transforms/Utils/FixIrreducible.h
+1-1llvm/include/llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h
+1-1llvm/include/llvm/CodeGen/RemoveRedundantDebugValues.h
+1-1llvm/include/llvm/CodeGen/LiveDebugValuesPass.h
+1-1llvm/include/llvm/CodeGen/ExpandReductions.h
+6-63 files not shown
+9-99 files

LLVM/project d77dfe7llvm/test/CodeGen/AMDGPU llvm.amdgcn.tanh.ll llvm.amdgcn.permlane.ptr.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-fcopysign.mir

rebase

Created using spr 1.3.7
DeltaFile
+3,980-3,687llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+1,025-625llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
+868-0llvm/test/Transforms/LoopInterchange/freeze.ll
+629-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
+311-303llvm/unittests/Object/GOFFObjectFileTest.cpp
+570-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+7,383-4,646325 files not shown
+19,626-7,339331 files

LLVM/project 05366e1llvm/test/CodeGen/AMDGPU llvm.amdgcn.tanh.ll llvm.amdgcn.permlane.ptr.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-fcopysign.mir

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+3,980-3,687llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+1,025-625llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
+868-0llvm/test/Transforms/LoopInterchange/freeze.ll
+629-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
+311-303llvm/unittests/Object/GOFFObjectFileTest.cpp
+570-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+7,383-4,646325 files not shown
+19,626-7,339331 files

LLVM/project c63ab73llvm/test/CodeGen/AMDGPU llvm.amdgcn.tanh.ll llvm.amdgcn.permlane.ptr.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-fcopysign.mir

rebase

Created using spr 1.3.7
DeltaFile
+3,980-3,687llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+1,025-625llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
+868-0llvm/test/Transforms/LoopInterchange/freeze.ll
+629-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
+311-303llvm/unittests/Object/GOFFObjectFileTest.cpp
+570-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+7,383-4,646325 files not shown
+19,626-7,339331 files

LLVM/project 2ac39dbllvm/test/CodeGen/AMDGPU llvm.amdgcn.tanh.ll llvm.amdgcn.permlane.ptr.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-fcopysign.mir

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+3,980-3,687llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+1,025-625llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
+868-0llvm/test/Transforms/LoopInterchange/freeze.ll
+629-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
+311-303llvm/unittests/Object/GOFFObjectFileTest.cpp
+570-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+7,383-4,646325 files not shown
+19,626-7,339331 files

LLVM/project ae61335llvm/test/CodeGen/AMDGPU llvm.amdgcn.tanh.ll llvm.amdgcn.permlane.ptr.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-fcopysign.mir

rebase

Created using spr 1.3.7
DeltaFile
+3,980-3,687llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+1,025-625llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
+868-0llvm/test/Transforms/LoopInterchange/freeze.ll
+629-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ptr.ll
+311-303llvm/unittests/Object/GOFFObjectFileTest.cpp
+570-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll
+7,383-4,646325 files not shown
+19,626-7,339331 files

LLVM/project 219524bllvm/docs WritingAnLLVMPass.md Passes.md

[LLVM][Docs] Remove bugpoint references

Bugpoint was removed in 9d5574dda60151dcd1eb6f315c20e4d9120596f9.

Reviewers: rnk, arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/214251
DeltaFile
+5-15llvm/docs/HowToSubmitABug.rst
+4-7llvm/docs/OptBisect.rst
+3-5llvm/docs/Passes.md
+1-1llvm/docs/WritingAnLLVMPass.md
+13-284 files