LLVM/project 38cf724libcxx/utils/libcxx/test format.py

Apply diff from `darker`
DeltaFile
+4-1libcxx/utils/libcxx/test/format.py
+4-11 files

LLVM/project 795a5a9flang/lib/Semantics resolve-names.cpp, flang/test/Lower/CUDA cuda-implicit-managed-alloc.cuf

[flang][cuda] Implicitly attribute allocatables/pointers under -gpu=unified (#209292)

When `-gpu=unified` is in effect, allocatables and pointers with no
explicit CUDA data attribute were left with no data attribute, and were allocated
as ordinary host memory. Under unified memory, such objects must be
reachable from the device; leaving them as plain host allocations makes device kernels
fault on systems that do not provide transparent host-memory access.

The existing code here already assigned `Managed` implicitly under
`-gpu=managed` (when CUDA Fortran is enabled). This extends that handling to
`-gpu=unified`: prefer the `Unified` attribute where it is legal (host subprogram, main
program, or derived-type component) so generic resolution still selects the unified
specific, and fall back to `Managed` elsewhere (module scope, device
subprograms). Both attributes route allocation through the same managed
allocator, so this keeps the allocation device-accessible while avoiding
spurious `ATTRIBUTES(UNIFIED)` legality errors.

The attribution stays gated on CUDA Fortran being enabled, preserving
the existing behavior for non-CUDA-Fortran translation units.
DeltaFile
+50-22flang/lib/Semantics/resolve-names.cpp
+54-0flang/test/Lower/CUDA/cuda-implicit-managed-alloc.cuf
+104-222 files

LLVM/project 7bb5fc1libunwind/test aix_vapi_unw_resume.pass.cpp

Update test to split CHECK lines between debug and non-debug
DeltaFile
+14-12libunwind/test/aix_vapi_unw_resume.pass.cpp
+14-121 files

LLVM/project 514ce2clibunwind/test aix_vapi_unw_resume.pass.cpp CMakeLists.txt, libunwind/test/configs cmake-bridge.cfg.in

IBM Bob: Add LIT feature for assertions-build; use FileCheck conditionally
DeltaFile
+2-1libunwind/test/aix_vapi_unw_resume.pass.cpp
+2-0libunwind/test/configs/cmake-bridge.cfg.in
+1-0libunwind/test/CMakeLists.txt
+5-13 files

LLVM/project 5b3fbf8lldb/include/lldb lldb-enumerations.h, lldb/source/Core PluginManager.cpp

[lldb] Expand ScriptedExtension coverage across scripted Python interfaces (NFC) (#209307)
DeltaFile
+14-3lldb/source/Core/PluginManager.cpp
+15-0lldb/include/lldb/lldb-enumerations.h
+13-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.cpp
+12-1lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.h
+12-1lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.h
+12-0lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
+78-512 files not shown
+114-1318 files

LLVM/project 0c19355llvm/lib/Target/Hexagon HexagonPatternsHVX.td, llvm/test/CodeGen/Hexagon/autohvx conv-fp-fp.ll

[Hexagon] Fix fpround fp32 -> fp16 pattern (#199704)

The pattern was passing hi and lo in the wrong order to `vcvt` causing
the final output after `vdeal` to be incorrect.
DeltaFile
+1-1llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
+1-1llvm/test/CodeGen/Hexagon/autohvx/conv-fp-fp.ll
+2-22 files

LLVM/project d6bf3d9libcxx/test/selftest if-else.sh.cpp

Add LIT test
DeltaFile
+11-0libcxx/test/selftest/if-else.sh.cpp
+11-01 files

LLVM/project a3ceea1libcxx/utils/libcxx/test format.py

[libcxx][utils] Fix `%if` substitution
DeltaFile
+2-1libcxx/utils/libcxx/test/format.py
+2-11 files

LLVM/project 6e5c97dorc-rt/include/orc-rt AllocAction.h, orc-rt/lib/executor AllocAction.cpp SimpleNativeMemoryMap.cpp

[orc-rt] Hoist run-alloc-actions functions, add error reporting. (#209356)

Hoist runFinalizeActions and runDeallocActions into AllocAction.h and
turn them into function templates with a ReportErrorFn argument that
enables error reporting. This is used to report errors from dealloc
actions.

Update SimpleNativeMemoryMap to direct such errors to the Session via
ReportErrorsViaSession.

Add unit tests covering the new error-reporting paths.
DeltaFile
+115-16orc-rt/test/unit/AllocActionTest.cpp
+0-55orc-rt/lib/executor/AllocAction.cpp
+37-2orc-rt/include/orc-rt/AllocAction.h
+16-0orc-rt/test/unit/CommonTestUtils.h
+5-4orc-rt/lib/executor/SimpleNativeMemoryMap.cpp
+0-1orc-rt/lib/executor/CMakeLists.txt
+173-786 files

FreeBSD/ports 6b254d1. MOVED, devel/py-great-tables Makefile

textproc/py-commonmark: Remove duplicate

textproc/py-CommonMark should be renamed into textproc/py-commonmark though
to match https://pypi.org/project/commonmark/

PR:             296071
Reported by:    Matthew Wener <bugzilla at FreeBSD.org>
DeltaFile
+0-27textproc/py-commonmark/Makefile
+0-6textproc/py-commonmark/pkg-descr
+0-3textproc/py-commonmark/distinfo
+2-1devel/py-great-tables/Makefile
+0-1textproc/Makefile
+1-0MOVED
+3-386 files

FreeBSD/ports 003229emath/the-algorithms-c++ pkg-plist distinfo, math/the-algorithms-c++/files patch-ciphers_uint256__t.hpp patch-ciphers_uint128__t.hpp

math/the-algorithms-c++: update g20240212 → g20251011

(cherry picked from commit f0137711775bcdd1bcb80d919853af4a58561369)
DeltaFile
+74-0math/the-algorithms-c++/pkg-plist
+29-0math/the-algorithms-c++/files/patch-ciphers_uint256__t.hpp
+27-0math/the-algorithms-c++/files/patch-ciphers_uint128__t.hpp
+0-13math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp
+3-3math/the-algorithms-c++/distinfo
+2-2math/the-algorithms-c++/Makefile
+135-186 files

FreeBSD/ports f013771math/the-algorithms-c++ pkg-plist distinfo, math/the-algorithms-c++/files patch-ciphers_uint256__t.hpp patch-ciphers_uint128__t.hpp

math/the-algorithms-c++: update g20240212 → g20251011
DeltaFile
+74-0math/the-algorithms-c++/pkg-plist
+29-0math/the-algorithms-c++/files/patch-ciphers_uint256__t.hpp
+27-0math/the-algorithms-c++/files/patch-ciphers_uint128__t.hpp
+0-13math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp
+3-3math/the-algorithms-c++/distinfo
+2-2math/the-algorithms-c++/Makefile
+135-186 files

LLVM/project e2c8fa0llvm/lib/Object ArchiveWriter.cpp, llvm/test/tools/llvm-ar zos-write.test

[SystemZ][z/OS] Add z/OS archive writing support (#200087)

This patch implement z/OS archive writing in ArchiveWriter and adds the
option `llvm-ar --format=zos`.

Moreover, This patch teaches `llvm-ar` to emit z/OS-compatible archives
by:
- Detecting GOFF object files as z/OS members
- Writing z/OS member headers and archive magic
- Converting archive headers and symbol-name string tables to EBCDIC
- Emitting z/OS symbol table entries
- Using EBCDIC newline padding bytes
- Add a z/OS-specific workaround for empty symbol tables by emitting a
dummy blank symbol to satisfy binder requirements.
DeltaFile
+92-6llvm/lib/Object/ArchiveWriter.cpp
+72-0llvm/test/tools/llvm-ar/zos-write.test
+17-1llvm/tools/llvm-ar/llvm-ar.cpp
+181-73 files

NetBSD/src MOTFdd9tests/net/if_ipsec t_ipsec_natt.sh, tests/net/ipsec t_ipsec_natt.sh

   ATF: Avoid DNS timeout of netstat(1).
VersionDeltaFile
1.6+2-2tests/net/ipsec/t_ipsec_natt.sh
1.6+2-2tests/net/if_ipsec/t_ipsec_natt.sh
+4-42 files

LLVM/project 906e54allvm/lib/Target/AMDGPU SIISelLowering.cpp SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU global-atomicrmw-fadd.ll atomic_optimizations_global_pointer.ll

Implement in legalizer
DeltaFile
+227-453llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
+89-180llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
+24-56llvm/test/CodeGen/AMDGPU/bf16.ll
+31-3llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+0-13llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+1-11llvm/lib/Target/AMDGPU/SIInstructions.td
+372-7163 files not shown
+379-7249 files

LLVM/project 4058610llvm/lib/Target/Hexagon HexagonTargetMachine.cpp

[Hexagon] Register MachineKCFILegacy pass in LLVMInitializeHexagonTarget (#209245)

Hexagon's target-init function never called
initializeMachineKCFILegacyPass(PR), unlike X86, ARM, AArch64, and
RISCV. Since PassRegistry is process-wide and each target's init
function registers passes as a side effect when linked into the same
binary, whether test/CodeGen/Hexagon/kcfi.ll passed depended on whether
some other target providing that registration was also built into llc,
rather than on Hexagon's own configuration.
DeltaFile
+2-0llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
+2-01 files

FreeNAS/freenas 3e98a32src/middlewared/middlewared/pytest/unit/utils test_interface_util.py, src/middlewared/middlewared/utils interface.py

Wait for the default route to appear during docker startup check

## Problem
Apps fail to start on every boot with "Unable to determine default interface" whenever the default route is installed asynchronously -- e.g. a DHCP bridge that has to converge through STP forward-delay before dhcpcd can acquire a lease and install the route. `validate_interfaces` read the route table exactly once at system.ready and gave up immediately if no default route was present yet, so the check lost the race by a few seconds. Unsetting and re-setting the apps pool only worked around it because that re-runs the check later, after the route already exists.

## Solution
`wait_for_default_interface_link_state_up` now polls `get_default_interface()` once a second within the existing IFACE_LINK_STATE_MAX_WAIT budget instead of reading once, so a late-arriving default route is picked up rather than aborting startup. Returns (None, False) only if no default interface shows up within the whole window.

(cherry picked from commit 849a61e236a0f73c39fd115b154410d338608c5a)
DeltaFile
+56-0src/middlewared/middlewared/pytest/unit/utils/test_interface_util.py
+22-4src/middlewared/middlewared/utils/interface.py
+78-42 files

FreeNAS/freenas 3d769e7src/middlewared/middlewared/pytest/unit/utils test_interface_util.py, src/middlewared/middlewared/utils interface.py

NAS-141446 / 27.0.0-BETA.1 / Wait for the default route to appear during docker startup check (#19279)

## Problem
Apps fail to start on every boot with "Unable to determine default
interface" whenever the default route is installed asynchronously --
e.g. a DHCP bridge that has to converge through STP forward-delay before
dhcpcd can acquire a lease and install the route. `validate_interfaces`
read the route table exactly once at system.ready and gave up
immediately if no default route was present yet, so the check lost the
race by a few seconds. Unsetting and re-setting the apps pool only
worked around it because that re-runs the check later, after the route
already exists.

## Solution
`wait_for_default_interface_link_state_up` now polls
`get_default_interface()` once a second within the existing
IFACE_LINK_STATE_MAX_WAIT budget instead of reading once, so a
late-arriving default route is picked up rather than aborting startup.
Returns (None, False) only if no default interface shows up within the
whole window.
DeltaFile
+56-0src/middlewared/middlewared/pytest/unit/utils/test_interface_util.py
+22-4src/middlewared/middlewared/utils/interface.py
+78-42 files

FreeBSD/ports 68e26batextproc/ov distinfo Makefile

textproc/ov: Update to 0.54.0

Changelog: https://github.com/noborus/ov/releases/tag/v0.54.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-5textproc/ov/distinfo
+2-3textproc/ov/Makefile
+7-82 files

LLVM/project b218156clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.cpp, clang/lib/ScalableStaticAnalysis/Core/WholeProgramAnalysis AnalysisDriver.cpp

[SSAF] Filter out type-constrained pointers from all reachable unsafe pointers

Integrate the TypeConstrainedPointers analysis results into
UnsafeBufferReachableAnalysis.  The final result is filtered with
type-constrainted pointers.

The pointer flow graph is untouched. Removing type-constrained
pointers from the graph will introduce unsoundness.

Final step for rdar://179151541&179151882
DeltaFile
+74-0clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
+59-15clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+40-0clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-main.cpp
+26-0clang/test/Analysis/Scalable/ssaf-analyzer/Outputs/empty-pairs.json
+7-11clang/lib/ScalableStaticAnalysis/Core/WholeProgramAnalysis/AnalysisDriver.cpp
+5-5clang/test/Analysis/Scalable/ssaf-analyzer/analyzer.test
+211-314 files not shown
+215-3510 files

LLVM/project 2b8488allvm/utils profcheck-xfail.txt

[BPF][ProfCheck] Exclude sink-min-max.ll (#209352)

This was exposed by porting the pass to the NewPM, so just exclude it
for now.
DeltaFile
+1-0llvm/utils/profcheck-xfail.txt
+1-01 files

LLVM/project 252ad20compiler-rt/lib/gwp_asan/optional backtrace_linux_libc.cpp

[compiler-rt][GWP-ASan] Use no-op backtrace if execinfo.h missing (#201266)

Guard backtrace_linux_libc.cpp with __has_include(<execinfo.h>) so that
targets without it (e.g. musl libc) get null stubs instead of a build
failure.
DeltaFile
+19-1compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
+19-11 files

FreeBSD/src 2e21f7esys/dev/ena ena.c

ena: Put taskqueues into correct domain if !RSS

When compiled without 'options RSS', the ena driver created taskqueues
using taskqueue_start_threads_cpuset passing a mask value of NULL,
both in the ena_setup_tx_resources path (for enqueues) and in the
ena_create_io_queues path (for the completion-processing).

In the default configuration, on most EC2 instances, this results in
taskqueues running in the right NUMA domain, but only by accident; in
non-default configurations (e.g. with with multiple EBS volumes
attached and associated NVMe taskqueues) the taskqueues may land in
the wrong NUMA domain even on instance types where the one-EBS-one-ENA
case produces the desired results.

Set (struct ena_que)->domain and use that to inform the choice of CPU
sets.  On a c8gn.48xlarge EC2 instance this doubles throughput on a
32-TCP-stream benchmark.

Reviewed by:    akiyano

    [3 lines not shown]
DeltaFile
+11-1sys/dev/ena/ena.c
+11-11 files

FreeBSD/ports 7109897devel/sentry-cli distinfo Makefile.crates, devel/sentry-cli/files patch-Cargo.toml

devel/sentry-cli: Update to 3.6.0

Changelog: https://github.com/getsentry/sentry-cli/blob/3.6.0/CHANGELOG.md

PR:             296334
Approved by:    lcook (maintainer, timeout 2 weeks)
DeltaFile
+9-9devel/sentry-cli/distinfo
+3-3devel/sentry-cli/Makefile.crates
+2-2devel/sentry-cli/files/patch-Cargo.toml
+1-1devel/sentry-cli/Makefile
+15-154 files

LLVM/project 1b87c3fllvm/include/llvm/IR Value.h, llvm/lib/Transforms/Scalar JumpThreading.cpp

Address review comments

Created using spr 1.3.6-beta.1
DeltaFile
+24-0llvm/test/Transforms/JumpThreading/ptrauth.ll
+10-9llvm/lib/Transforms/Scalar/JumpThreading.cpp
+1-1llvm/include/llvm/IR/Value.h
+35-103 files

LLVM/project 7a756ballvm/lib/Target/BPF BPFAsmPrinter.cpp BPFCodeGenPassBuilder.cpp

[BPF][NewPM] Port AsmPrinter

This is necessary to make the new pass manager fully supported for BPF.
This should be the last patch in the series.

Reviewers: yonghong-song, arsenm, eddyz87

Pull Request: https://github.com/llvm/llvm-project/pull/207854
DeltaFile
+35-0llvm/lib/Target/BPF/BPFAsmPrinter.cpp
+25-0llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+22-0llvm/lib/Target/BPF/BPFAsmPrinter.h
+82-03 files

LLVM/project 507b0b5clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,909 files not shown
+499,499-375,2667,915 files

LLVM/project 07a4eacllvm/lib/Target/BPF BPFMIChecking.cpp BPF.h

[BPF][NewPM] Port BPFMIPreEmitCheckingPass

Standard pass porting. Needed to make BPF fully support the NewPM.

Reviewers: yonghong-song, aeubanks, eddyz87

Pull Request: https://github.com/llvm/llvm-project/pull/207850
DeltaFile
+33-33llvm/lib/Target/BPF/BPFMIChecking.cpp
+10-2llvm/lib/Target/BPF/BPF.h
+2-2llvm/lib/Target/BPF/BPFTargetMachine.cpp
+1-1llvm/lib/Target/BPF/BPFCodeGenPassBuilder.cpp
+1-0llvm/lib/Target/BPF/BPFPassRegistry.def
+47-385 files

FreeBSD/ports 785652fcad/verilator Makefile

cad/verilator: Add missing lz4 run-time dependency

PR:             296673
Reported by:    Joel Bodenmann <jbo at FreeBSD.org>

(cherry picked from commit 40e5f725452bf9fbcf763c020038f075bf47a99a)
DeltaFile
+3-2cad/verilator/Makefile
+3-21 files

LLVM/project aa72e55clang/test/OpenMP teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp, llvm/docs LangRef.rst LangRef.md

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+20,246-21,270llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+0-33,190llvm/docs/LangRef.rst
+30,314-0llvm/docs/LangRef.md
+8,882-7,730llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+6,601-5,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.a16.ll
+12,190-0clang/test/OpenMP/teams_distribute_parallel_for_simd_if_openmp52_codegen.cpp
+78,233-68,1117,909 files not shown
+499,499-375,2667,915 files