LLVM/project 5edde18 — clang/lib/AST/ByteCode InterpBuiltin.cpp, clang/test/AST/ByteCode builtin-functions.cpp

[clang][bytecode] Reject non-blockpointer destinations in __builtin_wmemcpy (#232327)
DeltaFile
+15-8clang/lib/AST/ByteCode/InterpBuiltin.cpp
+5-0clang/test/AST/ByteCode/builtin-functions.cpp
+20-82 files

LLVM/project e3ee140 — libc/src/sched/linux CMakeLists.txt sched_getscheduler.cpp, utils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc] Use a syscall wrapper for sched_getscheduler
DeltaFile
+14-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+5-6libc/src/sched/linux/sched_getscheduler.cpp
+4-2libc/src/sched/linux/CMakeLists.txt
+23-83 files

FreeBSD/src 32a9814 — sys/kern uipc_ktls.c

ktls: Fix capability checks in ktls_reset_receive_tag()

IFCAP2_RXTLS4 and IFCAP2_RXTLS6 are bit numbers, not masks, so
ktls_reset_receive_tag() tested if_capenable2 against 0 for IPv4 and against the
RXTLS4 bit for IPv6. An IPv4 connection with NIC receive TLS offload thus never
got a new receive tag after its packets moved to another interface, and fell
back to software decryption for good.
c721694 fixed the same checks in ktls_alloc_rcv_tag(); use IFCAP2_BIT() here
as well.

Fixes: fe8c78f ("ktls: Add full support for TLS RX offloading via network interface.")

Approved by:    gallatin, kib
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D60757
DeltaFile
+2-2sys/kern/uipc_ktls.c
+2-21 files

LLVM/project 140b2c6 — llvm/test/Transforms/SLPVectorizer/AArch64 or-reduction-byte-pack.ll

Revert "[SLP][NFC]Add extra bitpack tests, NFC"

This reverts commit f83b23d069c32b5712562bbad39f3b8037299454.
DeltaFile
+3-437llvm/test/Transforms/SLPVectorizer/AArch64/or-reduction-byte-pack.ll
+3-4371 files

LLVM/project 21e441d — clang/include/clang/CIR/Dialect/Builder CIRBaseBuilder.h, clang/lib/CIR/CodeGen CIRGenFunction.cpp

[CIR] Record -ffp-contract=fast as a per-op contract flag (#226334)

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+226-0clang/test/CIR/CodeGen/fast-math-flags.c
+126-2clang/test/CIR/CodeGen/fp-contract.c
+90-0clang/test/CIR/CodeGen/fast-math-pragmas.c
+74-0clang/test/CIR/CodeGen/fast-math-constrained.c
+27-15clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
+24-4clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+567-219 files not shown
+650-4015 files

FreeBSD/src c9599b8 — sys/kern uipc_sockbuf.c

ktls: Take the receiving interface of each packet in sbappend_ktls_rx()

sbappend_ktls_rx() read the receiving interface of each packet header it
demotes from the chain's first mbuf, whose header it had zeroed on the first
pass. A chain of two packets or more thus had no interface, and a change of
input interface went unnoticed: the TLS receive tag stayed on the old interface
until a later append of one packet.
Read it from the packet being demoted, as the decrypted mark is.

Fixes: fe8c78f0d202 ("ktls: Add full support for TLS RX offloading via network interface.")

Approved by:    gallatin
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D60758
DeltaFile
+1-1sys/kern/uipc_sockbuf.c
+1-11 files

FreeBSD/src a719556 — sys/dev/iwm if_iwm_time_event.c if_iwm.c

iwm: rename iwm_stop_session_protection() -> iwm_unprotect_session()

This matches OpenBSD's driver naming.

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Reviewed by:    mizhka
Differential Revision:  https://reviews.freebsd.org/D60287
DeltaFile
+1-2sys/dev/iwm/if_iwm_time_event.h
+1-1sys/dev/iwm/if_iwm_time_event.c
+1-1sys/dev/iwm/if_iwm.c
+3-43 files

NetBSD/pkgsrc-wip 4226a45 — fooyin PLIST Makefile

wip/fooyin: Add Game Music Emu support to the build
I found the package under a different name from where I was looking
and I like Chiptunes. :)
DeltaFile
+2-0fooyin/Makefile
+1-0fooyin/PLIST
+3-02 files

