HardenedBSD/src 401ca41lib/libc/tests/stdlib system_test.c, libexec/flua/lfs lfs.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+54-24sys/netinet6/nd6_nbr.c
+27-11lib/libc/tests/stdlib/system_test.c
+2-2share/dict/web2
+4-0libexec/flua/lfs/lfs.c
+3-0sys/netinet6/nd6.h
+1-1share/man/man9/namei.9
+91-383 files not shown
+94-419 files

HardenedBSD/src 7aa35b1lib/libc/tests/stdlib system_test.c, libexec/flua/lfs lfs.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+54-24sys/netinet6/nd6_nbr.c
+27-11lib/libc/tests/stdlib/system_test.c
+4-0libexec/flua/lfs/lfs.c
+2-2share/dict/web2
+3-0sys/netinet6/nd6.h
+1-1share/man/man7/hier.7
+91-383 files not shown
+94-419 files

FreeBSD/ports 22609f4misc/freebsd-release-manifests pkg-plist, misc/freebsd-release-manifests/files/MANIFESTS arm64-aarch64-14.4-RC1 amd64-amd64-14.4-RC1

misc/freebsd-release-manifests: Add 14.4-RELEASE MANIFEST files

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative

(cherry picked from commit 7db22f508e754c67b1cf1932bc77a708dce453d4)
DeltaFile
+8-8misc/freebsd-release-manifests/pkg-plist
+0-9misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-14.4-RC1
+0-9misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-14.4-RC1
+9-0misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-14.4-RELEASE
+0-9misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-14.4-RC1
+9-0misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-14.4-RELEASE
+26-3512 files not shown
+71-7118 files

FreeBSD/doc baf4d6cwebsite/content/en/releases/14.4R announce.adoc announce.asc

14.4: Add release announcement

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+764-0website/content/en/releases/14.4R/announce.adoc
+726-0website/content/en/releases/14.4R/announce.asc
+1,490-02 files

LLVM/project 4095ac9clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenBuiltin.cpp CIRGenCall.cpp

