LLVM/project a257e2allvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Introduce loop-uniform SCEV classification. (#194304)

This patch extends `ScalarEvolution::LoopDisposition` with a new
`LoopUniform` state to describe SCEVs that are invariant across all
iterations of a given loop, but may still depend on inner-loop induction
variables.

Unlike `LoopInvariant`, which requires the value to be fully invariant
with respect to the loop, LoopUniform captures expressions that do not
depend on the loop’s own induction variables, yet may vary in nested
loops. This distinction is useful for analyses and optimizations that
reason about per-iteration stability at a specific loop level.

Example:
```
for (i)
  for (j)
    dep(j);       // uniform w.r.t. i
    dep(i, j);    // not uniform w.r.t. i

    [4 lines not shown]
DeltaFile
+12-12llvm/test/Analysis/ScalarEvolution/max-expr-cache.ll
+24-0llvm/include/llvm/Analysis/ScalarEvolution.h
+20-2llvm/lib/Analysis/ScalarEvolution.cpp
+9-9llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
+7-7llvm/test/Analysis/ScalarEvolution/different-loops-recs.ll
+6-6llvm/test/Analysis/ScalarEvolution/exit-count-select-safe.ll
+78-3610 files not shown
+103-6116 files

LLVM/project 7e1f6b6llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.rsq.f16.ll llvm.amdgcn.rsq.ll

AMDGPU/GlobalISel: Implement RegBankLegalizeRules for amdgcn_rsq and amdgcn_rsq_clamp. (#187672)
DeltaFile
+167-91llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.f16.ll
+149-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.ll
+80-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.clamp.ll
+8-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+404-954 files

LLVM/project 1fb93e8llvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize vplan-widen-select-instruction.ll

[VPlan] Deep-traverse in narrowToSingleScalars (#194680)

vputils::isSingleScalar will anyway return false for Replicate in
replicate regions.
DeltaFile
+3-5llvm/test/Transforms/LoopVectorize/vplan-widen-select-instruction.ll
+1-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+4-102 files

FreeBSD/ports c31e054misc/openhab distinfo Makefile, misc/openhab-addons distinfo Makefile

misc/openhab: Update to 4.3.11.
DeltaFile
+3-3misc/openhab-addons/distinfo
+3-3misc/openhab/distinfo
+2-2misc/openhab/Makefile
+1-1misc/openhab-addons/Makefile
+9-94 files

LLVM/project 8079feaclang/lib/CIR/CodeGen CIRGenCUDANV.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu kernel-call.cu

Add HIP LLVM lowering and proper HIP host kernel handle emission.
DeltaFile
+39-3clang/test/CIR/CodeGenCUDA/device-stub.cu
+2-2clang/test/CIR/CodeGenCUDA/kernel-call.cu
+2-2clang/lib/CIR/CodeGen/CIRGenCUDANV.cpp
+1-1clang/test/CIR/CodeGenHIP/simple.cpp
+44-84 files

FreeBSD/ports 70af49fwww/apache24 distinfo Makefile

www/apache24: Security update to 2.4.67

PR:             295042
Security:       1ccc383b-486a-11f1-8b62-8447094a420f
MFH:            2026Q2
(cherry picked from commit af429502c471a40c21d55adaa2af2cea0ee0efc8)
DeltaFile
+3-3www/apache24/distinfo
+1-3www/apache24/Makefile
+4-62 files

FreeBSD/src 8223661sys/conf kern.pre.mk

Revert "zstd: disable weak-symbol tracing hooks in the kernel"

This reverts commit de2ea5423cc63b62e7e42d11b667aa634109fc28 which is
no longer needed after 1dddb580f950 .

Tested by:      mmel
DeltaFile
+2-4sys/conf/kern.pre.mk
+2-41 files

LLVM/project 915a1e5llvm/test/CodeGen/SystemZ memcpy-03.ll memmove-01.ll

[SystemZ] Remove superfluous args in tests. (#196022)

The third %val argument only makes sense for memset, so remove from
memcpy/memmove tests.
DeltaFile
+69-69llvm/test/CodeGen/SystemZ/memcpy-03.ll
+69-69llvm/test/CodeGen/SystemZ/memmove-01.ll
+138-1382 files

NetBSD/pkgsrc toPXYlGdoc CHANGES-2026

   Updated lang/nodejs, databases/py-apsw
VersionDeltaFile
1.2844+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc iO43mkLdatabases/py-apsw Makefile distinfo

   py-apsw: updated to 3.53.1.0

   3.53.1.0

   Async cursor iteration: Cursor attributes like bindings_names, sql, and is_readonly will always correctly reflect the current iterated row. Backwards incompatible change: description, get_description(), and description_full are now values - ie you can just use them directly and should not await them.
VersionDeltaFile
1.94+4-6databases/py-apsw/Makefile
1.62+4-4databases/py-apsw/distinfo
+8-102 files

LLVM/project 480f144llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[VPlan] Use map_to_vector to create ParamTys vector (NFC). (#195931)

Use map_to_vector to slightly simplify code.
DeltaFile
+5-6llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+5-61 files

LLVM/project f9c0cf5mlir/lib/Conversion/MathToSPIRV MathToSPIRV.cpp, mlir/test/Conversion/MathToSPIRV math-to-opencl-spirv.mlir

[mlir][spirv] Lower math.ctlz to OpenCL.std clz for Kernel targets (#195470)

Lower `math.ctlz` to `spirv.CL.Clz` for targets with Kernel capability.
Shader targets keep the existing GLSL-based fallback implemented via
`spirv.GL.FindUMsb`.

Previously, `math.ctlz` was lowered through the GLSL path using
`spirv.GL.FindUMsb` plus additional SPIR-V ops. That worked for Shader
targets, but failed legalization for OpenCL/Kernel targets where Shader
capability is not supported.
DeltaFile
+42-33mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
+9-0mlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
+51-332 files

NetBSD/pkgsrc lOZf7AXlang/nodejs distinfo Makefile, lang/nodejs/patches patch-deps_v8_src_base_memcopy.h

   nodejs: updated to 26.0.0

   26.0.0 (Current)

   We're excited to announce the release of Node.js 26! Highlights include the Temporal API enabled by default,
   updates to the V8 JavaScript engine to 14.6, Undici to 8.0, and several important deprecations and removals
   as we continue to modernize the platform.
VersionDeltaFile
1.1+15-0lang/nodejs/patches/patch-deps_v8_src_base_memcopy.h
1.318+5-4lang/nodejs/distinfo
1.348+4-2lang/nodejs/Makefile
+24-63 files

FreeBSD/ports af42950www/apache24 distinfo Makefile

www/apache24: Security update to 2.4.67

PR:             295042
Security:       1ccc383b-486a-11f1-8b62-8447094a420f
MFH:            2026Q2
DeltaFile
+3-3www/apache24/distinfo
+1-3www/apache24/Makefile
+4-62 files

FreeBSD/ports 09a4fcbdevel/buildkite-cli distinfo Makefile

devel/buildkite-cli: update to 3.40.0

Sponsored by:   SkunkWerks, GmbH
DeltaFile
+7-7devel/buildkite-cli/distinfo
+1-2devel/buildkite-cli/Makefile
+8-92 files

FreeBSD/ports 9f33f69devel/esbuild distinfo Makefile

devel/esbuild: update to 0.28.0
DeltaFile
+5-5devel/esbuild/distinfo
+1-2devel/esbuild/Makefile
+6-72 files

FreeBSD/ports 97bfc55sysutils/py-mitogen distinfo Makefile

sysutils/py-mitogen: update to 0.3.47

Changelog: https://github.com/mitogen-hq/mitogen/blob/master/docs/changelog.rst
Sponsored by: SkunkWerks, GmbH
DeltaFile
+3-3sysutils/py-mitogen/distinfo
+1-1sysutils/py-mitogen/Makefile
+4-42 files

FreeBSD/ports a940c8fdevel/buildkite-agent distinfo Makefile

devel/buildkite-agent: update to 3.124.0
DeltaFile
+5-5devel/buildkite-agent/distinfo
+1-2devel/buildkite-agent/Makefile
+6-72 files

FreeBSD/ports 084a54cdns/p5-Zonemaster-Engine distinfo Makefile

dns/p5-Zonemaster-Engine: update to 8.1.1

ChangeLog: https://github.com/zonemaster/zonemaster-engine/blob/master/Changes
ChangeLog: https://github.com/zonemaster/zonemaster/releases/tag/v2025.2.1

Sponsored by:SkunkWerks, GmbH
DeltaFile
+3-3dns/p5-Zonemaster-Engine/distinfo
+1-1dns/p5-Zonemaster-Engine/Makefile
+4-42 files

FreeBSD/ports 870ebbadns/py-ns1-python distinfo Makefile

dns/py-ns1-python: update to 0.25.0

Sponsored by:SkunkWerks, GmbH
DeltaFile
+3-3dns/py-ns1-python/distinfo
+1-1dns/py-ns1-python/Makefile
+4-42 files

FreeBSD/ports 6ee4acawww/h2o pkg-plist distinfo

www/h2o: update to 20260501 snapshot

Sponsored by:   SkunkWerks, GmbH
DeltaFile
+0-64www/h2o/pkg-plist
+3-3www/h2o/distinfo
+2-3www/h2o/Makefile
+5-703 files

NetBSD/pkgsrc fYJrTAMdoc CHANGES-2026

   doc: Updated databases/ruby-sqlite3 to 2.9.4
VersionDeltaFile
1.2843+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc tY1kmGhdatabases/ruby-sqlite3 distinfo Makefile

   databases/ruby-sqlite3: update to 2.9.4

   2.9.4 (2026-05-05)

   * Vendored sqlite is updated to v3.53.1 (from v3.53.0).  #704 @flavorjones
VersionDeltaFile
1.60+4-4databases/ruby-sqlite3/distinfo
1.99+3-3databases/ruby-sqlite3/Makefile
+7-72 files

LLVM/project 7234297clang/lib/AST/ByteCode InterpBuiltin.cpp, clang/test/AST/ByteCode new-delete.cpp

[clang][bytecode] Fix sized builtin operator delete handling (#195741)

**Problem:**

A crash happens with std::allocator triggered sized/aligned delete
operations with new constant evaluator.

`interp__builtin_operator_delete` currently consumes the top of the
interpreter stack as a `Pointer`.

This is correct for unsized delete:

```cpp
__builtin_operator_delete(p);
```

but not for sized/aligned delete reached through
`std::allocator<T>::deallocate`:


    [64 lines not shown]
DeltaFile
+10-0clang/test/AST/ByteCode/new-delete.cpp
+8-0clang/lib/AST/ByteCode/InterpBuiltin.cpp
+18-02 files

FreeBSD/ports 87c81c4x11/xfd Makefile distinfo

x11/xfd: Update to 1.1.5

Add WWW.
Remove BUILD_DEPENDS and RUN_DEPENDS.
Update LIB_DEPENDS.
Use meson.
Update pkg-descr.

https://lists.x.org/archives/xorg-announce/2026-January/003656.html

PR:             292840
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+5-9x11/xfd/Makefile
+3-3x11/xfd/distinfo
+2-2x11/xfd/pkg-descr
+10-143 files

FreeBSD/ports eaafb1ex11/libXdamage Makefile distinfo

x11/libXdamage: Update to 1.1.7

Update WWW and pkg-descr.

https://lists.x.org/archives/xorg-announce/2026-January/003659.html

PR:             293201
Approved by:    x11 (arrowd)
Approved by:    fluffy (mentor)
DeltaFile
+3-4x11/libXdamage/Makefile
+3-3x11/libXdamage/distinfo
+3-1x11/libXdamage/pkg-descr
+9-83 files

LLVM/project fa74542llvm/docs AMDGPUExecutionSynchronization.rst AMDGPUUsage.rst

[AMDGPU][Doc] Move barrier documentation to a separate document (#194569)

Create a new "AMDGPU Execution Synchronization" document.
For now, it just documents barriers and their execution model.
Hopefully, over time, we can improve it to document the
programming model of most common methods of synchronizing execution
of threads (e.g. using memory/spinlock).

I kept the documentation mostly as-is, but I did do some minor changes
to make it flow a bit better as a standalone document. For example,
the fact that barriers work at a wavefront granularity has been moved
to the section about `s_barrier` specifically.
I also moved the note about barrier objects existing within a scope
in the main documentation. As a result, the "target-specific properties"
section has been eliminated.
DeltaFile
+430-0llvm/docs/AMDGPUExecutionSynchronization.rst
+4-411llvm/docs/AMDGPUUsage.rst
+4-0llvm/docs/UserGuides.rst
+438-4113 files

LLVM/project d027cacflang/lib/Optimizer/Support Utils.cpp, flang/test/Fir logical-convert.fir convert-to-llvm-openmp-and-fir.fir

[fir] Lower to llvm int constants with appropriately typed int attrs (#195861)

When we lower fir operations to llvm int constants, we used to always
generate `llvm.mlir.constant`s with a i64 integer attribute regardless
of the width of the constant type. This made some llvm dialect level
folding hit assertions in some cases.

Fix this by generating the appropriately typed integer attributes
matching the constant type.
DeltaFile
+46-46flang/test/Fir/logical-convert.fir
+5-5flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
+2-2flang/test/Fir/convert-to-llvm.fir
+1-1flang/test/Fir/tbaa.fir
+1-1flang/test/Fir/global-initialization.fir
+1-1flang/lib/Optimizer/Support/Utils.cpp
+56-566 files

FreeBSD/ports b1586e2games/cataclysm-dda Makefile

games/cataclysm-dda: Unbreak on 16-CURRENT with Clang 21

- Add workaround for strict flow analysis introduced in LLVM 21.1.8
- Limit CXXFLAGS to FreeBSD >= 1600017 to preserve build integrity on older versions
- Fixes "function could be declared with attribute 'noreturn'" errors [1]

[1] https://github.com/llvm/llvm-project/issues/154493
DeltaFile
+10-1games/cataclysm-dda/Makefile
+10-11 files

FreeBSD/ports 2a5052eeditors/fresh distinfo Makefile.crates

editors/fresh: Update to 0.3.2
DeltaFile
+111-107editors/fresh/distinfo
+54-52editors/fresh/Makefile.crates
+2-2editors/fresh/Makefile
+167-1613 files