LLVM/project a45a57cmlir/lib/Dialect/OpenACC/Transforms ACCRoutineLowering.cpp, mlir/test/Dialect/OpenACC acc-routine-lowering.mlir

[mlir][openacc] Copy all host function attributes to the device routine (#226127)

`createFunctionForDeviceStaging` copied only the discardable attributes
of the host function, so the device copy lost sym_visibility, arg_attrs,
res_attrs and no_inline, which are inherent attributes of func.func. A
private host with llvm.signext/llvm.noundef on its signature became a
public function with a bare signature.

Fixes #225259
DeltaFile
+13-0mlir/test/Dialect/OpenACC/acc-routine-lowering.mlir
+1-2mlir/lib/Dialect/OpenACC/Transforms/ACCRoutineLowering.cpp
+14-22 files

LLVM/project 3e5c0d8llvm/lib/CodeGen SpillPlacement.cpp, llvm/test/CodeGen/AMDGPU wave-profile-spill.mir

[CodeGen] Use validated wave counts for AMDGPU spill costs

Lane-based block frequencies can understate the cost of a spill in
divergent GPU code: a wave still executes a block with only some lanes
active. Use measured block-wave counts to weight SpillPlacement's costs
relative to the original entry-wave count.

Opt in on AMDGPU only. Accept a measured count only when its IR block
maps uniquely to a machine block with matching predecessors and
successors. Keep the existing MBFI cost for unmeasured or rejected
blocks, and leave branch probabilities and general BFI unchanged.
DeltaFile
+199-0llvm/test/CodeGen/AMDGPU/wave-profile-spill.mir
+99-1llvm/lib/CodeGen/SpillPlacement.cpp
+298-12 files

HardenedBSD/ports 8b3adcasysutils/pefs-kmod Makefile

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-6sysutils/pefs-kmod/Makefile
+0-61 files

HardenedBSD/ports 142a676devel/rust-bindgen-cli distinfo, multimedia/termplay distinfo

Merge remote-tracking branch 'rad/freebsd/main' into hardenedbsd/main

Conflicts:
        sysutils/pefs-kmod/Makefile (unresolved)
DeltaFile
+3,364-3,358www/homepage/pkg-plist
+1,259-0net/linux-remotedesktopmanager/pkg-plist
+180-180multimedia/termplay/distinfo
+119-117x11/swayr/distinfo
+91-113devel/rust-bindgen-cli/distinfo
+58-57x11/swayr/Makefile.crates
+5,071-3,825305 files not shown
+7,210-4,617311 files

FreeBSD/src c14281ftests/sys/kern unix_connectat.c

tests/sys/kern: skip unix_connectat fdescfs cases when fdescfs is missing

unix_connectat's fdescfs cases call mount_fdescfs(), which skipped on ENODEV.
nmount(2) never returns ENODEV: vfs_donmount() remaps the ENODEV from a failed
fdescfs module load to EINVAL with errmsg "Invalid fstype", so the skip never
fired and the cases failed on kernels without fdescfs.

Approved by:    ngie, asomers
Sponsored by:   Netflix
Differential Revision:  https://reviews.freebsd.org/D59227
DeltaFile
+1-3tests/sys/kern/unix_connectat.c
+1-31 files

LLVM/project 591f2e7llvm/lib/Transforms/Utils SCCPSolver.cpp, llvm/test/Transforms/SCCP select-struct.ll

[SCCP] Implement Structure support in Selection (#225946)

Same as my previous work on PhiNode, we support structure in SelectInst
if there is at least one member is not overdefined.

As structure type check code has multiple consumers now, we create a
helper function forEachLatticeElement, which accept a function to
indicate what we want to do for a single lattice element. The lattice
getter function is passed as a currying function of the callback.

Also, remove an assertion for testing DenseMap reference as
isInstFullyOverDefined has already emit elements in DenseMap.
DeltaFile
+206-0llvm/test/Transforms/SCCP/select-struct.ll
+34-44llvm/lib/Transforms/Utils/SCCPSolver.cpp
+240-442 files

LLVM/project 5f7d8a2libc/hdr poll_macros.h, libc/src/__support/OSUtil/linux/syscall_wrappers ppoll.h

[libc] Implement ppoll in poll (#225767)

Implement the standard POSIX.1-2008 / POSIX.1-2024 function ppoll in
<poll.h>.

Fixes #225681
DeltaFile
+157-0libc/test/src/poll/ppoll_test.cpp
+63-0libc/src/__support/OSUtil/linux/syscall_wrappers/ppoll.h
+41-0libc/src/poll/linux/ppoll.cpp
+32-0libc/test/src/poll/CMakeLists.txt
+31-0libc/src/poll/ppoll.h
+27-0libc/hdr/poll_macros.h
+351-09 files not shown
+417-015 files

LLVM/project 6bef34aclang/tools/offload-arch LevelZeroArch.cpp, clang/unittests/offload-arch OffloadArchTest.cpp

[TargetParser] Add a list of Intel GPUs, and use it in offload-arch (#222072)

Currently offload-arch prints Intel GPU identifiers like "Intel(R) Data
Center GPU Max 1100" which are not legal values for clang's
--offload-arch option.

Print an architecture name instead, e.g. "xe-pvc". The driver reports a
GPU IP version, the GMDID, for every device. Add a table that maps a
GMDID to a name, and look the device up in it. A device that is missing
from the table is printed by its numeric version, e.g. "xe_35.11.0". A
device whose driver does not report a GMDID is skipped.

The table goes in llvm/TargetParser, next to the other GPU lists,
because other tools need it too. Some of them are LLVM libraries, which
cannot include a clang header.

Every row of IntelGPUTargetParser.def holds a name that --offload-arch
accepts, the major and minor components of the GMDID that the device
reports, and the IGCA (Intel Graphics Compute Architecture) target and

    [10 lines not shown]
DeltaFile
+96-0llvm/include/llvm/TargetParser/IntelGPUTargetParser.def
+81-0llvm/unittests/TargetParser/IntelGPUTargetParserTest.cpp
+65-0llvm/lib/TargetParser/IntelGPUTargetParser.cpp
+53-0clang/unittests/offload-arch/OffloadArchTest.cpp
+50-0llvm/include/llvm/TargetParser/IntelGPUTargetParser.h
+36-2clang/tools/offload-arch/LevelZeroArch.cpp
+381-25 files not shown
+387-311 files

FreeBSD/src 884b961usr.sbin/makefs makefs.h ffs.c

makefs: Make target filesystem inodes 64 bits

Obtained from:  NetBSD 2501d4dfda92, 7022656d8ab2
DeltaFile
+2-2usr.sbin/makefs/ffs.c
+1-1usr.sbin/makefs/makefs.h
+3-32 files

LLVM/project dbeaf3dllvm/lib/Analysis InstructionSimplify.cpp

[InstSimplify] Add missing FRem in FMF overload (#225987)
DeltaFile
+2-0llvm/lib/Analysis/InstructionSimplify.cpp
+2-01 files

NetBSD/pkgsrc-wip bc1f436harper DESCR COMMIT_MSG

harper: Remove, imported in pkgsrc

The version imported was packaged from scratch but seems comparable to
the one in pkgsrc-wip.
DeltaFile
+0-2,015harper/distinfo
+0-672harper/cargo-depends.mk
+0-37harper/Makefile
+0-3harper/PLIST
+0-1harper/DESCR
+0-1harper/COMMIT_MSG
+0-2,7291 files not shown
+0-2,7307 files

LLVM/project ec460b0llvm/lib/CodeGen MachineBasicBlock.cpp, llvm/test/CodeGen/AMDGPU phi-elimination-split-critical-edge-subranges.mir

CodeGen: Fix SplitCriticalEdge using wrong VNInfo for subranges

This fixes verifier errors when LiveIntervals is run before phi
elimination.

When extending a live interval across a newly split critical edge for a
PHI source operand, the subrange segments were added using the VNInfo of
the main range instead of the subrange's own value. Look up the
subrange's value at the predecessor's last index, as the other subrange
loop in the same function already does, and skip subranges with no value
there.

Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+68-0llvm/test/CodeGen/AMDGPU/phi-elimination-split-critical-edge-subranges.mir
+4-2llvm/lib/CodeGen/MachineBasicBlock.cpp
+72-22 files

LLVM/project e5c9691lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

[lldb] Fix OOB write in MultiMemRead response parsing (#226168)

Change some memory writes in ParseMultiMemReadPacket so that it no
longer asserts on OOB accesses, instead returning an error. This makes
the code correct even in release builds.
DeltaFile
+12-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+12-11 files

FreeBSD/src 742e58dsys/vm vm_page.c

vm_page: Fix the error path in vm_page_alloc_contig_domain()

If we are inserting a run of pages into a VM object and fail at some
point due to a memory allocation failure, we have to free all of the
pages in the run.  We do that by resetting some fields and calling
vm_page_free_toq() on each page; this removes the page from the object
and frees it back to the buddy allocator.

If the page is supposed to be wired, we reset the reference count, but
this was done incorrectly: the VPRC_OBJREF flag must be retained as the
page still belongs to an object.  Resetting it to zero will cause a
panic in vm_page_free_prep(): vm_page_free_object_prep() will subtract
VPRC_OBJREF from the refcount, causing underflow, and
vm_page_free_prep() subsequently calls panic() if the refcount is
non-zero.

Reviewed by:    alc, kib
Fixes:          fee2a2fa3983 ("Change synchonization rules for vm_page reference counting.")
MFC after:      1 week

    [2 lines not shown]
DeltaFile
+1-1sys/vm/vm_page.c
+1-11 files

LLVM/project 4127345clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefLambdaCapturesChecker.cpp, clang/test/Analysis/Checkers/WebKit uncounted-lambda-captures.cpp mock-system-header.h

[WebKit Checkers] Do not report lambda captures in system headers (#226182)

This matches the policy in other WebKit checkers.

Some `std` namespace lambdas like `find` lack the `noescape` annotation,
so the borrow checker flags them.

Assisted-by: Claude
DeltaFile
+8-0clang/test/Analysis/Checkers/WebKit/mock-system-header.h
+5-0clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
+2-0clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefLambdaCapturesChecker.cpp
+15-03 files

FreeBSD/ports 27da7admath/octave-forge-datatypes Makefile distinfo

math/octave-forge-datatypes: Update to 1.4.3.
DeltaFile
+3-3math/octave-forge-datatypes/distinfo
+1-1math/octave-forge-datatypes/Makefile
+4-42 files

NetBSD/pkgsrc Xk2fQN3doc CHANGES-2026

   doc: Updated lang/php84 to 8.4.26
VersionDeltaFile
1.6341+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc qlrMExElang/php phpversion.mk, lang/php84 Makefile distinfo

   lang/php84: udpate to 8.4.26

   PHP 8.4.26 (2026-09-24)

   - BCMath:
     . Fixed out-of-bounds read in bc_is_zero_for_scale() when scale exceeds
       n_scale. (Ilia Alshanetsky)

   - Core:
     . Fixed out-of-bounds reads during automatic UTF-16/32 encoding detection.
       (Yudai Takada)
     . Fixed bug GH-15375 (Nested "yield from" skips items after a valid() or
       next() call on the inner generator). (iliaal)
     . Fixed bug GH-23232 (lone namespace separator asks the autoloader for an
       empty class name). (spawnia)
     . Fixed bug GH-23301 (Nested "yield from" yields a value twice when the
       middle generator delegates again). (Lazizbek Ergashev)

   - CLI:

    [161 lines not shown]
VersionDeltaFile
1.26+4-4lang/php84/distinfo
1.517+2-2lang/php/phpversion.mk
1.13+1-2lang/php84/Makefile
+7-83 files

LLVM/project 2032d3allvm/lib/CodeGen PHIElimination.cpp, llvm/test/CodeGen/Hexagon phi-elim-subreg-lanes.mir

CodeGen: Trim each PHI source subregister lane at its own last read

This fixes verifier errors when LiveIntervals is computed in SSA.

Eliminating a PHI with LiveIntervals available, it shortens the live range
of the source register to its last read in the predecessor block, and shortened
each subrange to that same point. That is wrong when several PHIs read different
subregisters of the same source value: each lane's real last read is a different
one of the inserted copies, so trimming all of them at the last read of the whole
register leaves the earlier lanes live past their final use. The verifier rejects
this with "Instruction ending live segment doesn't read the register".

The per-lane read points cannot be recovered from the original live ranges, so
the new subreg copies need to be tracked.

Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
DeltaFile
+341-0llvm/test/CodeGen/Hexagon/phi-elim-subreg-lanes.mir
+56-5llvm/lib/CodeGen/PHIElimination.cpp
+397-52 files

FreeBSD/ports 0b40344math/octave-forge-pkg-octave-doc Makefile distinfo

math/octave-forge-pkg-octave-doc: Update to 0.8.6.
DeltaFile
+3-3math/octave-forge-pkg-octave-doc/distinfo
+1-1math/octave-forge-pkg-octave-doc/Makefile
+4-42 files

NetBSD/src IGzYVSKsys/arch/mips/include intr.h, sys/arch/mips/mips mips_fixup.c

   mips: tag all the stub functions as __noubsan

   When built with UBSAN the stub functions change to the point that the
   mips_fixup_addr code doesn't understand the instructions involved.
   Apply __nousbsan to avoid this.

   PR//60779: Kernel complains about unexpected mips insn on boot...
VersionDeltaFile
1.30+24-23sys/arch/mips/mips/mips_fixup.c
1.14+16-16sys/arch/mips/include/intr.h
+40-392 files

OpenBSD/src 71t6VnPsys/arch/amd64/amd64 vmm_machdep.c

   vmm(4): Do not access raw PSL_I

   With SEV-ES enabled we can not directly access PSL_I in RFLAGS.
   Instead we have to use the GUEST_INTR_MASK bit in vmcb->v_intr_shadow
   which indicates the actual PSL_I state.

   ok dv@ mlarkin@
VersionDeltaFile
1.91+3-2sys/arch/amd64/amd64/vmm_machdep.c
+3-21 files

NetBSD/pkgsrc SBavHytdoc CHANGES-2026

   doc: Updated lang/php82 to 8.2.34
VersionDeltaFile
1.6340+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc OICKaBZlang/php phpversion.mk, lang/php82 Makefile distinfo

   lang/php82: update to 8.2.34

   PHP 8.2.34 (2026-09-24)

   - Filter:
     . Fixed GHSA-ch8v-r6jh-4vvr (FILTER_SANITIZE_ENCODED does not encode 0xFF).
       (Ilia Alshanetsky)

   - FPM:
     . Fixed GHSA-62xp-839h-2637 (IPv6 ACL bypass in FastCGI listen.allowed_clients
       due to partial address comparison). (CVE-2026-91768) (Alexandre Daubois)

   - MySQLnd:
     . Fixed GHSA-r6x9-5r99-36j7 (Various packet overreads in mysqlnd wire
       protocol). (CVE-2025-1218) (Jakub Zelenka, Nora Dossche)

   - OpenSSL:
     . Fixed GHSA-vvx9-73fr-5jjx (TLS hostname verification falls back to CN after
       SAN mismatch). (CVE-2026-91769) (Jakub Zelenka)

    [26 lines not shown]
VersionDeltaFile
1.39+4-4lang/php82/distinfo
1.516+2-2lang/php/phpversion.mk
1.27+1-2lang/php82/Makefile
+7-83 files

NetBSD/pkgsrc zpnLqxHdoc CHANGES-2026

   doc: Updated lang/php85 to 8.5.11
VersionDeltaFile
1.6339+2-1doc/CHANGES-2026
+2-11 files

FreeBSD/ports 6d30611devel/vite-plus Makefile

devel/vite-plus: only support ARCH aarch64 and amd64
DeltaFile
+2-0devel/vite-plus/Makefile
+2-01 files

NetBSD/pkgsrc q5MXbbjlang/php phpversion.mk, lang/php85 Makefile distinfo

   lang/php85: update to 8.5.11

   PHP 8.5.11 (2026-09-24)

   - BCMath:
     . Fixed out-of-bounds read in bc_is_zero_for_scale() when scale exceeds
       n_scale. (Ilia Alshanetsky)

   - Core:
     . Fixed out-of-bounds reads during automatic UTF-16/32 encoding detection.
       (Yudai Takada)
     . Fixed bug GH-15375 (Nested "yield from" skips items after a valid() or
       next() call on the inner generator). (iliaal)
     . Fixed bug GH-23232 (lone namespace separator asks the autoloader for an
       empty class name). (spawnia)
     . Fixed bug GH-23301 (Nested "yield from" yields a value twice when the
       middle generator delegates again). (Lazizbek Ergashev)

   - DOM:

    [141 lines not shown]
VersionDeltaFile
1.11+4-4lang/php85/distinfo
1.515+2-2lang/php/phpversion.mk
1.4+1-2lang/php85/Makefile
+7-83 files

LLVM/project 79eab5dllvm/lib/Target/AMDGPU AMDGPUInstCombineIntrinsic.cpp

Update for comments
DeltaFile
+2-2llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
+2-21 files

NetBSD/pkgsrc 0LvM9Rkdoc CHANGES-2026

   doc: Correct php83 version
VersionDeltaFile
1.6338+2-2doc/CHANGES-2026
+2-21 files

NetBSD/pkgsrc-wip ecd1a69. Makefile, mic-paren PLIST distinfo

mic-paren: remove, pkgsrc is newer
DeltaFile
+0-28mic-paren/Makefile
+0-8mic-paren/MESSAGE
+0-7mic-paren/DESCR
+0-4mic-paren/distinfo
+0-3mic-paren/PLIST
+0-1Makefile
+0-516 files