LLVM/project 3316c0bllvm/test/Analysis/LoopAccessAnalysis depend_diff_types.ll

[LAA] SCEV-licm-reduce depend_diff_types test (NFC) (#213875)

Reduce a couple of tests in depend_diff_types in a way that preserves
SCEV expressions, by creating invariants that we hoist outside the loop.
This makes the tests a bit clearer.

Illustration: https://godbolt.org/z/eTqdoPPzn

Co-authored-by: Andrei Elovikov <andrei.elovikov at sifive.com>
DeltaFile
+22-22llvm/test/Analysis/LoopAccessAnalysis/depend_diff_types.ll
+22-221 files

OpenZFS/src f81e3bfmodule/zfs brt.c

Parallelize brt_pending_apply() for multiple vdevs

Unlike DDT, sorted by the checksum prefix, BRT uses salted hash.
It means that we can't pre-sort the accesses for better caching,
and with BRT size getting bigger that dbuf cache, there is a high
chance that each lookup will require a 8KB block decompression.
It is not as bad as for 32KB DDT block, but still.

Since each vdev in BRT is completely independent, running several
brt_pending_apply_vdev() instances in parallel should increase both
CPU and (in case of ARC miss) pool utilization.

Reviewed-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18860
DeltaFile
+39-7module/zfs/brt.c
+39-71 files

OpenZFS/src c91a759include/sys spa_impl.h spa.h, module/zfs brt.c

Parallelize cloning of deduplicated blocks

When block cloning is used on deduplicated blocks, the additional
references are accounted in DDT instead of BRT.  Previously it was
done by brt_pending_apply_vdev(), calling ddt_addref() for each
block with DEDUP flag in the block pointer.  The process was single-
threaded, and caused a bottleneck in the sync context, since with
large DDT ddt_addref() needs to decompress 32KB ZAP leaf for each
added block.

This patch changes how pending blocks with DEDUP flag are handled.
Inspead of storing them in per-vdev bv_pending_tree, sorted by
offset (which sorting makes no sense for later DDT updates), store
them in one of 16 AVL trees, sharded and sorted by their checksum
prefix.  This way we can simultaneously reduce lock contention on
pools with small number of vdevs, process the shards by separate
sync threads accessing/decompressing different ZAP leaves, and
access ZAP leaves in hash order to increase chances of decompressed
dbuf cache hits.

    [9 lines not shown]
DeltaFile
+176-36module/zfs/brt.c
+20-0include/sys/brt_impl.h
+1-0include/sys/spa_impl.h
+1-0include/sys/spa.h
+198-364 files

OpenZFS/src eb808b3module/zfs arc.c

arc: add a few invariant checks in release builds

Convert a couple ASSERTs invariants to VERIFYs to enforce them
in release builds to be able to root-case #18782 kernel panic,
whenever it happens again.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
Closes #18840
(cherry picked from commit 023d44b9ef68f1eff6b97d98c6a16cdb4b93cf76)
DeltaFile
+7-6module/zfs/arc.c
+7-61 files

OpenZFS/src 216de07module/zfs arc.c

arc: fix race between arc_release() and arc_read_done()

Consider the following scenario:

1. arc_release() is called on hdr with one buf, but which has
   IO_IN_PROGRESS (reading more raw data in encypted pool while
   keeping decrypted data in buf).
2. arc_release() moves hdr to anon state and discards its identity.
3. arc_read_done() is called, adds the 2nd buf to hdr, increasing
   b_refcnt to 2.

Now we have hdr in anon state with two bufs and without identity.

Or here's a racing scenario:

1. arc_release() checked that hdr is not in anon state, but before
   taking hash_lock
2. arc_read_done() takes hash_lock, moves hdr to anon state, in
   case of an error.

    [25 lines not shown]
DeltaFile
+41-13module/zfs/arc.c
+41-131 files

LLVM/project 8de3384libc/include/llvm-libc-macros/linux sched-macros.h fcntl-macros.h, libc/src/__support/threads/linux CMakeLists.txt thread.cpp

[libc] Add more Linux-specific macro for fcntl and sched. (#213727)

* Add more `O_` flags (in particular, `O_LARGEFILE`) to fcntl-macros and
group all creation/status flags (shared and arch-specific) together.
* Add Linux `CLONE_` flags to sched-macros (to be exposed from
`<sched.h>`). Those are also provided in `<linux/sched.h>` kernel
header, but the libc users often expect to find them in regular
`<sched.h>` as those are passed to `clone()` syscall wrapper. Migrate
internal Linux thread implementation to use our own header (instead of
Linux kernel) for these macro.
DeltaFile
+23-23libc/include/llvm-libc-macros/linux/fcntl-macros.h
+28-0libc/include/llvm-libc-macros/linux/sched-macros.h
+1-1libc/src/__support/threads/linux/thread.cpp
+1-0libc/src/__support/threads/linux/CMakeLists.txt
+53-244 files

Illumos/gate 7170c55usr/src/cmd/format Makefile io.c

18308 format: remove -Wno-parentheses
Reviewed by: Bill Sommerfeld <sommerfeld at hamachi.org>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+6-3usr/src/cmd/format/menu_command.c
+1-1usr/src/cmd/format/io.c
+0-1usr/src/cmd/format/Makefile
+7-53 files

LLVM/project 1f80cafflang/lib/Evaluate fold-implementation.h, flang/lib/Semantics check-io.cpp mod-file.cpp

Updated with the following changes:
  - Modified to report an error on boundary condition.
  - Modified tests for the boundary error message.
  - Corrected accessibility attributes by giving explicit attributes as needed.
  - Added regression test for attributes.
  - Reworded incorrect comment.
  - Switched to originalTypeSymbol to use in-scope name.
  - Added test case to verify pre-built mod name usage.
DeltaFile
+82-0flang/test/Semantics/enumeration-type-mod-readback.F90
+20-16flang/test/Semantics/enumeration-type-intrinsics.f90
+10-14flang/lib/Semantics/mod-file.cpp
+14-7flang/lib/Evaluate/fold-implementation.h
+11-6flang/lib/Semantics/check-io.cpp
+10-0flang/test/Semantics/enumeration-type-mod.f90
+147-431 files not shown
+151-447 files

LLVM/project 7b01214llvm/test/CodeGen/AArch64 misched-fusion-fmin-fmax-post-ra.mir misched-fusion-fmin-fmax-pre-ra.mir

[AArch64] Use only virtual registers in pre-RA test(NFC) (#213951)

And add missing label boundaries checks.
DeltaFile
+164-132llvm/test/CodeGen/AArch64/misched-fusion-fmin-fmax-pre-ra.mir
+68-4llvm/test/CodeGen/AArch64/misched-fusion-fmin-fmax-post-ra.mir
+232-1362 files

LLVM/project 0376ce3llvm/test/CodeGen/AArch64 misched-fusion-aes-pre-ra.mir misched-fusion-aes-post-ra.mir

[AArch64] Improve AES clustering tests(NFC) (#213950)

- post-RA: rename test cases, reorder them, add artificially interfering
instruction in between pairs, add negative runlines
- add pre-RA test
- add missing label boundaries checks
DeltaFile
+53-43llvm/test/CodeGen/AArch64/misched-fusion-aes-post-ra.mir
+89-0llvm/test/CodeGen/AArch64/misched-fusion-aes-pre-ra.mir
+142-432 files

LLVM/project d53a591clang/include/clang/Basic CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+9-1llvm/tools/llc/llc.cpp
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+0-4llvm/test/CodeGen/Lanai/codemodel.ll
+4-0llvm/include/llvm/Target/TargetMachine.h
+32-627 files not shown
+39-3533 files

LLVM/project b6bab38clang/include/clang/Basic CodeGenOptions.def CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+9-1llvm/tools/llc/llc.cpp
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+4-0llvm/include/llvm/Target/TargetMachine.h
+2-1clang/include/clang/Basic/CodeGenOptions.def
+34-32 files not shown
+37-48 files

LLVM/project 5b9d9d3clang/include/clang/Basic CodeGenOptions.def CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+9-1llvm/tools/llc/llc.cpp
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+4-0llvm/include/llvm/Target/TargetMachine.h
+2-1clang/include/clang/Basic/CodeGenOptions.def
+34-32 files not shown
+37-48 files

LLVM/project 6534b11clang/include/clang/Basic CodeGenOptions.def CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+9-1llvm/tools/llc/llc.cpp
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+4-0llvm/include/llvm/Target/TargetMachine.h
+2-1clang/include/clang/Basic/CodeGenOptions.def
+34-31 files not shown
+35-47 files

LLVM/project cbe51eeclang/include/clang/Basic CodeGenOptions.def CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+4-0llvm/include/llvm/Target/TargetMachine.h
+2-1clang/include/clang/Basic/CodeGenOptions.def
+1-1clang/test/CodeGen/X86/newpm.c
+26-36 files

LLVM/project 82426e2clang/include/clang/Basic CodeGenOptions.def CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+9-1llvm/tools/llc/llc.cpp
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+4-0llvm/include/llvm/Target/TargetMachine.h
+2-1clang/include/clang/Basic/CodeGenOptions.def
+34-31 files not shown
+35-47 files

LLVM/project 8e91c8cclang/include/clang/Basic CodeGenOptions.def CodeGenOptions.h, clang/include/clang/Options Options.td

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+8-0clang/include/clang/Options/Options.td
+5-1clang/lib/CodeGen/BackendUtil.cpp
+6-0clang/include/clang/Basic/CodeGenOptions.h
+4-0llvm/include/llvm/Target/TargetMachine.h
+2-1clang/include/clang/Basic/CodeGenOptions.def
+1-1clang/test/CodeGen/X86/newpm.c
+26-36 files

LLVM/project 6961103llvm/include/llvm/Target TargetMachine.h

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+4-0llvm/include/llvm/Target/TargetMachine.h
+4-01 files

LLVM/project 777fd8dllvm/include/llvm/Target TargetMachine.h

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+4-0llvm/include/llvm/Target/TargetMachine.h
+4-01 files

OpenBSD/src Ai5HKLSusr.sbin/pstat pstat.c

   Adjust pstat(8) to the changed KERN_TTY_INFO struct itty.

   Also fix up the code path via kvm which requires an extra indirection
   and define __need_process. On top of this fix pstat to allow -t & -M
   to work together.

   OK deraadt@ kettenis@
VersionDeltaFile
1.132+14-11usr.sbin/pstat/pstat.c
+14-111 files

LLVM/project 90edcecclang/lib/Analysis IssueHash.cpp, clang/unittests/Analysis IssueHashTest.cpp

clean up
DeltaFile
+6-6clang/unittests/Analysis/IssueHashTest.cpp
+0-1clang/lib/Analysis/IssueHash.cpp
+6-72 files

OpenBSD/src oOtHrc8sys/kern tty.c, sys/sys tty.h

   Change struct itty and with it KERN_TTY_INFO to return the pid of the
   session leader process

   The t_session pointer is not very useful and only visible to root.
   Adjust this similar to a change done in ps(1) and pass the process id
   of the session leader instead.

   This is a ABI change but KERN_TTY_INFO is only used by pstat(8) and
   debian code search did not find any other use.

   OK deraadt@ kettenis@
VersionDeltaFile
1.184+3-4sys/kern/tty.c
1.46+2-2sys/sys/tty.h
+5-62 files

LLVM/project 2ff1d37clang/lib/Analysis IssueHash.cpp, clang/unittests/Analysis CMakeLists.txt IssueHashTest.cpp

add unit test
DeltaFile
+315-0clang/unittests/Analysis/IssueHashTest.cpp
+4-32clang/lib/Analysis/IssueHash.cpp
+1-0clang/unittests/Analysis/CMakeLists.txt
+320-323 files

FreeBSD/ports 9637c29math/R-cran-RcppParallel Makefile distinfo

math/R-cran-RcppParallel: Update 6.1.1 => 6.2.0

Port changes:
- Remove devel/R-cran-RUnit from TEST_DEPENDS.

Changelog:
https://github.com/RcppCore/RcppParallel/blob/v6.2.0/NEWS.md

PR:             297317
Reported by:    Christos Longros <chris.longros at gmail.com> (maintainer)
Signed-off-by:  Christos Longros <chris.longros at gmail.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3

(cherry picked from commit 70fd6c02c0c5f69ae00197d1948da84cf9234407)
DeltaFile
+3-3math/R-cran-RcppParallel/distinfo
+2-3math/R-cran-RcppParallel/Makefile
+5-62 files

FreeBSD/ports 70fd6c0math/R-cran-RcppParallel Makefile distinfo

math/R-cran-RcppParallel: Update 6.1.1 => 6.2.0

Port changes:
- Remove devel/R-cran-RUnit from TEST_DEPENDS.

Changelog:
https://github.com/RcppCore/RcppParallel/blob/v6.2.0/NEWS.md

PR:             297317
Reported by:    Christos Longros <chris.longros at gmail.com> (maintainer)
Signed-off-by:  Christos Longros <chris.longros at gmail.com> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
MFH:            2026Q3
DeltaFile
+3-3math/R-cran-RcppParallel/distinfo
+2-3math/R-cran-RcppParallel/Makefile
+5-62 files

LLVM/project 5e8ac69llvm/lib/Target/AMDGPU AMDGPUInstructionSelector.cpp AMDGPUISelDAGToDAG.cpp, llvm/test/CodeGen/AMDGPU fpext-free.ll mad-mix-bf16.ll

[AMDGPU] Fold fsub into fma_mix via free neg_lo modifier (#212305)

Rewrite the fsub->fma_mix pattern as `fma((-y), 1.0, x)` using the free
neg_lo modifier

instead of multiplying by -1.0 (which doesn't always flip the sign of
NaN), use the hardware free neg_lo bit, which does a true sign flip. As
a result, now the fold always matches fsub actual behavior instead of
only in the common case (non-NaN FP numbers)
DeltaFile
+117-124llvm/test/CodeGen/AMDGPU/mad-mix.ll
+38-0llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+34-0llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+16-16llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-neg-mul.ll
+22-10llvm/test/CodeGen/AMDGPU/mad-mix-bf16.ll
+14-14llvm/test/CodeGen/AMDGPU/fpext-free.ll
+241-1647 files not shown
+280-18013 files

Linux/linux 6c68fa6fs/btrfs disk-io.c subpage.h, include/trace/events btrfs.h

Merge tag 'for-7.2-rc6-fixup-worker-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull Btrfs Fixes 2: Electric Boogaloo from David Sterba:
 "This brings back the fixup worker infrastructure.

  It's a mechanism to detect pages/folios that are marked dirty without
  filesystem knowledge and require COW fixup. The consequence of not
  doing so is silent data loss.

  The first patch covers the scenarios in detail, also reflecting folio
  API port and subpage block size support added in recent years. The
  original fixup worker was only for pages.

  The patch is relatively big, half of the code is debugging and support
  code, the rest is the core design around the detection and fix.

  The second patch handles an unlikely case when there's work left
  during unmount"


    [3 lines not shown]
DeltaFile
+216-1fs/btrfs/inode.c
+211-5fs/btrfs/subpage.c
+113-0fs/btrfs/extent_io.c
+36-5fs/btrfs/subpage.h
+35-0include/trace/events/btrfs.h
+27-1fs/btrfs/disk-io.c
+638-122 files not shown
+651-128 files

Linux/linux 6335463fs/btrfs Kconfig inode.c

Merge tag 'for-7.2-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fixes from David Sterba:

 - fix leak in encoded ioctl write

 - disable large folios on systems with highmem

 - disable block size > page size when there's no transparent hugepage
   support (under experimental config)

 - reject compressed inline extents without valid LZO headers

 - properly initialize cached inode mapping (if block size > page size)

* tag 'for-7.2-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
  btrfs: initialize inode mapping flags for cached inodes
  btrfs: disable bs > ps support if no transparent hugepage support
  btrfs: fix memory leak in btrfs_do_encoded_write()

    [2 lines not shown]
DeltaFile
+10-2fs/btrfs/fs.c
+9-1fs/btrfs/disk-io.c
+3-2fs/btrfs/lzo.c
+3-1fs/btrfs/inode.c
+2-1fs/btrfs/Kconfig
+27-75 files

NetBSD/pkgsrc OcAuRtOdoc TODO CHANGES-2026

   doc: Updated net/arti to 2.5.1
VersionDeltaFile
1.27699+1-2doc/TODO
1.5041+2-1doc/CHANGES-2026
+3-32 files

NetBSD/pkgsrc uNO3WiBnet/arti Makefile cargo-depends.mk

   arti: update to 2.5.1.

   # Arti 2.5.1 - 3 August 2026

   Arti 2.5.1 continues development on relays and directory authorities.
   It also adds some performance, security, and convenience features for
   onion services.

   # Arti 2.5.0 — 30 June 2026

   Arti 2.5.0 comes with lots of progress in the relay and directory authority
   space, including ntor handshake handling, as well as encoding/decoding support
   for router- and micro descriptors.

   This release also includes a number of important bug fixes, as well as two security
   fixes for medium-severity security issues, [TROVE-2026-24] and [TROVE-2026-27].
VersionDeltaFile
1.19+427-451net/arti/distinfo
1.19+141-149net/arti/cargo-depends.mk
1.24+3-3net/arti/Makefile
+571-6033 files