LLVM/project b16c3a6 — clang/test/SemaHLSL/BuiltIns WaveMultiPrefixBitOr-errors.hlsl

address Sarah

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+10-6clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixBitOr-errors.hlsl
+10-61 files

LLVM/project 4d463d0 — clang/include/clang/Basic HLSLIntrinsics.td, clang/test/CodeGenHLSL/builtins WaveMultiPrefixBitOr.hlsl

first attempt

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+98-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveMultiPrefixBitOr.ll
+93-0clang/test/CodeGenHLSL/builtins/WaveMultiPrefixBitOr.hlsl
+64-0clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixBitOr-errors.hlsl
+48-0llvm/test/CodeGen/DirectX/WaveMultiPrefixBitOr.ll
+14-0llvm/test/CodeGen/DirectX/WaveMultiPrefixBitOr_errors.ll
+10-0clang/include/clang/Basic/HLSLIntrinsics.td
+327-011 files not shown
+377-017 files

LLVM/project dcb89f9 — clang/test/SemaHLSL/BuiltIns WaveMultiPrefixSum-errors.hlsl

address Sarah

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+3-2clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixSum-errors.hlsl
+3-21 files

LLVM/project d32aae9 — clang/test/CodeGenHLSL/builtins WaveMultiPrefixSum.hlsl, clang/test/SemaHLSL/BuiltIns WaveMultiPrefixSum-errors.hlsl

first attempt

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+147-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveMultiPrefixSum.ll
+113-0clang/test/CodeGenHLSL/builtins/WaveMultiPrefixSum.hlsl
+81-0llvm/test/CodeGen/DirectX/WaveMultiPrefixSum.ll
+56-0clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixSum-errors.hlsl
+15-0llvm/lib/Target/DirectX/DXIL.td
+14-0llvm/test/CodeGen/DirectX/WaveMultiPrefixSum_errors.ll
+426-011 files not shown
+511-517 files

LLVM/project a7bdff3 — clang/test/CodeGenHLSL/builtins WaveMultiPrefixProduct.hlsl, clang/test/SemaHLSL/BuiltIns WaveMultiPrefixProduct-errors.hlsl