OpenBSD/src fg1fwnw — usr.bin/mg dired.c

   remove unused findfname() argument
   ok tb@ florian@
VersionDeltaFile
1.106+7-8usr.bin/mg/dired.c
+7-81 files

LLVM/project 461e65a — clang/test/OpenMP structured-bindings-codegen.cpp parallel_master_taskloop_simd_firstprivate_codegen.cpp

[OpenMP] Preserve host capture lifetimes in frontend lowering

Mark captured alloca/global storage nofreeobj when Clang emits a synchronous
host parallel call. This preserves lifetime across outlining without claiming
that escaped capture slots are noalias or immutable, and without extending the
lifetime guarantee to pointers loaded from those slots.

Mark OpenMPIRBuilder's fresh host capture aggregate noalias and nofreeobj.
This covers the lowering path used by Flang and Clang's IRBuilder mode.

Replace callback Attributor seeding with frontend and translation tests,
including escaped captures, heap references, firstprivate pointers, debug
wrappers, serialized regions, and optimized load hoisting with OpenMPOpt
disabled. Refresh the affected parameter-attribute checks.
DeltaFile
+1,897-1,897clang/test/OpenMP/task_codegen.cpp
+527-527clang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
+286-286clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
+283-283clang/test/OpenMP/parallel_codegen.cpp
+235-235clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
+221-221clang/test/OpenMP/structured-bindings-codegen.cpp
+3,449-3,44982 files not shown
+5,579-5,31688 files

LLVM/project a29507b — llvm/lib/CodeGen/GlobalISel InlineAsmLowering.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[CodeGen] Address review: error for "=m|r" direct outputs too

A direct output whose chosen alternative is memory, e.g. "=m|r", still
crashed SelectionDAG, which exempted multiple-alternative operands from the
check and then asked for the address of an output with no value. Drop the
exemption and test "=m|r" with both instruction selectors. Name the
selector explicitly in the RUN lines rather than relying on -O levels,
since X86 GlobalISel can't lower inline asm and both X86 lines ran
SelectionDAG anyway. Drop "yet" from the error: Clang never emits a
direct memory output, so there are no plans to support one.

Assisted-by: Claude Opus 5.5
DeltaFile
+14-10llvm/test/CodeGen/X86/inline-asm-direct-mem-output-error.ll
+11-3llvm/test/CodeGen/AArch64/inline-asm-direct-mem-output-error.ll
+5-4llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+1-1llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+31-184 files

LLVM/project 2f159a9 — llvm/lib/CodeGen/GlobalISel InlineAsmLowering.cpp, llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp

[CodeGen] Report an error for a direct inline asm output in memory

