GhostBSD/ports b5e0fcbsysutils Makefile

sysutils/Makefile: remove duplicate p5-reslog SUBDIR entry

The last merge from freebsd/main added p5-reslog a second time, which made
poudriere fail while gathering ports metadata.
DeltaFile
+0-1sysutils/Makefile
+0-11 files

FreeBSD/ports 716c2demisc/py-pytorch Makefile pkg-message, misc/py-pytorch/files patch-cpuinfo-with-freebsd-support_src_cpuinfo_internal-api.h patch-cpuinfo-with-freebsd-support_CMakeLists.txt

misc/py-pytorch: fix unknown symbol on aarch64; add pkg-message

Add cpuinfo patch to support aarch64 for this.
DeltaFile
+186-0misc/py-pytorch/files/patch-cpuinfo-with-freebsd-support_src_arm_freebsd_init.c
+26-0misc/py-pytorch/pkg-message
+19-0misc/py-pytorch/files/patch-cpuinfo-with-freebsd-support_CMakeLists.txt
+19-0misc/py-pytorch/files/patch-cpuinfo-with-freebsd-support_src_init.c
+17-0misc/py-pytorch/files/patch-cpuinfo-with-freebsd-support_src_cpuinfo_internal-api.h
+7-1misc/py-pytorch/Makefile
+274-11 files not shown
+275-47 files

FreeBSD/ports b859fb9science/neko Makefile distinfo, science/neko/files patch-tests_integration_tests_test__examples_test__examples.py

science/neko: update 1.0.3 → 1.1.2
DeltaFile
+150-36science/neko/pkg-plist
+18-5science/neko/files/patch-tests_integration_tests_test__examples_test__examples.py
+3-3science/neko/distinfo
+2-3science/neko/Makefile
+173-474 files

FreeBSD/ports 8ba88c4science/ttk Makefile

science/ttk: add missing optional dependencies

PR:             297890
Reported by:    Thierry Thomas <thierry at FreeBSD.org>
DeltaFile
+8-0science/ttk/Makefile
+8-01 files

FreeBSD/ports 26491e0misc/lbann Makefile

misc/lbann: remove gcc dependency to fix build on arm64; broken on i386
DeltaFile
+3-1misc/lbann/Makefile
+3-11 files

FreeBSD/ports d57b2e0databases/py-pylance Makefile

databases/py-pylance: broken on arm64

Reported by:    fallout
DeltaFile
+2-0databases/py-pylance/Makefile
+2-01 files

LLVM/project 4c36312lldb/include/lldb/Expression LLVMUserExpression.h, lldb/source/Expression LLVMUserExpression.cpp