[HLSL] Add WaveMultiPrefixProduct (#238164)

Adds `WaveMultiPrefixProduct` for DirectX and SPIRV

Fixes #99212
Assisted by: Github Copilot.

---------

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+147-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveMultiPrefixProduct.ll
+113-0clang/test/CodeGenHLSL/builtins/WaveMultiPrefixProduct.hlsl
+81-0llvm/test/CodeGen/DirectX/WaveMultiPrefixProduct.ll
+57-0clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixProduct-errors.hlsl
+18-1llvm/lib/Target/DirectX/DXIL.td
+14-0llvm/test/CodeGen/DirectX/WaveMultiPrefixProduct_errors.ll
+430-111 files not shown
+517-417 files

LLVM/project 926040b — clang/lib/Sema SemaHLSL.cpp, clang/test/CodeGenHLSL/builtins WaveMultiPrefixCountBits.hlsl

[HLSL] Add WaveMultiPrefixCountBits (#238132)

Add `WaveMultiPrefixCountBits`, with DirectX-only lowering.
This PR does not add SPIR-V support. SPIR-V calls report that the
builtin is not supported on the target.

Fixes #99211
Assisted by: Github Copilot

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+63-0clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixCountBits-errors.hlsl
+45-0clang/test/CodeGenHLSL/builtins/WaveMultiPrefixCountBits.hlsl
+32-10clang/lib/Sema/SemaHLSL.cpp
+20-0llvm/test/CodeGen/DirectX/WaveMultiPrefixCountBits.ll
+9-0llvm/lib/Target/DirectX/DXIL.td
+9-0llvm/test/CodeGen/DirectX/WaveMultiPrefixCountBits_errors.ll
+178-106 files not shown
+211-1012 files

LLVM/project 6c4b35a — clang/test/CodeGenHLSL/builtins WaveMultiPrefixBitXor.hlsl, clang/test/SemaHLSL/BuiltIns WaveMultiPrefixBitXor-errors.hlsl

[HLSL] Add WaveMultiPrefixBitXor (#238097)

Adds `WaveMultiPrefixBitXor` builtin, with DXIL and SPIRV lowering.

Fixes #99210.
Assisted by: Github Copilot

---------

Co-authored-by: Copilot <223556219+Copilot at users.noreply.github.com>
Copilot-Session: 40997c2f-5aaa-41c6-8d1f-3e2e9ada315f
DeltaFile
+98-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveMultiPrefixBitXor.ll
+97-0clang/test/CodeGenHLSL/builtins/WaveMultiPrefixBitXor.hlsl
+68-0clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixBitXor-errors.hlsl
+48-0llvm/test/CodeGen/DirectX/WaveMultiPrefixBitXor.ll
+17-9llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+14-0llvm/test/CodeGen/DirectX/WaveMultiPrefixBitXor_errors.ll
+342-911 files not shown
+402-1317 files

FreeBSD/src 530ece4 — sys/kern sched_shim.c

sched: Add sysctl flag CTLFLAG_TUN to loader tunable kern.sched.name

So that `sysctl -T` can report it correctly.

Reviewed by:    olce, kib
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D61178

(cherry picked from commit 5e54a402f896106ed6b402e25387ad7402b8944c)
DeltaFile
+2-1sys/kern/sched_shim.c
+2-11 files

LLVM/project 989d894 — llvm/lib/Target/SPIRV SPIRVCombinerHelper.h SPIRVCombine.td, llvm/test/CodeGen/SPIRV/GlobalISel/InstCombine prelegalizercombiner-fmul-to-degrees.mir

Revert 216506 Add PreLegalizer pattern matching for degrees GL extension (#239353)

This reverts commit 4e414afe0e3f1566b898c5c5741e2582c5c48514.

The combine rewrites fmul x, 180/pi into spv.degrees for all SPIR-V
targets. OpenCL requires fmul to be correctly rounded (0.5 ulp) while
degrees only has to be accurate to 2 ulp, so this loses precision on the
OpenCL path.

The discussions have been captured in the now closed PR about why we
want to revert it
https://github.com/llvm/llvm-project/pull/237935/changes
DeltaFile
+0-43llvm/test/CodeGen/SPIRV/GlobalISel/InstCombine/prelegalizercombiner-fmul-to-degrees.mir
+0-34llvm/lib/Target/SPIRV/SPIRVCombinerHelper.cpp
+0-18llvm/test/CodeGen/SPIRV/opencl/degrees.ll
+0-18llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll
+1-8llvm/lib/Target/SPIRV/SPIRVCombine.td
+0-2llvm/lib/Target/SPIRV/SPIRVCombinerHelper.h
+1-1236 files

NetBSD/pkgsrc OpzXd4a — doc TODO

   doc: remove prometheus 3.16, not LTS
VersionDeltaFile
1.28298+1-2doc/TODO
+1-21 files

LLVM/project dfaf25f — llvm/lib/Transforms/InstCombine InstCombineLoadStoreAlloca.cpp

adjust comment
DeltaFile
+1-2llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+1-21 files

FreeBSD/src 44eaf36 — lib/libc/locale mbrtocXX_iconv.h

libc/locale: Check EILSEQ return

_citrus_iconv_std_iconv_convert can return EILSEQ without setting
invlen. As a result, we should check EILSEQ in the return value or it
will incorrectly return -2

Reviewed by:    kevans
Fixes: e2030ca246a7 ("libc: fix c*rtomb/mbrtoc*")
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D61151

(cherry picked from commit b138d017c70421e9d074096fcc3ac676f7e1c846)
DeltaFile
+1-1lib/libc/locale/mbrtocXX_iconv.h
+1-11 files

LLVM/project 4ccb556 — llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Transforms/InferAddressSpaces/AMDGPU flat-prefetch.ll

[AMDGPU] Infer the global address space for llvm.amdgcn.flat.prefetch (#231968)

InferAddressSpaces rewrites the generic `llvm.prefetch` when it proves
that the prefetched pointer
is global, but it does not handle `llvm.amdgcn.flat.prefetch`, which
`__builtin_amdgcn_flat_prefetch`
emits. A flat prefetch of a pointer that is provably global, such as a
HIP kernel argument,
therefore stays a `flat_prefetch_b8`, while the loads and stores of the
same pointer, and
`__builtin_prefetch` of it, use global instructions.

Add `llvm.amdgcn.flat.prefetch` to the AMDGPU InferAddressSpaces hooks.
When its pointer is
inferred to be global, the call becomes `llvm.amdgcn.global.prefetch`
with the same cache policy
operand. Pointers inferred to be in any other address space are left
alone.
DeltaFile
+74-0llvm/test/Transforms/InferAddressSpaces/AMDGPU/flat-prefetch.ll
+15-0llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+89-02 files

LLVM/project f4b8afd — llvm/lib/Transforms/InstCombine InstCombineLoadStoreAlloca.cpp InstCombineVectorOps.cpp, llvm/test/CodeGen/NVPTX shuffle-packed.ll

[InstCombine] Widen shuffle lanes
DeltaFile
+21-308llvm/test/CodeGen/NVPTX/shuffle-packed.ll
+65-21llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
+20-21llvm/test/Transforms/InstCombine/shuffle-bitcast-widen.ll
+4-12llvm/test/Transforms/InstCombine/X86/x86-sse4a.ll
+4-12llvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll
+10-0llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
+124-3743 files not shown
+128-3809 files

LLVM/project f66a042 — llvm/test/CodeGen/NVPTX shuffle-packed.ll, llvm/test/Transforms/InstCombine shuffle-bitcast-widen.ll

[InstCombine] Add shuffle-bitcast tests
DeltaFile
+357-0llvm/test/CodeGen/NVPTX/shuffle-packed.ll
+254-0llvm/test/Transforms/InstCombine/shuffle-bitcast-widen.ll
+611-02 files

NetBSD/pkgsrc zHmaAiE — doc TODO

   doc/TODO: + prometheus-3.16.0.
VersionDeltaFile
1.28297+2-1doc/TODO
+2-11 files

LLVM/project 5bbc49f — llvm/utils/TableGen/Common CodeGenTarget.cpp

TableGen: Fix advancing past the end of an empty macro fusion list (#239397)

The MacroFusions list could be empty, so drop_begin went off the
end. This trapped on MSVC debug builds for targets without
fusions. Use adjacent_find to locate the duplicate instead.

Fixes regression from #239102.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+8-6llvm/utils/TableGen/Common/CodeGenTarget.cpp
+8-61 files

LLVM/project 180ec55 — compiler-rt/lib/scudo/standalone/fuzz allocator_fuzzer.cpp

[scudo] Fix a bug in the handling of realloc. (#238508)

Instead of adding the new pointer to the total size, it subtracted.
Fixed now.
DeltaFile
+3-3compiler-rt/lib/scudo/standalone/fuzz/allocator_fuzzer.cpp
+3-31 files

LLVM/project 1076cc0 — llvm/include/llvm/IR RuntimeLibcalls.td

RuntimeLibcalls: Add signatures for the MIPS16 return helpers

MIPS16 functions call these to move a floating point return value into
floating point registers. Each takes the value being returned, with
complex values as a pair of floats or doubles.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+7-4llvm/include/llvm/IR/RuntimeLibcalls.td
+7-41 files

LLVM/project 20bde2b — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/lib/Target/Mips MipsSubtarget.cpp

RuntimeLibcalls: Add the MIPS16 hard float helpers to "compiler-rt"

The __mips16_* hard float helpers were not in any library, so they
were never available. libgcc's mips16.S provides them for O32, but not
for R6. compiler-rt does not provide them, but we don't get try to
distinguish the 2.

Since these coexist with standard symbol names, this needs explicit
handling to prefer these implementations.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+45-34llvm/include/llvm/IR/RuntimeLibcalls.td
+67-8llvm/lib/Target/Mips/MipsSubtarget.cpp
+34-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/mips.ll
+146-423 files

LLVM/project 1d87294 — lldb/source/Plugins/Process/gdb-remote GDBRemoteCommunication.h GDBRemoteCommunication.cpp, lldb/unittests/Process/gdb-remote GDBRemoteCommunicationTest.cpp

[lldb] Find the end of a gdb-remote packet in linear time (#238530)

GDBRemoteCommunication::CheckForPacket appends each read, at most 8 KiB,
to m_bytes and then searches all of m_bytes for the '#' that ends the
first packet. A packet of S bytes is searched about S / 8 KiB times, so
receiving it takes time quadratic in S. With "process plugin packet
speed-test", a 32 MiB reply took 1.7 s, a 64 MiB reply 8.5 s and a 128
MiB reply 38.6 s. jThreadsInfo replies reach these sizes when a process
has tens of thousands of threads, as a GPU process can.

Resume the search where the previous call stopped. A packet cannot
contain an unescaped '#', so bytes already searched never need searching
again. Only the two paths that wait for more bytes record the position,
and neither changes m_bytes; every other path, including all of those
that remove bytes, leaves it at zero. DecompressPacket can rewrite
m_bytes before the search, so compressed connections still search from
the start. The 128 MiB reply now takes 0.73 s.

Searching only the bytes that the current call appends would not be

    [8 lines not shown]
DeltaFile
+25-0lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationTest.cpp
+17-1lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+4-0lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
+46-13 files

FreeBSD/ports 68edce2 — databases/mongodb90 Makefile, databases/mongodb90/files patch-src_third__party_fmt_dist_include_fmt_format.h

databases/mongodb90: fix build on FreeBSD 16

PR:     300428
DeltaFile
+25-0databases/mongodb90/files/patch-src_third__party_fmt_dist_include_fmt_format.h
+1-0databases/mongodb90/Makefile
+26-02 files

LLVM/project c477894 — lldb/source/Plugins/Process/Utility RegisterContextDarwin_arm.cpp, lldb/source/Plugins/Register/Darwin RegisterContextDarwin_arm.cpp

Merge branch 'users/void/asm-goto-_Complext-types' into users/void/cir-complex-asm-operands
DeltaFile
+8,752-1,285llvm/test/CodeGen/WebAssembly/memory-interleave.ll
+3,550-3,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,186-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+0-1,738lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+1,738-0lldb/source/Plugins/Register/Darwin/RegisterContextDarwin_arm.cpp
+18,210-7,6948,075 files not shown
+176,382-95,2328,081 files

LLVM/project ecb7f4c — lldb/source/Plugins/Process/Utility RegisterContextDarwin_arm.cpp, lldb/source/Plugins/Register/Darwin RegisterContextDarwin_arm.cpp

Merge branch 'users/void/ppc-asm-wide-gpr' into users/void/asm-goto-_Complext-types

Take main's InlineAsmLowering.cpp and arm64-fallback.ll. #238927 landed
the same GlobalISel fallback for tied multi-register inputs, so this PR
no longer carries its own copy.
DeltaFile
+8,752-1,285llvm/test/CodeGen/WebAssembly/memory-interleave.ll
+3,550-3,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,186-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+0-1,738lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+1,738-0lldb/source/Plugins/Register/Darwin/RegisterContextDarwin_arm.cpp
+18,210-7,6948,075 files not shown
+176,382-95,2328,081 files

NetBSD/pkgsrc L9NBgnw — doc TODO CHANGES-2026

   doc: Updated multimedia/mpv to 0.42.0nb1
VersionDeltaFile
1.28296+1-2doc/TODO
1.7678+2-1doc/CHANGES-2026
+3-32 files

LLVM/project 8ae5190 — lldb/source/Plugins/Process/Utility RegisterContextDarwin_arm.cpp, lldb/source/Plugins/Register/Darwin RegisterContextDarwin_arm.cpp

Merge branch 'users/void/aarch64-asm-wide-gpr' into users/void/ppc-asm-wide-gpr
DeltaFile
+8,752-1,285llvm/test/CodeGen/WebAssembly/memory-interleave.ll
+3,550-3,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,186-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+0-1,738lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+1,738-0lldb/source/Plugins/Register/Darwin/RegisterContextDarwin_arm.cpp
+18,210-7,6948,075 files not shown
+176,385-95,2178,081 files

LLVM/project 419a408 — lldb/source/Plugins/Process/Utility RegisterContextDarwin_arm.cpp, lldb/source/Plugins/Register/Darwin RegisterContextDarwin_arm.cpp

Merge branch 'users/void/callbr-asm-error' into users/void/aarch64-asm-wide-gpr
DeltaFile
+8,752-1,285llvm/test/CodeGen/WebAssembly/memory-interleave.ll
+3,550-3,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,186-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+0-1,738lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+1,738-0lldb/source/Plugins/Register/Darwin/RegisterContextDarwin_arm.cpp
+18,210-7,6948,075 files not shown
+176,385-95,2178,081 files

LLVM/project fad9317 — lldb/source/Plugins/Process/Utility RegisterContextDarwin_arm.cpp, lldb/source/Plugins/Register/Darwin RegisterContextDarwin_arm.cpp

Merge branch 'users/void/callbr-flag-outputs' into users/void/callbr-asm-error
DeltaFile
+8,752-1,285llvm/test/CodeGen/WebAssembly/memory-interleave.ll
+3,550-3,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,186-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+0-1,738lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+1,738-0lldb/source/Plugins/Register/Darwin/RegisterContextDarwin_arm.cpp
+18,210-7,6948,075 files not shown
+176,385-95,2178,081 files

NetBSD/pkgsrc UuTeWgN — multimedia/mpv buildlink3.mk PLIST

   mpv: Update to 0.42.0

   pkgsrc changes:
   - Bump BUILDLINK_ABI_DEPENDS.mpv due .so bump

   Changes:
   0.42.0
   ==============
   We are excited to announce the release of mpv 0.42.0.

   Key highlights:

   * libcurl based network backend with HTTP/2, HTTP/3 and connection reuse
   * DVD-Video, Blu-ray HDMV and BD-J menu navigation
   * DVD-Audio playback
   * Direct playback of .iso images of DVD-Video, DVD-Audio and Blu-ray discs
   * Dolby Vision Profile 7 enhancement layer support in `gpu-next`
   * MPEG-TS programs and HLS variants are exposed as editions
   * DSD-over-PCM (DoP) passthrough with `--audio-spdif=dsd`

    [15 lines not shown]
VersionDeltaFile
1.86+4-4multimedia/mpv/distinfo
1.192+4-4multimedia/mpv/Makefile
1.20+4-3multimedia/mpv/PLIST
1.4+2-2multimedia/mpv/buildlink3.mk
+14-134 files

LLVM/project 1d86ec8 — lldb/source/Plugins/Process/Utility RegisterContextDarwin_arm.cpp, lldb/source/Plugins/Register/Darwin RegisterContextDarwin_arm.cpp

Merge branch 'users/void/x86-flags-copy-inlineasm-br' into users/void/callbr-flag-outputs
DeltaFile
+8,752-1,285llvm/test/CodeGen/WebAssembly/memory-interleave.ll
+3,550-3,691llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+3,186-0llvm/test/CodeGen/AMDGPU/amdgcn-av-scopes.ll
+984-980llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
+0-1,738lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
+1,738-0lldb/source/Plugins/Register/Darwin/RegisterContextDarwin_arm.cpp
+18,210-7,6948,075 files not shown
+176,385-95,2178,081 files