An inline asm output returned by value has no memory to write to, yet a
constraint such as "=rm" picks memory, the most general constraint, as
does "=m". SelectionDAG asserted on that ("Can only indirectify direct
input operands!"), and GlobalISel dereferenced a null pointer. Clang
never emits such an output, since it passes the address of a memory
output, but other IR can. Report "cannot handle direct memory outputs
yet for constraint 'm'" instead, like the other inline asm errors there.

Assisted-by: Claude Opus 5.5
DeltaFile
+31-0llvm/test/CodeGen/X86/inline-asm-direct-mem-output-error.ll
+16-6llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+13-0llvm/test/CodeGen/AArch64/inline-asm-direct-mem-output-error.ll
+10-0llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
+70-64 files

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

[TargetInstrInfo] Address review: autogenerate greedy-inline-asm-fold.mir checks

Generate the checks with update_mir_test_checks.py so that the spills and
reloads around each folded inline asm are verified, not just the INLINEASM
itself. Fix the "=r" comment to describe the C "+r" operand, note that which
"+rm" pair greedy folds is its own choice, and add a "+&rm" case on an
uninitialized value showing that folding a pair whose tied use is undef
stores to the slot without loading from it.

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

LLVM/project 2f74500 — llvm/lib/CodeGen TargetInstrInfo.cpp, llvm/test/CodeGen/X86 greedy-inline-asm-fold.mir

[TargetInstrInfo] Fix folding inline asm operands next to tied operands

foldInlineAsmMemOperand() swapped a register operand for the target's
memory operands with MachineInstr::removeOperand(), which asserts when a
later operand is tied, because moving it would break the tie. Inline asm
lists every input after every output, so folding any operand that comes
before another tied pair asserted, e.g. an "rm" input followed by the
input of a "+r" operand, or one of two "+rm" operands. Without
assertions, the moved operands kept stale tie indices. Untie the
operands, rebuild the operand list, and re-tie the remaining pairs at
their new positions.

It also gave up when the register appears in more than one operand, e.g.
one value passed to two "rm" operands, which left the greedy allocator
unable to spill that value at all. Fold every such operand into the
stack slot.

Finally, take MayLoad from the folded operands rather than from every
read of the register: a folded def whose tied use is another virtual

    [9 lines not shown]
DeltaFile
+85-32llvm/lib/CodeGen/TargetInstrInfo.cpp
+108-0llvm/test/CodeGen/X86/greedy-inline-asm-fold.mir
+193-322 files

FreeBSD/src 0a12ff6 — sys/dev/iwm if_iwm_util.h if_iwm_sta.c

iwm: add iwm_enable_ac_txq(); use it for command queue setup

Port iwm_enable_ac_txq() from OpenBSD.  It's effictively the
command FIFO path in the existing iwm_enable_txq().

The OpenBSD driver does a bunch of TX aggregation queue setup in
iwm_enable_txq() which isn't relevant here just quite yet and
it doesn't currently hurt to leave the existing one here
whilst I figure out the next steps.

Locally tested:

* 3160, 7260, 8260, 9260 - STA mode

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60696
DeltaFile
+50-2sys/dev/iwm/if_iwm.c
+8-5sys/dev/iwm/if_iwm_sta.c
+1-0sys/dev/iwm/if_iwm_util.h
+59-73 files

FreeBSD/src 401434a — sys/dev/iwm if_iwmvar.h if_iwm.c

iwm: add phy/mac context tasks; clean up task stop; add net80211 MAC methods

* Add phy/mac tasks, the phy task is currently a placeholder
* Add in the MAC methods from net80211 that are called whenever
  the VAP mode needs updating
* Mark the hardware as STOPPED during shutdown so scheduled tasks
  don't run

The fun side of this work:

* detaching net80211 causes the parent method to be called which leads
  to iwm_stop() being called, and at least one of the entry paths
  into iwm_stop() has IWM_LOCK held, and we can't do a taskqueue_drain()
  or taskqueue_drain_all() call with any lock held as it will sleep.

* the net80211 detach path is calling at least one of the MAC methods
  during detach, and since the taskqueue is being deleted /before/
  the net80211 detach path, we have to make sure nothing is actually
  going to do taskqueue work after that!

    [12 lines not shown]
DeltaFile
+168-1sys/dev/iwm/if_iwm.c
+6-0sys/dev/iwm/if_iwmvar.h
+174-12 files

FreeBSD/src 05635cc — sys/dev/iwm if_iwmvar.h if_iwm.c

iwm: add qenablemsk to track enabled TXQs

This isn't yet used by anything; it's a precursor to TX queue
tracking needed for dynamically assigned TX aggregate queues.

Tested:

* 3160, 7260, 8260, 9260, STA mode

Obtained from: OpenBSD a6e25c727a2214219715b51ba6af2221d7e0d674

Differential Revision:  https://reviews.freebsd.org/D60286
DeltaFile
+2-0sys/dev/iwm/if_iwm.c
+1-0sys/dev/iwm/if_iwmvar.h
+3-02 files

LLVM/project 424c73a — flang-rt/lib/cuda allocatable.cpp

[flang-rt][cuda] Remove deprecated usage of cudaGetDriverEntryPoint (#232485)

deviceContextTornDown() resolves cuDevicePrimaryCtxGetState through
cudaGetDriverEntryPointByVersion, using the installed driver version,
and fell back to the unversioned cudaGetDriverEntryPoint when that
failed. The unversioned entry point is deprecated since CUDA 12.5 and
triggers -Wdeprecated-declarations.

The fallback adds nothing: the ByVersion call is already required to
build, and the unversioned lookup uses the runtime version, which is
the case that fails when the runtime is newer than the driver. If the
versioned lookup fails, leave the function pointer null, which already
takes the conservative "cannot prove torn down" path.
DeltaFile
+0-7flang-rt/lib/cuda/allocatable.cpp
+0-71 files

NetBSD/pkgsrc hHpssd0 — multimedia/xine-ui Makefile

   force gnu11 since this doesn't build otherwise.

   not pkg rev bumped.
VersionDeltaFile
1.139+3-1multimedia/xine-ui/Makefile
+3-11 files

FreeBSD/src 03d2620 — sys/contrib/zlib gzwrite.c

MFC: MFV: zlib: Fix buffer overflow bug in non-blocking gzwrite.

DIfferential revision:  https://reviews.freebsd.org/D60695

(cherry picked from commit 7fe1d8abad3f55f127634c1ada7718bc1982089e)
DeltaFile
+4-1sys/contrib/zlib/gzwrite.c
+4-11 files

LLVM/project a8c7d3e — flang/lib/Evaluate fold.cpp formatting.cpp, flang/lib/Semantics assignment.cpp

[flang] Fix NOTIFY= placement checking and folding (#231660)

F2023 C933 permits NOTIFY= only in the image selector of an intrinsic
assignment's target variable. Before this patch, semantic analysis
accepted it in other contexts.

Assignment checking reuses the analyzed assignment's classification as
intrinsic or defined. For intrinsic assignment, an existing parse-tree
helper identifies the target variable's own image selector. The new
check permits a NOTIFY= specifier only if its parse-tree node belongs to
that selector's specifier list. It rejects NOTIFY= on separate
designators nested within the target variable.

If an operand error prevents assignment analysis, the checker avoids an
extra placement diagnostic on the target's own selector. Existing
duplicate-specifier diagnostics remain unchanged.

Before this patch, FoldOperation(CoarrayRef) dropped NOTIFY= from the
rebuilt reference. The change retains and folds the notification

    [8 lines not shown]
DeltaFile
+163-0flang/test/Semantics/notify-assignment-errors.f90
+101-0flang/test/Semantics/notify-assignment-valid.f90
+69-0flang/unittests/Evaluate/expression.cpp
+35-3flang/lib/Semantics/assignment.cpp
+4-0flang/lib/Evaluate/formatting.cpp
+3-0flang/lib/Evaluate/fold.cpp
+375-32 files not shown
+378-38 files

LLVM/project cebd70d — flang/include/flang/Optimizer/Passes CommandLineOpts.h, flang/lib/Optimizer/Passes Pipelines.cpp CommandLineOpts.cpp

[flang][NFC] Expose force-no-alias option via CommandLineOpts (#232568)

Move the force-no-alias cl::opt from a file-local static in
Pipelines.cpp
to CommandLineOpts.cpp and declare it extern in CommandLineOpts.h, so
other pipelines built on top of flang can honor the same setting without
re-registering the option.
DeltaFile
+0-4flang/lib/Optimizer/Passes/Pipelines.cpp
+4-0flang/lib/Optimizer/Passes/CommandLineOpts.cpp
+1-0flang/include/flang/Optimizer/Passes/CommandLineOpts.h
+5-43 files

OpenBSD/src 7JDELLr — sys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm.c

   drm/amd/display: Don't replace a sink mode that shares the native totals

   From Adrian Betschart
   f94a12ddd3184280c4a1d0ce4c8be7d36d0a52a3 in linux-6.18.y/6.18.57
   54c998c55fc9cbc391b350d67b86e0c2a0748f1a in mainline linux
VersionDeltaFile
1.218+6-1sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+6-11 files

LLVM/project 2c0d9a6 — mlir/include/mlir/IR Diagnostics.h, mlir/lib/IR Diagnostics.cpp

[mlir][Diagnostics] Set parallel diagnostic order ids without a lock (#232520)

failableParallelForEach tells its ParallelDiagnosticHandler which
element each thread is processing before every element and clears it
after, so diagnostics come out in element order.

The order id now lives in a thread-local slot naming its handler by a
monotonic id (no raw pointers, so a handler destroyed with a stale slot
naming it is harmless). A thread handles one element at a time per
handler, so the slot covers every thread whose loop is not nested in
another loop on the same thread.

200K single-op func.func through per-function cse, 96 threads: sys time
22.9s to 3.8s, wall 3.4s to 3.2s. Unittest pins the nested fallback and
outer-id preservation.
DeltaFile
+141-0mlir/unittests/IR/Diagnostic.cpp
+69-8mlir/lib/IR/Diagnostics.cpp
+6-1mlir/include/mlir/IR/Diagnostics.h
+216-93 files

OpenBSD/src xcVy2X6 — sys/dev/pci/drm/display drm_dp_helper.c

   drm/dp: don't mark the AUX backlight enabled when enabling failed

   From Oleg Keri
   5b26dbb27c0cb0e1b92fc0626c6ae052da8ff7d6 in linux-6.18.y/6.18.57
   707ce102521496c67860d81221b20c56d8255f2f in mainline linux
VersionDeltaFile
1.11+3-1sys/dev/pci/drm/display/drm_dp_helper.c
+3-11 files

OpenBSD/src 8oGEE1L — sys/dev/pci/drm/amd/amdgpu amdgpu_ttm.c

   drm/amdgpu: skip the VMID 0 flush for VRAM

   From Arunpravin Paneer Selvam
   30dacb56f07283a1acb353ce81baef31f85396b0 in linux-6.18.y/6.18.57
   87ceb8cba73d0b3c4025ff42495bccd8164acaed in mainline linux
VersionDeltaFile
1.38+17-8sys/dev/pci/drm/amd/amdgpu/amdgpu_ttm.c
+17-81 files

OpenBSD/src L1RgM8T — sys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm_plane.c

   drm/amd/display: Fix dangling pointer in plane reset function

   From Evgenii Burenchev
   3d8391d3149a1aeb93505a4f9fb9ed8364882c42 in linux-6.18.y/6.18.57
   98cad4bd1443975d972f4c7f705980da03722a22 in mainline linux
VersionDeltaFile
1.12+4-6sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
+4-61 files

OpenBSD/src nonW0ZX — sys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm_crtc.c

   drm/amd/display: Fix dangling pointer in CRTC reset function

   From Evgenii Burenchev
   3a03827bb3cda1527aa923f18160c449f2b4cf2c in linux-6.18.y/6.18.57
   0aeed866cb938943908c3ba46422128e49d2d080 in mainline linux
VersionDeltaFile
1.19+4-4sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
+4-41 files

FreeBSD/ports 49b414e — devel/ta-lib Makefile pkg-plist

devel/ta-lib: update 0.7.1 → 0.8.1

PR:             298681
Approved by:    bdheeman at gmail.com (maintainer's timeout; 25 days)
DeltaFile
+3-3devel/ta-lib/distinfo
+2-3devel/ta-lib/pkg-plist
+1-1devel/ta-lib/Makefile
+6-73 files

OpenBSD/src rVMLeFY — sys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm.h amdgpu_dm_hdcp.h

   drm/amd/display: Resize MST HDCP per-connector arrays to 32

   From Harry Wentland
   562d24ac214ba9530d88841088eb6adce5c537b5 in linux-6.18.y/6.18.57
   261e0fe4e2c99f687114b64b10b98db964b475f4 in mainline linux
VersionDeltaFile
1.12+5-5sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
1.6+4-4sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h
1.28+1-1sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.h
+10-103 files