LLVM/project f36452fcompiler-rt/test/rtsan lit.cfg.py

[rtsan] Clean up rtsan_opts default variable (#210803)

Follow on from https://github.com/llvm/llvm-project/pull/210395.

Some systems didn't like this empty variable when they appended to it
later (and the original variable that we had as a dummy was unsupported
by rtsan)


https://github.com/llvm/llvm-project/pull/210395/changes#diff-5f39176422b87f314a683584d1cabe670b4c1e3942d65bb2b5ce4d0623c40560L7

Change this to another inconsequential value so we can append
`:other_options` to it easily later in the file
DeltaFile
+3-1compiler-rt/test/rtsan/lit.cfg.py
+3-11 files

LLVM/project a88a33elibc/src/stdlib/linux realpath.cpp CMakeLists.txt, libc/test/src/stdlib realpath_test.cpp

[libc][realpath] Validate path components.

This PR updates `realpath` to validate paths and return `ENOTDIR` or `ENOENT` according to https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html.
DeltaFile
+49-0libc/test/src/stdlib/realpath_test.cpp
+34-0libc/src/stdlib/linux/realpath.cpp
+5-0libc/src/stdlib/linux/CMakeLists.txt
+88-03 files

LLVM/project f34b933llvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp

[NewPM] Only add passes after optimized RegAlloc if a target enables it

The legacyPM allows for returning a boolean from
addRegAssignAndRewriteOptimized, and if set to false, some extra passes
at the end of addOptimizedRegAlloc are not added. Before this patch, the
NewPM would only omit adding these passes if an error was thrown, which
gets propagated all the way back up and prevents compilation.

This is necessary behavior for targets that do not perform register
allocation, like WebAssembly, that will otherwise crash in places like
MachineLICM.

Reviewers: arsenm, aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/210792
DeltaFile
+12-7llvm/include/llvm/Passes/CodeGenPassBuilder.h
+3-3llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+15-102 files

LLVM/project caa414dclang/test/CodeGen arm-neon-vst.c, clang/test/CodeGen/AArch64 neon-intrinsics.c

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+1,486-0clang/test/CodeGen/AArch64/neon/store.c
+4-1,011clang/test/CodeGen/arm-neon-vst.c
+0-660clang/test/CodeGen/AArch64/neon-intrinsics.c
+648-0flang/test/Lower/OpenMP/collapse-imperfect-nest.f90
+0-428flang/lib/Lower/Bridge.cpp
+353-53llvm/test/Transforms/LoadStoreVectorizer/NVPTX/merge-across-side-effects.ll
+2,491-2,152386 files not shown
+8,326-5,814392 files

LLVM/project ba03e56llvm/lib/Target/SPIRV SPIRVAsmPrinter.cpp

[SPIR-V] Simplify lookup of llvm.global.annotations using getNamedGlobal (#210722)
DeltaFile
+1-4llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
+1-41 files

FreeBSD/src 6dbeaf1lib/libsys ptrace.2

ptrace.2: document PT_GET_CHILDREN

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58315
DeltaFile
+55-0lib/libsys/ptrace.2
+55-01 files

FreeBSD/src d3b7bbesys/compat/freebsd32 freebsd32_misc.c, sys/kern sys_process.c

ptrace(2): add PT_GET_CHILDREN

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58315
DeltaFile
+137-2sys/kern/sys_process.c
+16-0sys/compat/freebsd32/freebsd32_misc.c
+12-0sys/sys/ptrace.h
+165-23 files

LLVM/project 01197eemlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp, mlir/test/Dialect/OpenACC acc-cg-to-gpu-reduction-array.mlir

[mlir][acc] Lower per-thread array reductions correctly (#210453)

Lowering an acc.reduction_accumulate_array to a per-element
gpu.all_reduce is only valid when each thread owns its own accumulator
copy. This was inferred from the memref's static size, which was wrong
for dynamically-shaped accumulators and for storage seen through
descriptor or strided views.

Per-thread accumulators that fit the local stack budget are materialized
in stack memory; anything larger, or gang-scoped, is materialized in
shared memory. Classify from that: a stack alloca (or a view over one)
within the budget is per-thread, a shared allocation is block-shared,
and a dynamically-shaped accumulator is classified from its par_dims.
Materialization and predication follow the same rule, and writes to a
privatization are recognized through views/casts so per-thread setup
runs on every owning thread.
DeltaFile
+84-29mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+72-0mlir/test/Dialect/OpenACC/acc-cg-to-gpu-reduction-array.mlir
+156-292 files

LLVM/project 5cf3b68lldb/include/lldb/Interpreter OptionValueFileSpecList.h OptionValueFileSpec.h

[lldb] Avoid data race when clearing an OptionValue (#208471)

The clear function guarded by the internal mutex.
This happens when we have to threads one trying to set a value and the
other reseting the value.

The derived classes are forced to implement the `ClearImpl`. and base
`OptionValue` hold the mutex and calls `ClearImpl` on clear.
DeltaFile
+10-10lldb/include/lldb/Interpreter/OptionValueFileSpecList.h
+7-7lldb/include/lldb/Interpreter/OptionValueFileSpec.h
+6-6lldb/include/lldb/Interpreter/OptionValueFileColonLine.h
+6-5lldb/include/lldb/Interpreter/OptionValueArch.h
+8-3lldb/include/lldb/Interpreter/OptionValue.h
+5-5lldb/include/lldb/Interpreter/OptionValueEnumeration.h
+42-3619 files not shown
+116-11025 files

LLVM/project d903936compiler-rt/test/rtsan deduplicate_errors.cpp lit.cfg.py

[NFC] [rtsan] Cleanup env for lit tests (#210395)

This matches the style of our other tests, and may make it easier for
others to maintain downstream if they override the `env_rtsan_opts`
variable with special platform specific options.
DeltaFile
+2-2compiler-rt/test/rtsan/deduplicate_errors.cpp
+1-1compiler-rt/test/rtsan/lit.cfg.py
+1-1compiler-rt/test/rtsan/unrecognized_flags.cpp
+4-43 files

FreeNAS/freenas 5adf815src/middlewared/middlewared/plugins/pool_ export.py import_pool.py

NAS-141848 / 26.0.0-BETA.3 / Handle type-safe snapshot-task attachments in pool export/import (by creatorcary) (#19350)

Non-cascade `pool.export` crashed with
`'PeriodicSnapshotTaskQueryResultItem' object is not subscriptable`,
aborting the export after it had already disabled the pool's
shares/services and its snapshot tasks.

The export/import attachment loops iterate every delegate's `query()`
results and subscript them as dicts (`attachment['id']`).
[NAS-139294](https://ixsystems.atlassian.net/browse/NAS-139294) made
`pool.snapshottask` return type-safe Pydantic models, so the
snapshot-task delegate now yields model objects that aren't
subscriptable. Guard both call sites (`pool_/export.py` and
`pool_/import_pool.py`) to fall back to attribute access, matching the
fix already on master in
[#19278](https://github.com/truenas/middleware/pull/19278).


Original PR: https://github.com/truenas/middleware/pull/19349

Co-authored-by: Logan Cary <logan.cary at ixsystems.com>
DeltaFile
+4-1src/middlewared/middlewared/plugins/pool_/export.py
+4-1src/middlewared/middlewared/plugins/pool_/import_pool.py
+8-22 files

Linux/linux b95f03fDocumentation/ABI/testing sysfs-kernel-mm-damon, mm page_vma_mapped.c page_reporting.c

Merge tag 'mm-hotfixes-stable-2026-07-20-11-37' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull misc fixes from Andrew Morton:
 "12 hotfixes. 8 are cc:stable and the remainder address post-7.1 issues
  or aren't considered appropriate for backporting. 10 are for MM.

  All are singletons - please see the relevant changelogs for details"

* tag 'mm-hotfixes-stable-2026-07-20-11-37' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
  mm/memory-failure: trace: change memory_failure_event to ras subsystem
  mm: page_reporting: allow driver to set batch capacity
  mm/kmemleak: fix checksum computation for per-cpu objects
  mm/damon/core: disallow overlapping input ranges for damon_set_regions()
  MAINTAINERS: add Usama as a THP reviewer
  fat: avoid stack overflow warning
  mm/damon/core: validate ranges in damon_set_regions()
  m68k: avoid -Wunused-but-set-parameter in clear_user_page()
  mm/huge_memory: set PG_has_hwpoisoned only after new folio head is established
  mm/page_vma_mapped: fix device-private PMD handling

    [2 lines not shown]
DeltaFile
+87-87Documentation/ABI/testing/sysfs-kernel-mm-damon
+18-15mm/page_vma_mapped.c
+12-12mm/page_reporting.c
+13-2mm/damon/core.c
+8-4mm/huge_memory.c
+4-3mm/kmemleak.c
+142-12325 files not shown
+164-17131 files

pkgng/pkgng a8f08f9src Makefile.in

src: fix static build with -pie in LDFLAGS

Add -Wl,--no-pie when linking pkg-static to avoid static PIE
which requires PIC in all objects, breaking with non-PIC system
static libraries on FreeBSD.
DeltaFile
+1-1src/Makefile.in
+1-11 files

LLVM/project 0ebf047llvm/test/CodeGen/AMDGPU llvm.amdgcn.permlane.ll, llvm/test/CodeGen/AMDGPU/GlobalISel legalize-load-global.mir legalize-load-local.mir

Merge branch 'main' into users/arsenm/runtime-libcalls/parenthesize-negated-leaves
DeltaFile
+9,398-9,218llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
+6,993-6,921llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+5,803-5,808llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+3,842-3,722llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
+2,196-5,244llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
+3,572-3,745llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane.ll
+31,804-34,6581,143 files not shown
+162,167-118,9921,149 files

FreeBSD/ports 7229af0lang/cairo distinfo Makefile

lang/cairo: update 2.19.3 → 2.19.4
DeltaFile
+3-3lang/cairo/distinfo
+1-1lang/cairo/Makefile
+4-42 files

Illumos/gate 097c6e2usr/src/uts/common/os cpu.c

18261 want apic_id in cpu_info kstat
Reviewed by: Peter Tribble <peter.tribble at gmail.com>
Reviewed by: Jason King <jason.brian.king+illumos at gmail.com>
Approved by: Robert Mustacchi <rm+illumos at fingolfin.org>
DeltaFile
+3-0usr/src/uts/common/os/cpu.c
+3-01 files

LLVM/project 7c672b6utils/bazel/llvm-project-overlay/llvm BUILD.bazel

[bazel][RuntimeLibcalls] Fix 30c0454414ec043dc50d2690f72a12719ab89d6c (#210796)

Add PredicateExpanderDag.cpp to the glob. Avoid adding
PredicateExpanderDag.h and instead switch to a glob to include all
headers. We can't glob the .cpp files due to a circular dep when
including TargetFeaturesEmitter.cpp.
DeltaFile
+2-6utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
+2-61 files

FreeBSD/ports 65090bdwww/elinks Makefile

www/elinks: Optionize Perl support

PR:             296920
Reported by:    Andre Albsmeier <mail at fbsd2.e4m.org> (author)
Approved by:    Dustin Marquess <jailbird at fdf.net> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+7-4www/elinks/Makefile
+7-41 files

Linux/linux abc69aelib rhashtable.c

Merge tag 'v7.2-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fix from Herbert Xu:

 - Fix potential crash in rhashtable walk

* tag 'v7.2-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
  rhashtable: clear stale iter->p on table restart
DeltaFile
+1-0lib/rhashtable.c
+1-01 files

FreeBSD/ports 95139f3math/cminpack pkg-plist distinfo

devel/cminpack: Update to 1.3.13

ChangeLog: https://github.com/devernay/cminpack/releases/tag/v1.3.13

 * Fix a division by zero in covar1 when the Jacobian rank equals the number of
   residuals (m == rank, e.g. square full-rank problems), which produced Inf/NaN
   throughout the covariance matrix.
 * Make the banded finite-difference branch of fdjac1 call the user function
   with iflag=2, like the dense branch, fdjac2 and the FORTRAN version.
 * Fix the USE_BLAS Newton correction in lmpar to use all n components (it was
   truncated to the original Jacobian rank, giving a wrong step for
   rank-deficient problems).
 * Fix the jpvt memset size in the USE_LAPACK qrfac, and make the work-array
   size checks in hybrd, hybrj, hybrd1, hybrj1 and lmdif1 overflow-safe (also in
   the f2c versions).
 * Guard a harmless transient infinity in dogleg for rank-deficient Jacobians
   (also in the f2c version).

ChangeLog: https://github.com/devernay/cminpack/releases/tag/v1.3.12

    [16 lines not shown]
DeltaFile
+5-3math/cminpack/pkg-plist
+3-3math/cminpack/distinfo
+3-2math/cminpack/Makefile
+11-83 files

LLVM/project 230a8d9llvm/test/CodeGen/AMDGPU load-constant-i1.ll, llvm/test/CodeGen/AMDGPU/GlobalISel llvm.amdgcn.image.atomic.dim.a16.ll llvm.amdgcn.image.gather4.a16.dim.ll

[AMDGPU] Upstream True16 runlines for various tests
DeltaFile
+2,559-652llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.a16.ll
+1,270-764llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
+1,253-322llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.gather4.a16.dim.ll
+430-320llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.load.tfe.ll
+402-298llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.load.tfe.ll
+377-208llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.g16.ll
+6,291-2,56415 files not shown
+7,899-3,24421 files

FreeBSD/ports f09d5f8cad/openvsp distinfo Makefile

cad/openvsp: Update to 3.51.1

Features:

 * AI assisted, profile guided optimization in several areas.
 * Refactor HumanGeom math to store less data and do less math.
DeltaFile
+3-3cad/openvsp/distinfo
+1-1cad/openvsp/Makefile
+4-42 files

LLVM/project c9a17d3libc/src/stdio/linux stdin.cpp stdout.cpp

[libc] Fix standard streams variable name typos in overlay mode. (#210728)

These appear to be a couple of copy/paste misses from #187522.
DeltaFile
+1-1libc/src/stdio/linux/stdin.cpp
+1-1libc/src/stdio/linux/stdout.cpp
+2-22 files

LLVM/project 0de567bllvm/include/llvm/Passes CodeGenPassBuilder.h, llvm/lib/Target/AMDGPU AMDGPUTargetMachine.cpp

[NewPM] Port LegacyPM regalloc Refactoring

This didn't seem to make it into the original CodeGen NewPM patches, so
add it now to keep things consistent. This also removes duplicate
StackSlotColoring passes.

Originally done for the LegacyPM in
c9122ddef5213fbdd2d82c473a74e1742010f62f.

Reviewers: arsenm, aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/210760
DeltaFile
+7-12llvm/include/llvm/Passes/CodeGenPassBuilder.h
+4-4llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+0-2llvm/test/CodeGen/X86/llc-pipeline-npm.ll
+0-1llvm/test/CodeGen/Lanai/llc-pipeline-npm.ll
+11-194 files

FreeNAS/freenas be2ae3fsrc/middlewared/middlewared/plugins/pool_ export.py import_pool.py

Handle type-safe snapshot-task attachments in pool export/import

(cherry picked from commit 1cca4de27e56691dbc09dea662ce5f957248d821)
DeltaFile
+4-1src/middlewared/middlewared/plugins/pool_/export.py
+4-1src/middlewared/middlewared/plugins/pool_/import_pool.py
+8-22 files

FreeNAS/freenas 17ec580src/middlewared/middlewared/plugins/pool_ export.py import_pool.py

NAS-141848 / 26.0.0-RC.1 / Handle type-safe snapshot-task attachments in pool export/import (#19349)

Non-cascade `pool.export` crashed with
`'PeriodicSnapshotTaskQueryResultItem' object is not subscriptable`,
aborting the export after it had already disabled the pool's
shares/services and its snapshot tasks.

The export/import attachment loops iterate every delegate's `query()`
results and subscript them as dicts (`attachment['id']`).
[NAS-139294](https://ixsystems.atlassian.net/browse/NAS-139294) made
`pool.snapshottask` return type-safe Pydantic models, so the
snapshot-task delegate now yields model objects that aren't
subscriptable. Guard both call sites (`pool_/export.py` and
`pool_/import_pool.py`) to fall back to attribute access, matching the
fix already on master in
[#19278](https://github.com/truenas/middleware/pull/19278).
DeltaFile
+4-1src/middlewared/middlewared/plugins/pool_/export.py
+4-1src/middlewared/middlewared/plugins/pool_/import_pool.py
+8-22 files

LLVM/project 2e8eee0llvm/lib/Target/AMDGPU SIISelLowering.cpp AMDGPUISelLowering.cpp, llvm/test/CodeGen/AMDGPU uaddsat.ll

[AMDGPU] Lower uniform uaddsat.i16 to SALU instructions
DeltaFile
+46-70llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
+56-0llvm/test/CodeGen/AMDGPU/uaddsat.ll
+10-2llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+1-0llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+113-724 files

LLVM/project 33acb62clang/lib/Driver ToolChain.cpp, clang/test/Driver amdgpu-toolchain.c

[Clang][AMDGPU] Search both amdgcn and amdgpu libraries again (#210767)

Summary:
Extension to https://github.com/llvm/llvm-project/pull/209770/, the
previous one did not cover all cases we search paths, it only did the
relative paths for a few cases. This adds it to the other case, should
be the same logic and motivation.
DeltaFile
+8-0clang/lib/Driver/ToolChain.cpp
+6-0clang/test/Driver/amdgpu-toolchain.c
+14-02 files

FreeBSD/ports 61df0cbnet/netpeek distinfo Makefile

net/netpeek: Update 0.2.8 => 0.2.9

Changelog:
https://github.com/ZingyTomato/NetPeek/releases/tag/v0.2.9

Reported by:    portscout
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+3-3net/netpeek/distinfo
+1-1net/netpeek/Makefile
+4-42 files

LLVM/project 3b5ac29llvm/test/CodeGen/AMDGPU v_swap_b16.mir schedule-regpressure-ilp-metric-spills.mir

[AMDGPU] Refactor some existing test files with true16/fake16 split, add some new test cases
DeltaFile
+409-0llvm/test/CodeGen/AMDGPU/v_swap_b16.mir
+192-192llvm/test/CodeGen/AMDGPU/schedule-regpressure-ilp-metric-spills.mir
+227-0llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll
+51-52llvm/test/CodeGen/AMDGPU/gfx11-twoaddr-fma.mir
+102-0llvm/test/CodeGen/AMDGPU/gfx11-twoaddr-fma-fake16.mir
+42-18llvm/test/CodeGen/AMDGPU/shrink-true16.mir
+1,023-2623 files not shown
+1,146-2729 files