[lldb] Refactor PrepareToExecuteJITExpression (#224888)

Refactor the body of PrepareToExecuteJITExpression into two methods:
AllocateInterpreterStackFrame and AllocateAndMaterializeStruct.

This change is purely mechanical, but improves readability and sets up a
future refactor: AllocateAndMaterializeStruct is generic expression
setup and should remain where it is, but AllocateInterpreterStackFrame
is only needed on the interpreter path and can be sunk into that path in
a future commit.

---------

Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
DeltaFile
+72-52lldb/source/Expression/LLVMUserExpression.cpp
+17-0lldb/include/lldb/Expression/LLVMUserExpression.h
+9-2lldb/test/API/commands/expression/memory-allocation/TestMemoryAllocSettings.py
+98-543 files

LLVM/project 7c47f42llvm/include/llvm/ExecutionEngine/Orc/Shared/SPSCI CallSPSCI.h

[ORC] Mangle Call CI names as C (#225227)

Flip the Call descriptors (call_main, call_void_void, call_int32_void,
call_int32_int32) from Verbatim to C, so their names carry the target's
C mangling. Served by the in-tree OrcRTBootstrap; controller and
executor mangle the same specs and nothing else defines these names.
DeltaFile
+4-4llvm/include/llvm/ExecutionEngine/Orc/Shared/SPSCI/CallSPSCI.h
+4-41 files

LLVM/project d024790clang/test/AST/ByteCode module-redecl1.cpp

[clang][test] Fix module cache path in module-redecl1.cpp (#225241)

Fixes commit aa6b03ed5a9ffe5ba6f0d945fac9961884b5c6ed

Use `-fmodules-cache-path=%t` instead of `Inputs/` which fails in
read-only test sandboxes due to permission errors when writing compiled
module files. Also clean `%t` before execution and remove redundant
`-cc1`, matching the RUN lines in
test/Modules/redecl-add-after-load.cpp.
DeltaFile
+3-2clang/test/AST/ByteCode/module-redecl1.cpp
+3-21 files

LLVM/project 26c90e1llvm/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/test/MC/COFF ir-to-imgrel.ll

[TargetLowering][COFF] Only check shouldAssumeDSOLocal on GlobalVariable in lowerRelativeReference (#225160)

In #220674, a check was added to lowerRelativeReference requiring that
LHS be dso_local to prevent image-relative relocations for dllimport
variables. However, this check was applied unconditionally to all
GlobalObjects, including functions.

On Windows COFF, dllimport functions are valid targets for
image-relative relocations because the linker provides import thunks in
the local image. In particular, MSVC C++ exception handling metadata
(ThrowInfo and CatchableType) references imported copy constructors and
destructors via image-relative offsets when throwing exception types
across DLL boundaries. Rejecting them caused compilation failures in
downstream projects like PyTorch with:
"error: symbol '__ImageBase' can not be undefined in a subtraction
expression"

Restrict the shouldAssumeDSOLocal check to GlobalVariables only.
DeltaFile
+15-7llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+1-1llvm/test/MC/COFF/ir-to-imgrel.ll
+16-82 files

LLVM/project 8d64e84clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

[CIR][NFC] Route target facts in LoweringPrepare through LowerModule (#225236)

LowerModule already rebuilds a full clang::TargetInfo
from the module's cir.triple and exposes getTarget() 
and getCXXABIKind(). The changes are a pure routing
change: no new attribute and no CIRGen change, 
since every routed fact is derivable from the triple,
that is already included in the module.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply at anthropic.com>
DeltaFile
+39-35clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+39-351 files

OpenBSD/src inFl5M7usr.sbin/rtrd rtrd.h signals.c

   Seperate signal flags to avoid race conditions
   OK deraadt@
VersionDeltaFile
1.5+26-24usr.sbin/rtrd/signals.c
1.2+8-2usr.sbin/rtrd/rtrd.h
+34-262 files

LLVM/project d28da7elldb/source/Plugins/ScriptInterpreter/Python/Interfaces ScriptedThreadPythonInterface.cpp ScriptedCommandPythonInterface.cpp

[lldb] Make ScriptedPythonInterface::Dispatch return llvm::Expected<T> (#224988)

Until now, `Dispatch` returned the extracted value and reported failure
through a `Status &` out-parameter, which leaves the two outcomes
indistinguishable at the value level: a Python method that returns
`None` and one that raises both hand back a default-constructed `T`.
Only `error` told them apart, and because the signature advertises the
value, call sites reached for the value and dropped the error.

Three real instances of that:

- `ScriptedHookPythonInterface::HandleStop` returned `true` whenever the
object was null, discarding the backtrace of a raising `handle_stop`
(fixed separately).
- `GetStatusFromMethod` discarded `Dispatch<Status>`'s return value, so
the `SBError` returned by `ScriptedProcess.launch/attach/resume` and the
three `ScriptedPlatform` entry points was ignored entirely: a `launch()`
returning `SBError("no such file")` reported success.
- `GetThreadPlanMetadataForStepType` string-matched the exception text

    [28 lines not shown]
DeltaFile
+224-148lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
+122-160lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
+66-109lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedFramePythonInterface.cpp
+59-74lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
+42-48lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedCommandPythonInterface.cpp
+31-51lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPythonInterface.cpp
+544-59017 files not shown
+771-84223 files

LLVM/project 80f155ellvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.dot.ll

[AMDGPU][InstCombine] Fold zero dot operands to accumulator

Fold AMDGPU dot intrinsics when either operand is zero.

`dot(a, 0) = 0` and `dot(0, b) = 0`, so replace the intrinsic with its accumulator.
This avoids unrelated clamp and add/sub reassociation cases.
DeltaFile
+15-30llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dot.ll
+3-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+18-302 files

LLVM/project f029c5dllvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.dot.ll

[AMDGPU][InstCombine] Canonicalize dot constant operands

Move constant dot product source operands to the right hand side
and add tests for signed and unsigned dot intrinsics.
DeltaFile
+12-12llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dot.ll
+9-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+21-122 files

LLVM/project 3e55f4fllvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp, llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.dot.ll

[AMDGPU][InstCombine] Fold constant add/sub into the dot accumulator

`amdgcn.{s,u}dot{2,4,8}(a, b, C) +/- K -> dot(a, b, C +/- K)` when both the
accumulator C and K are constants. The new constant is computed with
wrapping APInt arithmetic to match the non-clamping accumulate.

Only applies when clamp is false (the saturating accumulate does not
reassociate) and the dot has a single use. K - dot is left alone since it
would need the dot product negated.
DeltaFile
+33-66llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dot.ll
+38-0llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+71-662 files

LLVM/project fcec280llvm/test/Transforms/InstCombine/AMDGPU llvm.amdgcn.dot.ll

Remove declare
DeltaFile
+0-9llvm/test/Transforms/InstCombine/AMDGPU/llvm.amdgcn.dot.ll
+0-91 files

LLVM/project 348c110llvm/lib/Transforms/IPO LowerTypeTests.cpp ThinLTOBitcodeWriter.cpp, llvm/test/ThinLTO/X86 cfi-import-internal-coroutine.ll

Reapply "[CFI] Create an external linkage alias instead of promoting i… (#220339)
DeltaFile
+60-0llvm/test/ThinLTO/X86/cfi-import-internal-coroutine.ll
+26-29llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
+35-0llvm/lib/Transforms/IPO/LowerTypeTests.cpp
+33-0llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
+30-0llvm/test/Transforms/LowerTypeTests/promoted-internal.ll
+10-7llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
+194-364 files not shown
+205-4410 files

OpenBSD/src jhieuK3regress/lib/libssl/renegotiation renegotiation_test.c

   Update for renegotiation changes.
VersionDeltaFile
1.5+5-9regress/lib/libssl/renegotiation/renegotiation_test.c
+5-91 files

LLVM/project 00449f1clang/test/CodeGenHLSL/builtins RWTexture-Interlocked.hlsl

Add InterlockedExchange coverage to the texture test
DeltaFile
+7-0clang/test/CodeGenHLSL/builtins/RWTexture-Interlocked.hlsl
+7-01 files

LLVM/project df2d2cdclang/test/CodeGenHLSL/builtins RasterizerOrderedByteAddressBuffer-InterlockedExchange.hlsl RWByteAddressBuffer-InterlockedExchange.hlsl, clang/test/SemaHLSL/BuiltIns ByteAddressBuffer-InterlockedExchange-sm65-errors.hlsl ByteAddressBuffer-InterlockedExchange-errors.hlsl

First attempt implementing interlockedexchange
DeltaFile
+107-0clang/test/SemaHLSL/BuiltIns/InterlockedExchange-errors.hlsl
+48-0clang/test/CodeGenHLSL/builtins/InterlockedExchange.hlsl
+46-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedExchange-errors.hlsl
+40-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedExchange.hlsl
+29-0clang/test/CodeGenHLSL/builtins/RasterizerOrderedByteAddressBuffer-InterlockedExchange.hlsl
+26-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedExchange-sm65-errors.hlsl
+296-07 files not shown
+352-1613 files

LLVM/project 33fcd70clang/test/CodeGenHLSL/builtins RasterizerOrderedByteAddressBuffer-InterlockedMax.hlsl InterlockedMax.hlsl, clang/test/SemaHLSL/BuiltIns ByteAddressBuffer-InterlockedMax-sm65-errors.hlsl ByteAddressBuffer-InterlockedMax-errors.hlsl

[HLSL] Add `InterlockedMax` function and resource methods (#222160)

This PR adds the `InterlockedMax` standalone function and resource
methods.
It mimics the implementation of the `InterlockedMin` function and
resource
methods.

Like `min`, `max` is signedness aware. A signed operand lowers to
`atomicrmw max` and an unsigned operand lowers to `atomicrmw umax`. This
matches DXC, which selects between the `IMax` and `UMax` atomic binary
operations.

The PR also adds the 64-bit `InterlockedMax64` methods, which DXIL gates
on
shader model 6.6.

Fixes: https://github.com/llvm/llvm-project/issues/99124
Assisted by: Github Copilot
DeltaFile
+92-0clang/test/CodeGenHLSL/builtins/RWByteAddressBuffer-InterlockedMax.hlsl
+89-0clang/test/SemaHLSL/BuiltIns/InterlockedMax-errors.hlsl
+70-0clang/test/CodeGenHLSL/builtins/InterlockedMax.hlsl
+39-0clang/test/CodeGenHLSL/builtins/RasterizerOrderedByteAddressBuffer-InterlockedMax.hlsl
+34-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedMax-errors.hlsl
+26-0clang/test/SemaHLSL/BuiltIns/ByteAddressBuffer-InterlockedMax-sm65-errors.hlsl
+350-07 files not shown
+400-513 files

LLVM/project ae73942llvm/include/llvm/Object OffloadBinary.h, llvm/lib/Object OffloadBinary.cpp

[Offloading] Add support for compressed OffloadBinary types

Summary:
Offload binaries are used to store many heterogenous architectures into
a singel offloading blob. These lists can get very large so this PR adds
the option to compress them with the LLVM provided compression
libraries.

The implementation is quite simple, we simply compress all the buffers
after the header into a single compressed blob, then re-construct the
header. Extracting is the reverse.

The biggest change is that the offload binary now **owns** the memory,
whereas before we simply took a reference to it. This is necessary
because the decompression must create new memory compared to what the
user provided. This adds an extra copy internally, but it also
simplifies the V2 additions.

This does not wire up any clang/HIP support, just providing the
functionality.
DeltaFile
+134-49llvm/lib/Object/OffloadBinary.cpp
+78-0llvm/unittests/Object/OffloadingTest.cpp
+28-19llvm/include/llvm/Object/OffloadBinary.h
+41-0llvm/test/tools/llvm-objdump/Offloading/compressed.test
+35-3llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp
+23-8llvm/tools/obj2yaml/offload2yaml.cpp
+339-7913 files not shown
+500-9719 files

LLVM/project d43ef1bllvm/lib/Target/DirectX DXILIntrinsicExpansion.cpp, llvm/test/CodeGen/DirectX TextureLoad.ll RawBufferLoadDouble.ll

[DirectX] Fix RawBuffer Loads of double vectors (#224695)

fixes https://github.com/llvm/llvm-project/issues/224684

We need to do the same change we did for Raw Buffer Stores
(https://github.com/llvm/llvm-project/issues/223558) in
https://github.com/llvm/llvm-project/pull/224136 by Create add with the
byte index offsets because were were looking at the wrong argument.
DeltaFile
+23-0llvm/test/CodeGen/DirectX/RawBufferLoadDouble.ll
+22-0llvm/test/CodeGen/DirectX/ResourceAccess/load-rawbuffer-wide-double.ll
+5-1llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
+2-2llvm/test/CodeGen/DirectX/TextureLoad.ll
+52-34 files

LLVM/project 26d29a9clang/lib/Serialization ASTReader.cpp, llvm/include/llvm/Support Compression.h

[Support] Infer compression format from zlib and zstd headers

Summary:
Identify compressed streams from their bitstream headers so callers can
decompress without naming the format. Recognize every valid RFC 1950
zlib header and the zstd frame magic, and reuse that for
getReasonIfUnsupported and decompress. Collapse the AST reader onto the
new helpers.
DeltaFile
+48-0llvm/lib/Support/Compression.cpp
+42-0llvm/unittests/Support/CompressionTest.cpp
+4-8clang/lib/Serialization/ASTReader.cpp
+7-0llvm/include/llvm/Support/Compression.h
+101-84 files

LLVM/project 2ce662d.github/workflows/containers/libc Dockerfile

[Github] Bump libc container to Ubuntu 26.04 (#225212)
DeltaFile
+26-8.github/workflows/containers/libc/Dockerfile
+26-81 files

LLVM/project 69ddc46llvm/lib/Target/AMDGPU AMDGPUCoExecSchedStrategy.h AMDGPUCoExecSchedStrategy.cpp, llvm/test/CodeGen/AMDGPU coexec-sched-ds-fifo.mir coexec-block-carried-latency.mir

[AMDGPU] Add MemoryPipeline scheduling to Coexec sched (#192325)

This adds two pieces to the new scheduler:

Stalls between ds_load and fence
tryAsyncPipe
For both of these pieces we are making some assumptions about the
pipelining of memory instructions in the incoming IR. Namely, that the
long latency memory operations are pipelined and the shorter latency
memory operations (e.g. ds_loads) aren't. Moreover, this assumes that
any user added waitcnts appear directly before fences. These assumptions
are compensating for the fact that we don't have any analysis of the
pipeline available during scheduling.

Stalls between ds_load and fence
The main concept here is that when legalizing the fences we will insert
wait_dscnts for any outstanding ds_load instructions. By teaching the
scheduler about the stall between these instructions, we can hide
latency between ds_load -> wait_dscnt. A common idiom is:

    [22 lines not shown]
DeltaFile
+352-0llvm/test/CodeGen/AMDGPU/coexec-sched-effective-stall.mir
+105-40llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp
+41-2llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.h
+1-1llvm/test/CodeGen/AMDGPU/coexec-sched-ds-fifo.mir
+1-1llvm/test/CodeGen/AMDGPU/coexec-block-carried-latency.mir
+500-445 files

OpenBSD/src zgji5Salib/libssl tls12_internal.h s3_lib.c

   Use struct tls12_record for TLSv1.2 writes.

   Seal records into a struct tls12_record and use this to write records
   to the wire. This simplifies things considerably and means that we no
   longer use s->s3->wbuf or s->s3->wrec for non-DTLS in the legacy stack.

   ok joshua@ tb@
VersionDeltaFile
1.79+35-27lib/libssl/ssl_pkt.c
1.2+38-1lib/libssl/tls12_legacy.c
1.2+36-1lib/libssl/tls12_record.c
1.2+5-1lib/libssl/tls12_record.h
1.265+4-1lib/libssl/s3_lib.c
1.3+2-1lib/libssl/tls12_internal.h
+120-321 files not shown
+122-337 files

OpenBSD/src NwnQDiXregress/usr.sbin/relayd args-http-pattern-case.pl args-http-glob-query-case.pl

   Add match syntax rule test

   The matching-rules chnage from case-insensitive to case-sensitive depends
   on the case, which is strange.

   To continue working in this area, here are some tests of the
   default "behavior":

   - test default glob(7) cookie name/key matching is case-insensitive
   - test default glob(7) cookie value matching is case-insensitive
   - test default glob(7) header name matching is case-insensitive
   - test default glob(7) url lookup is case-insensitive

   - test default glob(7) header value matching is case-sensitive
   - test default glob(7) path matching is case-sensitive
   - test default glob(7) query name/value matching is case-sensitive

   - test that an omitted rule value defaults to "*" and matches any value
     both with a plain glob(7) and patterns(7)

    [2 lines not shown]
VersionDeltaFile
1.1+30-0regress/usr.sbin/relayd/args-http-glob-header-value-case.pl
1.1+28-0regress/usr.sbin/relayd/args-http-value-default.pl
1.1+28-0regress/usr.sbin/relayd/args-http-glob-url.pl
1.1+27-0regress/usr.sbin/relayd/args-http-pattern-case.pl
1.1+27-0regress/usr.sbin/relayd/args-http-glob-query-case.pl
1.1+27-0regress/usr.sbin/relayd/args-http-glob-path-case.pl
+167-03 files not shown
+237-09 files

OpenBSD/src cEaUQ5nusr.bin/ssh packet.h kex.c

   Include local and remote versions in ~I connection info.
   ok job@ djm@.
VersionDeltaFile
1.344+4-1usr.bin/ssh/packet.c
1.196+2-2usr.bin/ssh/kex.c
1.108+2-1usr.bin/ssh/packet.h
+8-43 files