[CIR][CIRGen] Upstream support for `__builtin_bcopy` (#185038)

This adds CIR support for the bcopy builtin.
DeltaFile
+116-0clang/test/CIR/CodeGenBuiltins/builtin-bcopy.cpp
+29-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+12-2clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+9-0clang/lib/CIR/CodeGen/CIRGenCall.cpp
+9-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+7-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+182-31 files not shown
+187-37 files

LLVM/project 27e7502llvm/test/CodeGen/AArch64 fp-maximumnum-minimumnum.ll, llvm/test/CodeGen/X86 wide-scalar-shift-by-byte-multiple-legalization.ll andnot-sink-not.ll

Merge branch 'main' into users/s-perron/fix-vector-type-printer
DeltaFile
+1,561-2,812llvm/test/CodeGen/X86/wide-scalar-shift-by-byte-multiple-legalization.ll
+2,071-1,930llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
+3,114-0llvm/test/CodeGen/X86/andnot-sink-not.ll
+969-2,001llvm/test/CodeGen/X86/bit-manip-i512.ll
+538-1,357llvm/test/CodeGen/X86/shift-i512.ll
+1,273-36llvm/test/MC/AMDGPU/gfx1170_asm_vop3_dpp16.s
+9,526-8,1361,961 files not shown
+75,334-34,0311,967 files

LLVM/project 1b396eeutils/bazel/llvm-project-overlay/libc BUILD.bazel

[Bazel] Fix 6a6564cd1476270e9342b6be0792109516ddd99c

Introduced a new header/dependencies on said header.
DeltaFile
+6-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+6-01 files

FreeBSD/ports 7db22f5misc/freebsd-release-manifests pkg-plist, misc/freebsd-release-manifests/files/MANIFESTS amd64-amd64-14.4-RC1 powerpc-powerpc64-14.4-RELEASE

misc/freebsd-release-manifests: Add 14.4-RELEASE MANIFEST files

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+8-8misc/freebsd-release-manifests/pkg-plist
+0-9misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-14.4-RC1
+9-0misc/freebsd-release-manifests/files/MANIFESTS/powerpc-powerpc64-14.4-RELEASE
+9-0misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-14.4-RELEASE
+9-0misc/freebsd-release-manifests/files/MANIFESTS/amd64-amd64-14.4-RELEASE
+0-9misc/freebsd-release-manifests/files/MANIFESTS/arm64-aarch64-14.4-RC1
+35-2612 files not shown
+71-7118 files

LLVM/project 982beb1clang/lib/Basic/Targets SPIR.h, clang/test/Sema scoped-atomic-ops.c

[SPIR] Do not warn on 64-bit atomics (#185502)

Summary:
SPIR-V's Int64Atomics capability is not dependent on its addressing mode
as far as I am aware. These 32-bit SPIR targets already claim to support
the cl_khr_int64 atomics and we already emit 64-bit atomics in the
backend. Additionally, this is already accepted as a hack due to the
fact that the host will increase it in offloading usage. I do not see a
reason to keep these at 32, which causes numerous warnings inside of the
`libclc` build.
DeltaFile
+5-0clang/test/Sema/scoped-atomic-ops.c
+2-2clang/lib/Basic/Targets/SPIR.h
+7-22 files

LLVM/project 0b5c16blibclc/opencl/lib/amdgcn/printf __printf_alloc.cl, libclc/opencl/lib/generic/atomic atomic_fetch_add.cl atomic_fetch_sub.cl

[libclc] Replace last of `opencl` atomics with `__scoped_` versions (#185515)

Summary:
These were the only uses of the old atomics. The old definition guards
stay as those prevent us from compiling the unsupported uintptr_t atomic
type on nvptx which does not define it. Could probably be improved
later.
DeltaFile
+6-6libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+6-6libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+5-5libclc/opencl/lib/amdgcn/printf/__printf_alloc.cl
+17-173 files

LLVM/project 367569ellvm/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/test/CodeGen/AArch64 clmul-fixed.ll

[SelectionDAG] Use ExpandIntRes_CLMUL  to expand vector CLMUL via  narrower legal types (#184468)

Reuse the ExpandIntRes_CLMUL identity to expand vector
CLMUL/CLMULR/CLMULH on wider element types (vXi16, vXi32, vXi64) by
decomposing into half-element-width operations that eventually reach a
legal CLMUL type.

Three generic strategies in expandCLMUL:
1. Halve: halve element width (e.g. v8i16 -> v8i8 on AArch64)
2. promote to double : zext to wider type if CLMUL is legal there (e.g.
x86)
3. Count widen: pad with undef to double element count (e.g. v4i16 ->
v8i16)

A helper canNarrowCLMULToLegal() guides strategy selection and prevents
circular expansion in the CLMULH bitreverse path.

Also add Custom BITREVERSE lowering for v4i16/v8i16 on AArch64 using
REV16+RBIT, which the CLMULH expansion relies on.

Fixes #183768
DeltaFile
+853-1,663llvm/test/CodeGen/AArch64/clmul-fixed.ll
+68-87llvm/test/CodeGen/X86/clmul-vector.ll
+143-10llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+1,064-1,7603 files

NetBSD/src iwuLhI5sys/arch/virt68k/include bootinfo.h, sys/arch/virt68k/virt68k bootinfo.c machdep.c

   Simplify / generalize the bootinfo code by hoisting out the console
   handling stuff out of booinfo.c and into machdep.c.
VersionDeltaFile
1.16+2-66sys/arch/virt68k/virt68k/bootinfo.c
1.24+23-7sys/arch/virt68k/virt68k/machdep.c
1.9+1-9sys/arch/virt68k/include/bootinfo.h
+26-823 files

FreeNAS/freenas 7d5ac17src/middlewared/middlewared/api/v27_0_0 docker.py

Minor fix
DeltaFile
+5-1src/middlewared/middlewared/api/v27_0_0/docker.py
+5-11 files

NetBSD/src Eh7N4g8external/gpl3/gcc.old/lib/libstdc++-v3 Makefile

   fix stack-protector build on atari
VersionDeltaFile
1.19+2-1external/gpl3/gcc.old/lib/libstdc++-v3/Makefile
+2-11 files

LLVM/project 1324ea1llvm/lib/Target/WebAssembly WebAssemblyInstrSIMD.td, llvm/test/CodeGen/WebAssembly simd-reductions.ll simd-memcmp.ll

[WebAssembly] Fold any/alltrue SIMD boolean reductions with eqz (#184704)

Existing ISel patterns match setne/seteq following SIMD boolean reductions
any_true and all_true, and drop the ones that are redundant (because the
reductions always return 1 or 0). This adds patterns to also produce eqz
instructions instead of a comparison with a const.
DeltaFile
+243-48llvm/test/CodeGen/WebAssembly/simd-reductions.ll
+1-2llvm/test/CodeGen/WebAssembly/simd-memcmp.ll
+2-0llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
+246-503 files

LLVM/project 331a91cllvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp

[NFC][AMDGPU] Add debug print to `AMDGPULowerVGPREncoding.cpp` (#185331)
DeltaFile
+91-3llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+91-31 files

OpenBSD/ports v5rFL3Carchivers/lzip/tarlz distinfo Makefile, archivers/lzip/tarlz/patches patch-testsuite_check_sh

   Update tarlz to 0.29.

   The patch for the test suite is no longer needed as the test it was disabling
   is not run on OpenBSD anymore.
VersionDeltaFile
1.17+2-2archivers/lzip/tarlz/distinfo
1.23+1-1archivers/lzip/tarlz/Makefile
1.4+0-0archivers/lzip/tarlz/patches/patch-testsuite_check_sh
+3-33 files

LLVM/project a8b726aflang-rt/lib/runtime execute.cpp, flang-rt/unittests/Runtime CommandTest.cpp

[flang-rt] Need to pad the output of execute_command_line(..., CMDMSG) (#185509)

Previously the error message was copied, but not padded for cases where
the message was shorter than the passed CMDMSG string. Add the padding
and also change the test case to test padding on all platforms.
DeltaFile
+12-5flang-rt/unittests/Runtime/CommandTest.cpp
+4-8flang-rt/lib/runtime/execute.cpp
+16-132 files

LLVM/project f2dc489llvm/test/Analysis/CostModel/AMDGPU exp.ll exp10.ll

[AMDGPU] Replace undef with poison in exp/exp2/exp10 cost tests NFC (#185527)
DeltaFile
+192-192llvm/test/Analysis/CostModel/AMDGPU/exp.ll
+192-192llvm/test/Analysis/CostModel/AMDGPU/exp10.ll
+192-192llvm/test/Analysis/CostModel/AMDGPU/exp2.ll
+576-5763 files

OpenBSD/ports azFtEUharchivers/lzip/pdlzip distinfo Makefile

   Update pdlzip to 1.15.
VersionDeltaFile
1.12+2-2archivers/lzip/pdlzip/distinfo
1.19+1-1archivers/lzip/pdlzip/Makefile
+3-32 files

OpenBSD/ports fLR3nOfaudio/openal Makefile

   set MODCLANG_COMPILER_LINKS = No, we only want to install ports clang
   (for clang-scan-deps which is needed for C++20 modules but not included
   in base), we don't want to use it to compile.

   this still adds as an unwanted BDEP on ports-gcc archs, but at least it
   doesn't then get in the way of build. (we do want to use the module rather
   than add a BDEP on a hardcoded lang/llvm/19).

   found by jca@
VersionDeltaFile
1.74+1-0audio/openal/Makefile
+1-01 files

LLVM/project 9d35ee2llvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp

change all
DeltaFile
+9-9llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+9-91 files

LLVM/project 2ec0ff7llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.h AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-scheduler.ll

[AMDGPU] Add stalls for DS FIFO buffer

Change-Id: I73e56da97a931349e0655e4e20b24aeb97920647
DeltaFile
+56-51llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+41-6llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+40-2llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+137-593 files

LLVM/project a4ab49allvm/test/CodeGen/AMDGPU coexec-sched-effective-stall.mir

Fix mir test

Change-Id: I1b3dba10ea74c98454c433ecd52b165836929075
DeltaFile
+2-1llvm/test/CodeGen/AMDGPU/coexec-sched-effective-stall.mir
+2-11 files

LLVM/project 1cfd5a4llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp AMDGPUCoExecSchedStrategy.h, llvm/test/CodeGen/AMDGPU coexec-scheduler.ll coexec-sched-effective-stall.mir

[AMDGPU] Add HWUI pressure heuristics to coexec strategy

Change-Id: I322cc670c8d923a6df23588d8a14cdaec1f49da9
DeltaFile
+601-0llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
+413-22llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+284-2llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+4-4llvm/test/CodeGen/AMDGPU/coexec-sched-effective-stall.mir
+1,302-284 files

LLVM/project a8caa42llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp AMDGPUCoExecSchedStrategy.h

Use AMDGPU namespace + const ref

Change-Id: Ie4ca27528c92dbd0f3cf6293d9bc25d13b7d31fc
DeltaFile
+17-16llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+12-8llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+29-242 files

LLVM/project e18117ellvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp

Change old code

Change-Id: I26cff6c0c5743684778f022b264c9930eeff24ce
DeltaFile
+4-2llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+4-21 files

LLVM/project bc2d276llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.cpp

Formating.
DeltaFile
+3-3llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+3-31 files

LLVM/project 19977f9llvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp GCNSubtarget.cpp, llvm/test/CodeGen/AMDGPU amdgpu-workload-type-scheduler-debug.mir

Remove module "workload-type" metadata.
DeltaFile
+0-114llvm/test/CodeGen/AMDGPU/amdgpu-workload-type-scheduler-debug.mir
+10-45llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+1-16llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
+11-3llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+4-1llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+4-0llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
+30-1796 files

LLVM/project 28e38e4llvm/lib/Target/AMDGPU GCNSchedStrategy.cpp AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-sched-effective-stall.mir

[AMDGPU] Add structural stall heuristic to scheduling strategies

Implements a structural stall heuristic that considers both resource
hazards and latency constraints when selecting instructions. In coexec,
this changes the pending queue from a binary “not ready to issue”
distinction into part of a unified candidate comparison. Pending
instructions still identify structural stalls in the current cycle, but
they are now evaluated directly against available instructions by stall
cost, making the heuristics both more intuitive and more expressive.

- Add getStructuralStallCycles() to GCNSchedStrategy that computes the
number of cycles an instruction must wait due to:
  - Resource conflicts on unbuffered resources (from the SchedModel)
  - Sequence-dependent hazards (from GCNHazardRecognizer)

- Add getHazardWaitStates() to GCNHazardRecognizer that returns the number
of wait states until all hazards for an instruction are resolved,
providing cycle-accurate hazard information for scheduling heuristics.
DeltaFile
+35-0llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
+26-3llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+7-2llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
+6-0llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
+4-0llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+2-2llvm/test/CodeGen/AMDGPU/coexec-sched-effective-stall.mir
+80-71 files not shown
+82-77 files