NetBSD/pkgsrc-wip 4c046b1 — ffmpeg9-svtav1 Makefile.common PLIST, ffmpeg9-svtav1/files videoio.h

ffmpeg9-svtav1: add ffmpeg9 port with SVT-AV1 support.

https://aomedia.org/blog%20posts/SVT-AV1-Proven-Performance-Promising-Horizons/
DeltaFile
+3,419-0ffmpeg9-svtav1/files/videoio.h
+300-0ffmpeg9-svtav1/options.mk
+286-0ffmpeg9-svtav1/PLIST
+145-0ffmpeg9-svtav1/patches/patch-libavdevice_sunau__dec.c
+121-0ffmpeg9-svtav1/patches/patch-libavdevice_sunau__enc.c
+121-0ffmpeg9-svtav1/Makefile.common
+4,392-020 files not shown
+5,007-026 files

LLVM/project 518a49b — llvm/lib/Analysis PHITransAddr.cpp, llvm/test/Transforms/GVN/PRE no-scalar-pre.ll

fixup! [Analysis] Do not reuse GEP instruction with tighten wrap flag
DeltaFile
+69-0llvm/test/Transforms/GVN/PRE/no-scalar-pre.ll
+13-7llvm/lib/Analysis/PHITransAddr.cpp
+82-72 files

LLVM/project 653d407 — llvm/lib/Transforms/Coroutines CoroCleanup.cpp, llvm/test/Transforms/Coroutines coro-cleanup-async-size-replace-analyses.ll

Only lowered functions and always preserve cfg
DeltaFile
+39-0llvm/test/Transforms/Coroutines/coro-cleanup-async-size-replace-analyses.ll
+9-2llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
+48-22 files

LLVM/project f7cba1a — llvm/lib/Transforms/Coroutines CoroCleanup.cpp, llvm/test/Transforms/Coroutines coro-cleanup-preserve-function-analyses.ll

Coroutines: Only invalidate analyses of lowered functions in CoroCleanup

CoroCleanupPass already invalidates the analyses of the functions it
lowers, but then reported no preserved analyses, which clears every
cached function.

Also stop preserving CFG analyses for lowered functions, since noop
coroutine elision can change the CFG.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+57-0llvm/test/Transforms/Coroutines/coro-cleanup-preserve-function-analyses.ll
+12-5llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
+69-52 files

LLVM/project ba1d95e — llvm/lib/Support KnownFPClass.cpp, llvm/test/Transforms/Attributor nofpclass-fadd-fsub.ll nofpclass-constrained-fadd-fsub.ll

