LLVM/project e675b9fllvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstSimplify compare.ll

[InstSimplify] Consider `dereferenceable(N)` when simplifying pointer equalities (#203867)

Extend `computePointerICmp` to leverage `dereferenceable(N)` attribute
when simplifying pointer equality comparisons. Per attribute semantics,
an argument pointer marked as such cannot be a one-past-the-end pointer
to some object, thus it cannot equal the start of an adjacent object.
This lets us prove inequality between a `dereferenceable` argument and
storage allocated within the function.

Fixes: https://github.com/llvm/llvm-project/issues/200511.
DeltaFile
+182-0llvm/test/Transforms/InstSimplify/compare.ll
+47-28llvm/lib/Analysis/InstructionSimplify.cpp
+229-282 files

LLVM/project 2487cb0clang/lib/AST/ByteCode EvaluationResult.cpp EvalEmitter.cpp

[clang][bytecode] Rename checkReturnValue to checkDynamicAllocations (#204064)

This is part of https://github.com/llvm/llvm-project/pull/186045, but
makes sense independently.
DeltaFile
+4-3clang/lib/AST/ByteCode/EvaluationResult.cpp
+2-2clang/lib/AST/ByteCode/EvalEmitter.cpp
+2-2clang/lib/AST/ByteCode/EvaluationResult.h
+8-73 files

LLVM/project fe51b83llvm/include/llvm/Analysis AssumeBundleQueries.h, llvm/lib/Analysis AssumeBundleQueries.cpp

[Test] Remove test creating invalid assume operand bundles (#203945)

This was creating random assume operand bundles, using unsupported
attributes, and using invalid arguments for supported ones.

Rather than trying to salvage this test, delete it and the API it tests.
DeltaFile
+0-98llvm/unittests/Analysis/AssumeBundleQueriesTest.cpp
+0-12llvm/include/llvm/Analysis/AssumeBundleQueries.h
+0-6llvm/lib/Analysis/AssumeBundleQueries.cpp
+0-1163 files

LLVM/project 4ae4a15clang-tools-extra/test/clang-tidy/infrastructure cli-argument-errors.cpp config-option-errors.cpp

Revert "[clang-tidy][NFC] Add more test coverage for tidy errors" (#204073)

Reverts llvm/llvm-project#203987
DeltaFile
+0-13clang-tools-extra/test/clang-tidy/infrastructure/cli-argument-errors.cpp
+0-13clang-tools-extra/test/clang-tidy/infrastructure/config-option-errors.cpp
+0-11clang-tools-extra/test/clang-tidy/infrastructure/vfsoverlay-errors.cpp
+0-10clang-tools-extra/test/clang-tidy/infrastructure/config-file-parse-errors.cpp
+0-8clang-tools-extra/test/clang-tidy/infrastructure/export-fixes-errors.cpp
+0-7clang-tools-extra/test/clang-tidy/infrastructure/list-checks-no-checks.cpp
+0-626 files

LLVM/project 95cc633mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-taskloop-reduction.mlir openmp-todo.mlir

[mlir][OpenMP] Translate reductions on taskloop

Add LLVM IR translation for reduction and in_reduction clauses on omp.taskloop.context.

For taskloop reduction, emit the implicit taskgroup reduction setup and map each generated task to runtime-provided private reduction storage through __kmpc_task_reduction_get_th_data. For in_reduction, use the same runtime lookup path with a null descriptor to join an enclosing task reduction context.

Unsupported byref, cleanup, and two-argument initializer forms remain diagnosed.

Add MLIR translation tests for the supported taskloop reduction and in_reduction cases.
DeltaFile
+373-0mlir/test/Target/LLVMIR/openmp-taskloop-reduction.mlir
+238-27mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+92-10mlir/test/Target/LLVMIR/openmp-todo.mlir
+703-373 files

LLVM/project 1338c5cllvm/test/CodeGen/AArch64/GlobalISel irtranslator-memset-inline.ll inline-memset-forced.mir, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-memsetinline.mir

[GlobalISel] Implement `llvm.memset.inline` (#203198)
DeltaFile
+142-0llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-memset-inline.ll
+77-0llvm/test/CodeGen/AArch64/GlobalISel/inline-memset-forced.mir
+72-0llvm/test/CodeGen/AArch64/GlobalISel/inline-small-memset.mir
+69-0llvm/test/CodeGen/RISCV/GlobalISel/memset-inline.ll
+59-0llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-memsetinline.mir
+57-0llvm/test/CodeGen/Mips/GlobalISel/mips-prelegalizer-combiner/inline-memset.mir
+476-021 files not shown
+614-2727 files

LLVM/project 161d8a7clang-tools-extra/clangd HeaderSourceSwitch.cpp ClangdLSPServer.cpp, clang-tools-extra/clangd/refactor/tweaks ExtractVariable.cpp

[clangd][nfc] Avoid type erasure for local recursive callbacks (#203042)

Four local clangd callbacks use std::function only to call themselves.
Switch to local structs and static functions to avoid std::function
type-erasure and copy-support machinery.

In matched Release AArch64 builds, the four object files shrink by 8,152
bytes and 131 relocations; linked clangd shrinks by 3,872 bytes
unstripped and 16 bytes stripped, with __text down 360 bytes,
__DATA_CONST,__const down 208 bytes, unwind data down 32 bytes, and 21
fewer dyld fixups.

Work towards #202616

AI tool disclosure: Co-authored with OpenAI Codex.
DeltaFile
+22-17clang-tools-extra/clangd/HeaderSourceSwitch.cpp
+22-17clang-tools-extra/clangd/ClangdLSPServer.cpp
+13-11clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
+11-10clang-tools-extra/clangd/Protocol.cpp
+68-554 files

LLVM/project e13bb91llvm/lib/Target/AArch64 AArch64RegisterInfo.cpp, llvm/unittests/Target/AArch64 AArch64RegisterInfoTest.cpp

[AArch64] Reserve `W30_HI` and `[BHSDQ]31_HI` (#202929)
DeltaFile
+38-0llvm/unittests/Target/AArch64/AArch64RegisterInfoTest.cpp
+6-6llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
+44-62 files

FreeBSD/ports 9ee33e4misc/codex distinfo Makefile.crates

misc/codex: Update to 0.140.0

Changelog: https://github.com/openai/codex/releases/tag/rust-v0.140.0

Reported by:    GitHub (watch releases)
DeltaFile
+5-39misc/codex/distinfo
+1-18misc/codex/Makefile.crates
+4-2misc/codex/Makefile
+10-593 files

LLVM/project 9d7ca44llvm/lib/Target/AMDGPU GCNHazardRecognizer.cpp GCNHazardRecognizer.h, llvm/test/CodeGen/AMDGPU misched-into-wmma-hazard-shadow.mir

[AMDGPU] Track VALU instructions separately for WMMA coexecution hazards (#202523)

WMMA coexecution hazards can only be resolved by VALU instructions, not
S_NOPs. Track VALU/WMMA instructions separately so the scheduler can
accurately determine stall cycles.
DeltaFile
+59-10llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
+36-0llvm/test/CodeGen/AMDGPU/misched-into-wmma-hazard-shadow.mir
+16-0llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
+111-103 files

LLVM/project 2e36f06clang-tools-extra/test/clang-tidy/infrastructure cli-argument-errors.cpp config-option-errors.cpp

[clang-tidy][NFC] Add more test coverage for tidy errors (#203987)
DeltaFile
+13-0clang-tools-extra/test/clang-tidy/infrastructure/cli-argument-errors.cpp
+13-0clang-tools-extra/test/clang-tidy/infrastructure/config-option-errors.cpp
+11-0clang-tools-extra/test/clang-tidy/infrastructure/vfsoverlay-errors.cpp
+10-0clang-tools-extra/test/clang-tidy/infrastructure/config-file-parse-errors.cpp
+8-0clang-tools-extra/test/clang-tidy/infrastructure/export-fixes-errors.cpp
+7-0clang-tools-extra/test/clang-tidy/infrastructure/list-checks-no-checks.cpp
+62-06 files

Linux/linux d29fd59fs/hfs dir.c inode.c, fs/hfsplus inode.c dir.c

Merge tag 'hfs-v7.2-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/vdubeyko/hfs

Pull hfs/hfsplus updates from Viacheslav Dubeyko:
 "Several fixes in HFS/HFS+ of syzbot reported issues and HFS//HFS+
  fixes of xfstests failures.

   - fix a null-ptr-deref issue reported by syzbot (Edward Adam Davis)

     If the attributes file is not loaded during system mount
     hfsplus_create_attributes_file can dereference a NULL pointer.

     Also, add a b-tree node size check in hfs_btree_open() with the
     goal to prevent an uninit-value bug reported by syzbot for the case
     of corrupted HFS+ image.

   - fix __hfs_bnode_create() by using kzalloc_flex() instead of
     kzalloc() (Rosen Penev)

   - fix early return in hfs_bnode_read() (Tristan Madani)

    [23 lines not shown]
DeltaFile
+36-4fs/hfsplus/inode.c
+18-19fs/hfs/dir.c
+11-17fs/hfsplus/dir.c
+11-10fs/hfs/inode.c
+0-11fs/hfsplus/catalog.c
+5-5fs/hfs/bnode.c
+81-6610 files not shown
+92-9216 files

FreeBSD/ports cd5326adevel/rust-analyzer distinfo Makefile.crates

devel/rust-analyzer: Update to 2026-06-08

ChangeLog:
https://github.com/rust-lang/rust-analyzer/releases/tag/2026-06-08

PR:             295981
DeltaFile
+419-381devel/rust-analyzer/distinfo
+209-190devel/rust-analyzer/Makefile.crates
+1-2devel/rust-analyzer/Makefile
+629-5733 files

FreeBSD/doc 489ad47website/content/en/releases/15.1R installation.adoc

15.1/installation: temp content

Approved by: re (implicit)
DeltaFile
+303-0website/content/en/releases/15.1R/installation.adoc
+303-01 files

FreeBSD/ports 3358e97ftp/surge distinfo Makefile

ftp/surge: update 0.8.7 → 0.9.0
DeltaFile
+5-5ftp/surge/distinfo
+1-1ftp/surge/Makefile
+6-62 files

Linux/linux 6f60a60fs/nilfs2 segment.c namei.c

Merge tag 'nilfs2-v7.2-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/vdubeyko/nilfs2

Pull nilfs2 updates from Viacheslav Dubeyko:
 "Fixes of syzbot reported issue and various small fixes in NILFS2
  functionality.

   - fix hung task in nilfs_transaction_begin() (Deepanshu Kartikey)

     Reported by syzbot. The root cause is that user-supplied segment
     numbers were not validated before nilfs_clean_segments() began
     doing work; the range check on each segnum was performed deep
     inside the call chain by nilfs_sufile_updatev(), which emits a
     nilfs_warn() per invalid entry while still holding the segctor lock
     and the sufile mi_sem.

     Fix it by validating the contents of kbufs[4] in
     nilfs_clean_segments() immediately after acquiring ns_segctor_sem
     via nilfs_transaction_lock().


    [23 lines not shown]
DeltaFile
+22-0fs/nilfs2/segment.c
+1-1fs/nilfs2/namei.c
+0-2fs/nilfs2/super.c
+23-33 files

Linux/linux 31b706dfs/btrfs ioctl.c relocation.c, include/trace/events btrfs.h

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

Pull btrfs updates from David Sterba:
 "The most noticeable change is to enable large folios by default, it's
  been in testing for a few releases. Related to that is huge folio
  support (still under experimental config). Otherwise a few ioctl
  updates, performance improvements and usual fixes and core changes.

  User visible changes:

   - enable large folios by default, added in 6.17 (under experimental
     build), no feature limitations, a big change internally

   - new ioctl to return raw checksums to userspace (a bit tricky given
     compression and tail extents), can be used for mkfs and
     deduplication optimizations

   - provide stable UUID for e.g. overlayfs and temp_fsid, also
     reflected in statvfs() field f_fsid, internal dev_t is hashed in to

    [93 lines not shown]
DeltaFile
+868-21include/trace/events/btrfs.h
+550-207fs/btrfs/ioctl.c
+208-140fs/btrfs/relocation.c
+171-174fs/btrfs/extent_io.c
+65-262fs/btrfs/inode.c
+112-174fs/btrfs/subpage.c
+1,974-97852 files not shown
+3,480-1,90958 files

LLVM/project f88e9delibc/lib CMakeLists.txt

[libc] Generate a stub for libpthread.a (#200908)

Several build systems / existing scripts assume that pthread functions
are exposed through separate library (`libpthread.so` / `libpthread.a`)
and thus use `-lpthread` flag explicitly. Since llvm-libc puts all the
pthread functions into the regular `libc`, teach the CMake build rules
to produce an empty static archive `libpthread.a` for compatibility
purposes.
DeltaFile
+25-0libc/lib/CMakeLists.txt
+25-01 files

Linux/linux 477c122fs/dlm midcomms.c lowcomms.c

Merge tag 'dlm-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm

Pull dlm updates from David Teigland:
 "There are four fixes/cleanups in this series; none are likely to be
  issues in real usage:

   - improve debugfs error exit path

   - fix sequence number ordering in an artificial test case

   - fix usercopy_abort for lvb data

   - use hlist_for_each_entry_srcu for srcu lists"

* tag 'dlm-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
  dlm: init per node debugfs before add to node hash
  dlm: fix add msg handle in send_queue ordered
  dlm: add usercopy whitelist to dlm_cb cache
  dlm: use hlist_for_each_entry_srcu for SRCU protected lists
DeltaFile
+13-8fs/dlm/midcomms.c
+8-4fs/dlm/lowcomms.c
+3-1fs/dlm/memory.c
+24-133 files

LLVM/project ccef34dllvm/lib/Transforms/Vectorize VPlanTransforms.cpp VPlanTransforms.h, llvm/test/Transforms/LoopVectorize runtime-check-known-true.ll

[VPlan] Simplify reverse(reverse(x)) -> x (#199057)

This is a version of #196900 that performs the simplification as a
separate transform.

We need to add an additional `vp.splice.right(vp.splice.left(poison, x,
evl), poison, evl) -> x` simplification to avoid left over splices
whenever reverses are removed in an EVL tail folded loop.

Co-authored-by: Madhur Amilkanthwar <madhura at nvidia.com>
DeltaFile
+59-0llvm/test/Transforms/LoopVectorize/VPlan/simplify-reverse-reverse.ll
+26-6llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+4-12llvm/test/Transforms/LoopVectorize/RISCV/tail-folding-reverse-load-store.ll
+3-5llvm/test/Transforms/LoopVectorize/runtime-check-known-true.ll
+3-0llvm/lib/Transforms/Vectorize/VPlanTransforms.h
+1-0llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-after-all.ll
+96-236 files

Linux/linux 974b3defs/ext2 file.c inode.c, fs/isofs rock.c

Merge tag 'fs_for_v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull udf, isofs, ext2, and quota updates from Jan Kara:

 - Assorted udf & isofs fixes for maliciously formatted devices

 - Cleanups to use kmalloc() instead of __get_free_page()

 - Removal of deprecated DAX code from ext2

* tag 'fs_for_v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  udf: validate VAT inode size for old VAT format
  udf: validate VAT header length against the VAT inode size
  udf: validate sparing table length as an entry count, not a byte count
  isofs: bound Rock Ridge symlink components to the SL record
  ext2: fix ignored return value of generic_write_sync()
  ext2: Remove deprecated DAX support
  isofs: replace __get_free_page() with kmalloc()
  quota: allocate dquot_hash with kmalloc()
  udf: validate free block extents against the partition length
DeltaFile
+7-118fs/ext2/file.c
+4-56fs/ext2/inode.c
+3-36fs/ext2/super.c
+15-1fs/udf/super.c
+11-0fs/isofs/rock.c
+3-2fs/udf/balloc.c
+43-2131 files not shown
+43-2177 files

Linux/linux 59b1c2afs pidfs.c, fs/notify/fanotify fanotify_user.c fanotify.c

Merge tag 'fsnotify_for_v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull fsnotify updates from Jan Kara:

 - fanotify improvements for pidfd reporting

 - small cleanup in fanotify_error_event_equal

* tag 'fsnotify_for_v7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  fanotify: allow reporting pidfds for reaped tasks
  fanotify: report thread pidfds for FAN_REPORT_TID
  fanotify: simplify fanotify_error_event_equal
DeltaFile
+7-26fs/notify/fanotify/fanotify_user.c
+12-10fs/notify/fanotify/fanotify.c
+17-1include/linux/pidfs.h
+6-4fs/pidfs.c
+42-414 files

LLVM/project 0a04c14llvm/tools/llvm-objdump llvm-objdump.cpp, llvm/tools/llvm-profdata llvm-profdata.cpp

[llvm] Replace unordered_{map,set} with Dense{Map,Set} in llvm tools (#204058)

std::unordered_map is slow. Switch the remaining local maps and sets in
the command-line tools (llvm-profgen, llvm-profdata, llvm-objdump,
llvm-exegesis, llvm-xray, llvm-remarkutil) to DenseMap/DenseSet.
DeltaFile
+27-28llvm/tools/llvm-profgen/PerfReader.h
+9-19llvm/tools/llvm-profgen/MissingFrameInferrer.h
+12-15llvm/tools/llvm-objdump/llvm-objdump.cpp
+14-10llvm/tools/llvm-profgen/ProfiledBinary.h
+7-10llvm/tools/llvm-profgen/PerfReader.cpp
+7-9llvm/tools/llvm-profdata/llvm-profdata.cpp
+76-919 files not shown
+101-11715 files

FreeBSD/ports d810ca9misc/antigravity-cli distinfo Makefile

misc/antigravity-cli: update 1.0.7 → 1.0.8
DeltaFile
+5-5misc/antigravity-cli/distinfo
+2-2misc/antigravity-cli/Makefile
+7-72 files

Linux/linux 6271f6efs/xfs xfs_trace.h xfs_icache.c, fs/xfs/libxfs xfs_ialloc.c xfs_dir2.c

Merge tag 'xfs-merge-7.2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux

Pull xfs updates from Carlos Maiolino:
 "The main highlight is the removal of experimental tag of the zone
  allocator feature.

  Besides that, this contains a collection of bug fixes and code
  refactoring but no new features have been added"

* tag 'xfs-merge-7.2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (29 commits)
  xfs: shut down the filesystem on a failed mount
  xfs: skip inode inactivation on a shut down mount
  xfs: move XFS_LSN_CMP to xfs_log_format.h
  xfs: shut down zoned file systems on writeback errors
  xfs: cleanup xfs_growfs_compute_deltas
  xfs: pass back updated nb from xfs_growfs_compute_deltas
  xfs: fix pointer arithmetic error on 32-bit systems
  xfs: initialize iomap->flags earlier in xfs_bmbt_to_iomap
  xfs: only log freed extents for the current RTG in zoned growfs

    [12 lines not shown]
DeltaFile
+63-66fs/xfs/xfs_trace.h
+64-64fs/xfs/scrub/trace.h
+39-55fs/xfs/libxfs/xfs_ialloc.c
+30-28fs/xfs/xfs_icache.c
+33-21fs/xfs/xfs_inode.c
+22-22fs/xfs/libxfs/xfs_dir2.c
+251-256115 files not shown
+770-792121 files

LLVM/project 639b1d9lld/ELF/Arch LoongArch.cpp, lld/test/ELF loongarch-pcadd-hi20.s

[lld][LoongArch] Fix range checking of R_LARCH_*_PCADD_HI20 relocations on 64-bit (#183233)

According to the la-abi-specs, the `R_LARCH_*_PCADD_HI20` relocations
are also used on 64-bit LoongArch. Fix the range checking accordingly.
DeltaFile
+32-0lld/test/ELF/loongarch-pcadd-hi20.s
+1-1lld/ELF/Arch/LoongArch.cpp
+33-12 files

FreeBSD/ports 1d13c15net/fb303 distinfo Makefile

net/fb303: update 2026.06.08.00 → 2026.06.15.00
DeltaFile
+3-3net/fb303/distinfo
+1-1net/fb303/Makefile
+4-42 files

FreeBSD/ports 7b1f915www/proxygen distinfo Makefile

www/proxygen: update 2026.06.08.00 → 2026.06.15.00
DeltaFile
+3-3www/proxygen/distinfo
+1-1www/proxygen/Makefile
+1-0www/proxygen/pkg-plist
+5-43 files

FreeBSD/ports 54f8e6bnet/mvfst distinfo Makefile

net/mvfst: update 2026.06.08.00 → 2026.06.15.00
DeltaFile
+3-3net/mvfst/distinfo
+1-1net/mvfst/Makefile
+4-42 files

FreeBSD/ports c4b6291devel/fatal distinfo Makefile

devel/fatal: update 2026.06.08.00 → 2026.06.15.00
DeltaFile
+3-3devel/fatal/distinfo
+1-1devel/fatal/Makefile
+4-42 files