[KnownFPClass] Refine fadd/fsub for directed rounding modes (#243325)

Follow up to https://github.com/llvm/llvm-project/pull/242911
Part of https://github.com/llvm/llvm-project/issues/242935

Refines `KnownFPClass::fadd`, `KnownFPClass::fsub`, and
`KnownFPClass::fadd_self` for directed rounding modes:
- TowardZero cannot overflow to infinity.
- TowardPositive cannot overflow to negative infinity.
- TowardNegative cannot overflow to positive infinity.
- NearestTiesToEven/NearestTiesToAway: normal + subnormal never
overflows.
DeltaFile
+68-18llvm/lib/Support/KnownFPClass.cpp
+36-36llvm/test/Transforms/Attributor/nofpclass-constrained-fadd-fsub.ll
+8-8llvm/test/Transforms/Attributor/nofpclass-fadd-fsub.ll
+112-623 files

LLVM/project 014b0fd — orc-rt/include/orc-rt/support ArgForwardingTraits.h AllocAction.h, orc-rt/test/unit/support/sps SPSAllocActionTest.cpp

[orc-rt] Allow non-const ref params in alloc action handlers (#245478)

AllocActionFunction::handle now uses ArgForwardingTraits (shared with
WrapperFunction) to deserialize handler arguments and forward them to
the handler. Each argument is forwarded according to the handler's
declared parameter type, so in addition to by-value, const reference,
and rvalue reference parameters, handlers may now take non-const lvalue
reference parameters. These bind to the deserialized value.

To support this:
- ArgForwardingTraitsFor<C> is added to ArgForwardingTraits.h. It
provides the ArgForwardingTraits for callable type C's parameter types,
and replaces AllocAction.h's AAHandlerTraits.
- ForwardArgsAsRequested now returns the handler's result, and takes its
callable by value. The latter allows lvalue handlers, which
AllocActionFunction::handle previously accepted, to continue to work.
DeltaFile
+47-0orc-rt/test/unit/support/sps/SPSAllocActionTest.cpp
+11-21orc-rt/include/orc-rt/support/AllocAction.h
+22-2orc-rt/include/orc-rt/support/ArgForwardingTraits.h
+80-233 files

LLVM/project d49707d — llvm/lib/Transforms/Utils CloneFunction.cpp

CloneFunction: Factor out pruned clone terminator folding

Remove the cleanup code after inlining unto a helper function which
will be reused in a future patch.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+68-63llvm/lib/Transforms/Utils/CloneFunction.cpp
+68-631 files

LLVM/project fe08f4c — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls aarch64.ll

fixup! RuntimeLibcalls: Add SME attributes to the AArch64 SME support routines

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+10-15llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+4-6llvm/include/llvm/IR/RuntimeLibcalls.td
+14-212 files

LLVM/project c131ce5 — llvm/include/llvm/IR RuntimeLibcallsImpl.td RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls arm64ec.ll aarch64.ll

RuntimeLibcalls: Add SME attributes to the AArch64 SME support routines

SMEAttrs currently assumes these attributes based on the function
name. Add them to the function definition so this code can be cleaned
up in the future.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+104-82llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+22-12llvm/include/llvm/IR/RuntimeLibcalls.td
+10-7llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+3-0llvm/include/llvm/IR/RuntimeLibcallsImpl.td
+139-1014 files

LLVM/project 8817a66 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls arm64ec.ll aarch64.ll

RuntimeLibcalls: Add attributes to __arm_sc_memcpy, memmove and memset (#244726)

The streaming-compatible variants behave like memcpy, memmove and
memset. Omit captures(none) since these can be used to implement
volatile memory intrinsics.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+20-20llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+18-3llvm/include/llvm/IR/RuntimeLibcalls.td
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/arm64ec.ll
+42-273 files

OpenBSD/src AjKzRsN — sys/net pf.c if_pfsync.c

   Prevent overread of pfsync received messages

   Only reachable by a host that can deliver a pfsync packet to the sync
   interface with IP TTL of 255.

   OK sashan@, dlg@
VersionDeltaFile
1.337+21-4sys/net/if_pfsync.c
1.1255+5-1sys/net/pf.c
+26-52 files

NetBSD/pkgsrc-wip 6f8da88 — py-nvchecker distinfo Makefile

py-nvchecker: update to 2.22
DeltaFile
+3-3py-nvchecker/distinfo
+3-3py-nvchecker/Makefile
+6-0py-nvchecker/PLIST
+12-63 files

LLVM/project 2264196 — llvm/include/llvm/IR RuntimeLibcalls.td, llvm/test/Transforms/Util/DeclareRuntimeLibcalls ppc.ll bsd.ll

RuntimeLibcalls: Add attributes to __clear_cache and __riscv_flush_icache (#244496)

Neither unwinds or captures its arguments. Leave the memory effects
unknown so calls aren't removed or reordered with the stores to the
flushed range.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+5-5llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+8-2llvm/include/llvm/IR/RuntimeLibcalls.td
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+4-4llvm/test/Transforms/Util/DeclareRuntimeLibcalls/riscv.ll
+3-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/ppc.ll
+3-3llvm/test/Transforms/Util/DeclareRuntimeLibcalls/bsd.ll
+27-2110 files not shown
+42-3616 files

LLVM/project 36c9896 — llvm/test/CodeGen/X86 asm-constraints-rm.ll asm-constraints-rm-pressure.ll

Test the register pressure cases at -O0, too

A comment said that -O0 picks memory for "rm", which a direct output can't
use. At -O0 only an "rm" input still picks memory, and an output takes a
register for the fast register allocator to fold, which nothing tested end to
end. Add an -O0 RUN line, and fix the same claim in asm-constraints-rm.ll.

Assisted-by: Claude Opus 5.5
DeltaFile
+421-2llvm/test/CodeGen/X86/asm-constraints-rm-pressure.ll
+2-2llvm/test/CodeGen/X86/asm-constraints-rm.ll
+423-42 files

LLVM/project 805bdbd — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp RegAllocFast.cpp

Merge branch 'users/void/asm-rm-4-regallocfast-fold' into users/void/asm-rm-5-prefer-reg
DeltaFile
+9-4llvm/lib/CodeGen/RegAllocFast.cpp
+7-4llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+27-144 files

LLVM/project e20f9cb — llvm/lib/CodeGen RegAllocFast.cpp

Include what the folding uses, and fix two comments

Include STLExtras.h, <algorithm>, and <limits> for the helpers that the
folding code uses. tiedUseMustCopy() had been put between lowerTiedUse() and
its comment, and the reason given for not folding a subregister operand was
wrong: it's that a subregister def would lose the register's other lanes.

Assisted-by: Claude Opus 5.5
DeltaFile
+9-4llvm/lib/CodeGen/RegAllocFast.cpp
+9-41 files

LLVM/project 007f74a — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Merge branch 'users/void/asm-rm-3-direct-mem-output-error' into users/void/asm-rm-4-regallocfast-fold
DeltaFile
+7-4llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+18-103 files

LLVM/project 4b42eef — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Merge branch 'users/void/asm-rm-2f-peephole-asm-load-fold' into users/void/asm-rm-3-direct-mem-output-error
DeltaFile
+7-4llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+18-103 files

LLVM/project f401a1e — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Merge branch 'users/void/asm-rm-2e-fold-asm-memoperands' into users/void/asm-rm-2f-peephole-asm-load-fold
DeltaFile
+7-4llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+18-103 files

LLVM/project b1b9828 — llvm/test/CodeGen/X86 greedy-inline-asm-fold.mir

Fix the rm_and_m comment

It said that the stack slot's memoperand isn't added to an asm that accesses
other memory without memoperands, but the asm gets one for any memory along
with the slot's.

Assisted-by: Claude Opus 5.5
DeltaFile
+2-2llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+2-21 files

LLVM/project e7d9d2d — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Merge branch 'users/void/asm-rm-2d-prefer-spilling-foldable' into users/void/asm-rm-2e-fold-asm-memoperands
DeltaFile
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+16-83 files

LLVM/project 343d130 — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Merge branch 'users/void/asm-rm-2c-fold-subreg-offset' into users/void/asm-rm-2d-prefer-spilling-foldable
DeltaFile
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+16-83 files

LLVM/project 3120e51 — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Merge branch 'users/void/asm-rm-2b-fold-all-reg-operands' into users/void/asm-rm-2c-fold-subreg-offset

# Conflicts:
#       llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
DeltaFile
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+5-2llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+5-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+16-83 files

LLVM/project c35412d — llvm/include/llvm/CodeGen MachineInstr.h, llvm/lib/CodeGen TargetInstrInfo.cpp

Assert that an operand is folded, and fix the tied-use comments

The loop that finds the first operand to fold relies on there being one,
which nothing checked. The comments also said that every operand of the
register is folded, but a use tied to another register's def keeps its
register.

Assisted-by: Claude Opus 5.5
DeltaFile
+6-4llvm/include/llvm/CodeGen/MachineInstr.h
+3-2llvm/lib/CodeGen/TargetInstrInfo.cpp
+9-62 files

LLVM/project f4819d9 — llvm/test/CodeGen/X86 greedy-inline-asm-fold.mir

Merge branch 'users/void/asm-rm-2-fold-tied-operands' into users/void/asm-rm-2b-fold-all-reg-operands
DeltaFile
+4-2llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+4-21 files

LLVM/project 780a484 — llvm/test/CodeGen/X86 greedy-inline-asm-fold.mir

Fix the comments in greedy-inline-asm-fold.mir

The C source of tied_rm_before_tied_r had the MIR clobber list pasted over
CLOBBERS, ALL_GPRS wasn't defined, and the header said that one value is
spilled, where the checks show several. Nothing said that the qm tests' MIR
is written by hand, which their C can't produce: instruction selection never
makes a "Qm" operand foldable, and gives an i8 "Q" operand GR8_ABCD_L.

Assisted-by: Claude Opus 5.5
DeltaFile
+10-9llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+10-91 files

LLVM/project bb83640 — llvm/lib/Target/X86 X86InstrInfo.cpp, llvm/test/CodeGen/X86 foldimmediate.mir

[X86] Keep the implicit zero extension when folding a zero operand (#236135)

`foldImmediateImpl` turns a 32-bit ADD/SUB/OR/XOR with a zero operand
into a COPY. On x86-64 the 32-bit instruction also zeroes the upper 32
bits, and a `SUBREG_TO_REG` user may rely on that. After coalescing, the
COPY leaves the upper bits of the source in place. In #213979 a jump
table index is then computed from those bits.

This patch uses MOV32rr instead of COPY when the result is a 32-bit
register on a 64-bit target.

Fixes #213979

Assisted-by: Claude Opus 5.5

---------

Co-authored-by: Phoebe Wang <phoebe.wang at intel.com>
DeltaFile
+47-0llvm/test/CodeGen/X86/foldimmediate.mir
+40-0llvm/test/CodeGen/X86/apx/foldimmediate.mir
+7-1llvm/lib/Target/X86/X86InstrInfo.cpp
+94-13 files

LLVM/project 4330469 — orc-rt/include CMakeLists.txt, orc-rt/include/orc-rt/support WrapperFunction.h ArgForwardingTraits.h

[orc-rt] Move ForwardArgsAsRequested into its own header. NFC. (#245474)

Moves the arg-tuple type and ForwardArgsAsRequested utility out of
WFHandlerTraitsImpl in WrapperFunction.h and into a new
ArgForwardingTraits class template in ArgForwardingTraits.h.
WFHandlerTraitsImpl now inherits from ArgForwardingTraits.

This will allow the utility to be re-used by AllocActionFunction in an
upcoming patch.
DeltaFile
+48-0orc-rt/include/orc-rt/support/ArgForwardingTraits.h
+2-18orc-rt/include/orc-rt/support/WrapperFunction.h
+1-0orc-rt/include/CMakeLists.txt
+51-183 files

FreeBSD/src e035f27 — sys/dev/snp snp.c

snp(4): do not ignore errors from devfs_set_cdevpriv()

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+5-3sys/dev/snp/snp.c
+5-31 files

FreeBSD/src f6bd65e — sys/dev/snp snp.c

snp(4): drain snp_outpoll before destroying the open data

kib' note: comparing to the original submission, seldrain() is called
before cv_destroy().

PR:     301062
MFC after:      1 week
DeltaFile
+1-0sys/dev/snp/snp.c
+1-01 files