LLVM/project e92c19alibc/src/__support/CPP algorithm.h, libc/src/__support/CPP/utility swap.h

[libc] Add cpp::swap and cpp::clamp utilities (#221236)

Added cpp::swap to src/__support/CPP/utility/swap.h with move semantics
and array support, and cpp::clamp to src/__support/CPP/algorithm.h with
comparator support.

Included unit tests in swap_test.cpp and algorithm_test.cpp.

Adopted the new utilities in initial callsites:
* stdlib: Used cpp::swap in qsort_data.h
* wctype: Used cpp::swap in perfect_hash_map.h
* math: Used cpp::clamp in powf.h
* scanf_core: Used cpp::min and cpp::max in parser.h

Also fixed sign extension when parsing scanset specifiers in parser.h:
signed characters greater than or equal to 128 produced negative values,
inverting comparisons and causing out-of-bounds writes in the bitset.
Scanset characters are now cast through uint8_t, and non-ASCII tests
were added to parser_test.cpp.

Assisted-by: Automated tooling, human reviewed.
DeltaFile
+117-0libc/test/src/__support/CPP/swap_test.cpp
+50-1libc/test/src/stdio/scanf_core/parser_test.cpp
+45-1libc/test/src/__support/CPP/algorithm_test.cpp
+39-0libc/src/__support/CPP/utility/swap.h
+13-8libc/src/stdio/scanf_core/parser.h
+16-3libc/src/__support/CPP/algorithm.h
+280-1310 files not shown
+332-3016 files

LLVM/project f16746allvm/lib/Target/AMDGPU SIInstrInfo.cpp AMDGPUInstrInfo.h

[AMDGPU] Remove dead D16ImageDimIntrinsic and lookupD16ImageDimIntrinsic (NFC) (#221660)

The corresponding TableGen table and callers were removed on June 21,
2018 in commit 7a9c03f484fee744b1cbcc45e77f949b4ebfcbee, leaving behind
the struct, the declaration, and the unused macro definition.

Assisted-by: Antigravity
DeltaFile
+0-6llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
+0-1llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+0-72 files

FreeBSD/ports 157c6efdevel/nextpnr-devel Makefile distinfo

devel/nextpnr-devel: Update to 2026-09-07
DeltaFile
+3-3devel/nextpnr-devel/distinfo
+2-2devel/nextpnr-devel/Makefile
+5-52 files

FreeBSD/src a725815sys/dev/sound/pci emu10kx-pcm.c

snd_emu10kx: Make sure the block count and size cover the whole buffer

The playback voices always loop over the whole EMU_PLAY_BUFSZ buffer,
but emupchan_setblocksize() only recorded the new block size and left
the block count as it was set up by emu_vinit(). The blocks then no
longer covered the whole buffer, and the part they left out was played
without ever being written to, which became audible as distortion once
playback started going through a virtual channel.

Resize the buffer, so that the block count and size always cover it.

Fixes:          02d4eeabfd73 ("sound: Allocate vchans on-demand")
PR:             287687
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D59444
DeltaFile
+19-2sys/dev/sound/pci/emu10kx-pcm.c
+19-21 files

FreeBSD/ports 5bc5cf6www/freenginx Makefile, www/nginx-module-cache-purge Makefile

www/nginx-module-cache-purge: Fix proxy_cache_purge on freenginx

The module mirrors ngx_http_proxy_loc_conf_t privately and enables the
host_set field for nginx_version >= 1029004.  freenginx does not have
that field, so plcf->cache_key is read at the wrong offset and a PURGE
request kills the worker process.

Sponsored by:   Netzkommune GmbH
DeltaFile
+11-0www/nginx-module-cache-purge/files/patch-ngx__cache__purge__module.c
+1-1www/freenginx/Makefile
+1-0www/nginx-module-cache-purge/Makefile
+13-13 files

LLVM/project 07f6736lldb/source/Plugins/Language/Fortran CMakeLists.txt FortranLanguage.h, lldb/source/Target Language.cpp

[lldb][Fortran] Add Fortran language plugin to LLDB (#221301)

This PR adds the Plugin necessary for LLDB to recognise Fortran.
Subsequent PRs will add the TypeSystem and the DWARFASTParser for
Fortran.

Changes:
- Adds Fortran language Plugin.
- Adds LanguageIsFortran function to the Language class to help identify
Fortran.

Testing:
- Check if language Plugin is registered.

Part of the Add Fortran support to LLDB GSoC 2026 project.

Relates to #109119.

Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
DeltaFile
+55-0lldb/source/Plugins/Language/Fortran/FortranLanguage.cpp
+48-0lldb/source/Plugins/Language/Fortran/FortranLanguage.h
+31-0lldb/unittests/Language/Fortran/FortranLanguageTest.cpp
+14-0lldb/source/Target/Language.cpp
+12-0lldb/source/Plugins/Language/Fortran/CMakeLists.txt
+6-0lldb/unittests/Language/Fortran/CMakeLists.txt
+166-03 files not shown
+170-09 files

LLVM/project 1cfbd8fllvm/lib/CodeGen RegAllocPBQP.cpp, llvm/lib/Target/AMDGPU AMDGPURewriteAGPRCopyMFMA.cpp

Revert "[CodeGen] Use RegisterClassInfo for remaining allocation-order users …"

This reverts commit 0664fb13c0dd34fd3d041a5d2610650945518e02.
DeltaFile
+23-20llvm/lib/CodeGen/RegAllocPBQP.cpp
+16-19llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
+8-10llvm/lib/Target/AMDGPU/AMDGPURewriteAGPRCopyMFMA.cpp
+47-493 files

LLVM/project 905559eclang/test/CIR/CodeGenBuiltins/AArch64 acle_sve_len.c acle_sve_dup.c, clang/test/CodeGen/AArch64/sve len.c dup.c

Rebase

Created using spr 1.3.7
DeltaFile
+824-0clang/test/CodeGen/AArch64/sve/dup.c
+0-818clang/test/CIR/CodeGenBuiltins/AArch64/acle_sve_dup.c
+177-0clang/test/CodeGen/AArch64/sve/len.c
+0-170clang/test/CIR/CodeGenBuiltins/AArch64/acle_sve_len.c
+0-108llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+98-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+1,099-1,09626 files not shown
+1,537-1,28632 files

LLVM/project 17e32b0llvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-local-variable-skip-type.ll debug-local-variable-dbg-value.ll

[SPIRV] Add support for NSDI DebugLocalVariable.
DeltaFile
+69-11llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+58-0llvm/test/CodeGen/SPIRV/debug-info/debug-local-variable.ll
+43-0llvm/test/CodeGen/SPIRV/debug-info/debug-local-variable-records-and-retained.ll
+41-0llvm/test/CodeGen/SPIRV/debug-info/debug-local-variable-dbg-value.ll
+41-0llvm/test/CodeGen/SPIRV/debug-info/debug-local-variable-retained-nodes.ll
+32-0llvm/test/CodeGen/SPIRV/debug-info/debug-local-variable-skip-type.ll
+284-111 files not shown
+305-117 files

LLVM/project d246c5ellvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPUtils.h SLPUtils.cpp

[SLP][modularisation][NFC] Move order/mask helpers to SLPUtils (#221663)

Move the following BoUpSLP-independent order/mask helpers out of
SLPVectorizer.cpp into SLPVectorizer/SLPUtils.{h,cpp}:

  reorderReuses
  reorderOrder
  isReverseOrder
  isRepeatedNonIdentityClusteredMask
  combineOrders

They sit with the existing permutation helpers. Behavior is unchanged.

Part of the SLPVectorizer.cpp modularization effort:
https://discourse.llvm.org/t/modularizing-slpvectorizer-cpp/90922
DeltaFile
+0-108llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+98-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+26-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
+124-1083 files

LLVM/project d03de58clang/utils/TableGen CIRLoweringEmitter.cpp

[CIR] Derive lowering attr names from cppClassName, not the def name

CIRLoweringEmitter built its CXX_ABI_ALWAYS_LEGAL_ATTRS entries with
GetOpCppClassName, which splits the TableGen def name at the first
underscore. That works only while every def is named CIR_<CppClassName>Attr.
When one is not, the emitter writes an `isa<>` for a class that does not
exist, and the failure lands as a compile error in generated code.

Attributes carry the authoritative name in cppClassName, which
GenerateAttrToValueVisitor was already reading. Factor that out as
GetAttrCppClassRef and use it for both attribute paths. GetOpCppClassName
stays for operations.

NFC, and checkable. No CIR attribute overrides cppClassName, so the generated
CIRLowering.inc is byte-identical.
DeltaFile
+16-10clang/utils/TableGen/CIRLoweringEmitter.cpp
+16-101 files

LLVM/project 95de5ebclang/include/clang/CIR/Dialect/IR CIREnumAttr.td CIROps.td

[CIR] Drop dead ceremony around the CIR enum attributes (#220890)

Five things that no longer earn their place in the CIR enum attribute
machinery.

CIR_CleanupKindAttr carried three. Its cppClassName restated the default
AttrDef already derives. Its skipDefaultBuilders plus hand-written
AttrBuilder existed only to default $value to CleanupKind::All, which no
caller relies on, so the generated builders stayed suppressed for
nothing.
And its summary and description restated the name, overriding the enum's
own
"cleanup kind" that EnumAttr would otherwise inherit. The isNormal, isEH
and
isNormalAndEH helpers stay.

CIR_TLSModelAttr's summary restated its name the same way, so only that
goes.
CIR_DefaultValuedEnumParameter has never had a user.
DeltaFile
+0-16clang/include/clang/CIR/Dialect/IR/CIROps.td
+0-5clang/include/clang/CIR/Dialect/IR/CIREnumAttr.td
+0-212 files

NetBSD/pkgsrc-wip 21beb3fopenjdk25 distinfo, openjdk25/patches patch-make_autoconf_flags-cflags.m4

openjdk25: fix rpath for Zero build
DeltaFile
+2-2openjdk25/patches/patch-make_autoconf_flags-cflags.m4
+1-1openjdk25/distinfo
+3-32 files

LLVM/project 330bb86llvm/docs LibFuzzer.md

[docs][libFuzzer] Fix formatting and collapsed definition lists (#206709)

This PR fixes broken formatting and collapsed definition lists in the
libFuzzer documentation by adding missing blank lines.

Closes #206706

Signed-off-by: Anchels <mishtitov at gmail.com>
DeltaFile
+41-0llvm/docs/LibFuzzer.md
+41-01 files

LLVM/project c84706fllvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sve-fixed-length-masked-scatter.ll sve-insert-vector-to-predicate-load.ll

[AArch64][SVE] Lower extended v2i8 loads using SVE. (#217006)

Loads of v2i8 are promoted to v2i32, which requires two extend
operations; v2i8 -> v2i16, then v2i16 -> v2i32. This comes largely for
free when using SVE's extending loads.
DeltaFile
+75-0llvm/test/CodeGen/AArch64/load.ll
+5-7llvm/test/CodeGen/AArch64/sve-fixed-length-masked-gather.ll
+8-3llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+4-5llvm/test/CodeGen/AArch64/neon-extadd-extract.ll
+2-4llvm/test/CodeGen/AArch64/sve-insert-vector-to-predicate-load.ll
+2-3llvm/test/CodeGen/AArch64/sve-fixed-length-masked-scatter.ll
+96-226 files

LLVM/project 972cd3dlldb/source/Plugins/Process/Windows/Common NativeProcessWindows.cpp

[lldb][Windows] Silence unused variable warning on Windows on Arm (#221176)

<...>/llvm-project/lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp(507,8):
warning: unused variable 'log' [-Wunused-variable]
  507 |   Log *log = GetLog(WindowsLog::Exception);
      |        ^~~

Move that line into the `#ifndef __aarch64__` block to fix this.
DeltaFile
+1-1lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+1-11 files

LLVM/project 759e1ffllvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/AArch64 wide-vscale-range-max-runtime-vf.ll

[LV] Use getMaxRuntimeElementCount for MaxPowerOf2RuntimeVF. (#221219)

Use new getMaxRuntimeElementCount to compute MaxPowerOf2RuntimeVF to
avoid overflow by performing computations in uint64_t.

This fixes an overflow in the test added in #219290. We now correctly
determine that a tail is needed for a low trip count loop.

PR: https://github.com/llvm/llvm-project/pull/221219
DeltaFile
+12-26llvm/test/Transforms/LoopVectorize/AArch64/wide-vscale-range-max-runtime-vf.ll
+9-10llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+21-362 files

OpenBSD/ports FW3P4Tqdevel/jujutsu Makefile, devel/jujutsu/patches patch-cli_src_complete_rs patch-cli_src_commands_bisect_run_rs

   jujutsu: remove current_exe() workaround

   same diff as the one from kirill
VersionDeltaFile
1.42+1-6devel/jujutsu/Makefile
1.3+0-0devel/jujutsu/patches/patch-cli_src_complete_rs
1.8+0-0devel/jujutsu/patches/patch-cli_src_commands_bisect_run_rs
+1-63 files

LLVM/project b9871b3clang/test/CIR/CodeGenBuiltins/AArch64 acle_sve_len.c acle_sve_dup.c, clang/test/CodeGen/AArch64 lit.local.cfg

[clang][CIR][AArch64] Move and reformat SVE test (#220599)

Adapts SVE tests to match the approach that we took for Neon. In
particular, test are moved to:
  * "clang/test/CodeGen/AArch64/sve"

There is no change in test coverage.
DeltaFile
+824-0clang/test/CodeGen/AArch64/sve/dup.c
+0-818clang/test/CIR/CodeGenBuiltins/AArch64/acle_sve_dup.c
+177-0clang/test/CodeGen/AArch64/sve/len.c
+0-170clang/test/CIR/CodeGenBuiltins/AArch64/acle_sve_len.c
+2-1clang/test/CodeGen/AArch64/lit.local.cfg
+1,003-9895 files

LLVM/project 137d8e6llvm/lib/Target/X86 X86RegisterInfo.cpp, llvm/test/CodeGen/X86 avx512f-large-stack.ll huge-frame-index.ll

[X86] Fix eliminateFrameIndex dropping existing index register for huge frame offsets

When the frame offset does not fit in disp32 and the address mode already
uses an index register, the register-scavenging path overwrote the index
operand with the scratch register, silently dropping the index from the
effective address (and applying the stale scale to the frame offset).
Fold the offset into the base register with an LEA in this case instead.

Fixes #213960

Assisted-by: Cursor

Reviewers: RKSimon, qcolombet

Pull Request: https://github.com/llvm/llvm-project/pull/221016
DeltaFile
+53-0llvm/test/CodeGen/X86/huge-frame-index.ll
+13-1llvm/lib/Target/X86/X86RegisterInfo.cpp
+2-1llvm/test/CodeGen/X86/avx512f-large-stack.ll
+68-23 files

FreeBSD/ports 16b5f99sysutils/frand Makefile

sysutils/frand: Mark deprecated

PR:             298166
Approved by:    serpent7776 at gmail.com (maintainer)

(cherry picked from commit ad901054d90a494ec168816e2676c56cd51af3c0)
DeltaFile
+4-1sysutils/frand/Makefile
+4-11 files

LLVM/project 71036f9llvm/unittests/Frontend OpenMPIRBuilderTest.cpp

[NFC] Stop relying on the LocationDescription conversion in unit tests. (#221004)

`LocationDescription` has an implicit conversion from a bare insertion
point, and it leaves DL default-constructed. `OpenMPIRBuilderTest`
depends on that in a number of places, either by naming an insertion
point directly or by handing `Builder.saveIP()` to an entry point that
takes a `LocationDescription`.

Spell out what each of those sites means instead. Where a live builder
is already sitting at the insertion point it is passed directly, and
where the test names an insertion point of its own the empty location is
written out, which is what it was getting before, so no test changes
behavior.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+42-44llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+42-441 files

FreeBSD/ports 9c24969net/rclone Makefile distinfo

net/rclone: Update 1.75.0 => 1.75.1

Changelog:
https://rclone.org/changelog/#v1-75-1-2026-09-04

PR:             298269
Approved by:    Ralf van der Enden <tremere at cainites.net> (maintainer)
Approved by:    osa, vvd (Mentors, implicit)
Security:       GHSA-66hp-wgxq-6f5q
Security:       GHSA-3vxh-3pcx-9m8q
Security:       GHSA-38xv-hf3p-h7mq
Security:       GHSA-486v-q2wf-fp2r
Security:       GHSA-f8g7-2xjc-7mfh
Security:       GHSA-p6m2-r3w9-mpxw
Security:       GHSA-p6vx-hf7p-98j6
Security:       GHSA-c476-6w5q-jw77
Security:       GHSA-2p48-j3qc-rx9f
Security:       GHSA-xwwr-4h3p-r22c
Security:       GHSA-p569-5gjg-9cmj

    [3 lines not shown]
DeltaFile
+5-5net/rclone/distinfo
+1-2net/rclone/Makefile
+6-72 files

FreeBSD/ports ad90105sysutils/frand Makefile

sysutils/frand: Mark deprecated

PR:             298166
Approved by:    serpent7776 at gmail.com (maintainer)
DeltaFile
+4-1sysutils/frand/Makefile
+4-11 files

LLVM/project 288d557clang CMakeLists.txt, llvm CMakeLists.txt

[CIR][CMake] Configure MLIR as a dependency-only project

ClangIR requires MLIR, but enabling CIR currently requires users to list MLIR
explicitly in LLVM_ENABLE_PROJECTS. That also attaches all MLIR build, install,
unit-test, and lit targets to the corresponding LLVM aggregates.

When Clang is selected and CLANG_ENABLE_CIR is enabled, record MLIR in
LLVM_DEPENDENCY_ONLY_PROJECTS. The common project setup normalizes this request
against LLVM_ENABLE_PROJECTS, so an explicit MLIR selection still takes
precedence while an implicit selection remains dependency-only.

This configures the MLIR targets used by CIR without changing
LLVM_ENABLE_PROJECTS or enabling MLIR's aggregate targets. Keep the existing
standalone ClangIR restriction, and continue to omit MLIR when CIR is disabled.

Assisted-by: Codex
DeltaFile
+3-2clang/CMakeLists.txt
+4-0llvm/CMakeLists.txt
+7-22 files

LLVM/project b92b5b9llvm CMakeLists.txt, llvm/cmake/modules AddLLVM.cmake

[CMake] Add dependency-only project mode for Flang's MLIR

LLVM_ENABLE_PROJECTS historically treats projects enabled to satisfy another
project's dependency the same as projects selected by the user. Consequently,
enabling Flang attaches the complete MLIR project, install rules, and test
suites to LLVM's aggregate targets.

Record implicit dependencies in the internal-only
LLVM_DEPENDENCY_ONLY_PROJECTS list without changing LLVM_ENABLE_PROJECTS.
Normalize the list after collecting dependencies so duplicate requests are
removed and explicit project selections always take precedence.

Teach project setup to configure the union of both lists and add
dependency-only source directories with EXCLUDE_FROM_ALL. This keeps every
MLIR target available for normal dependency resolution while omitting MLIR-wide
build and install targets. Flang is the first user of this mode.

Let MLIR own its dependency-only test policy: configure test support libraries
for downstream consumers without creating MLIR unit tests or registering its

    [3 lines not shown]
DeltaFile
+20-9llvm/CMakeLists.txt
+12-6mlir/CMakeLists.txt
+7-2llvm/cmake/modules/AddLLVM.cmake
+39-173 files

LLVM/project 1871cb2clang-tools-extra/clang-tidy .clang-tidy

[clang-tidy][NFC] Convert check list to yaml format (#221411)

Yaml format was introduced in 19-20 release which is old enough to
safely transition our file to new version since we are on 23 release
already.
DeltaFile
+46-45clang-tools-extra/clang-tidy/.clang-tidy
+46-451 files

LLVM/project 0f138f6clang/test/OpenMP interchange_codegen.cpp, llvm/lib/Target/Hexagon HexagonDepMask.h

Rebase

Created using spr 1.3.7
DeltaFile
+17,282-3,458llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+7,983-1,591llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-neon-instructions.s
+1,750-2,445clang/test/OpenMP/interchange_codegen.cpp
+3,312-825llvm/test/CodeGen/AMDGPU/flat-saddr-load.ll
+2,226-1,164llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+0-2,819llvm/lib/Target/Hexagon/HexagonDepMask.h
+32,553-12,3023,783 files not shown
+201,098-94,4983,789 files

LLVM/project b77c26coffload/libompaccsupport PluginManager.cpp device.cpp, offload/libomptarget omptarget.cpp

[offload][omp] memory operations through liboffload
DeltaFile
+0-90offload/plugins-nextgen/common/src/PluginInterface.cpp
+68-16offload/libompaccsupport/device.cpp
+43-4offload/libompaccsupport/PluginManager.cpp
+12-24offload/libomptarget/OpenMP/API.cpp
+0-31offload/plugins-nextgen/common/include/PluginInterface.h
+25-4offload/libomptarget/omptarget.cpp
+148-1696 files not shown
+181-18512 files

LLVM/project a418a23offload/include PluginManager.h, offload/liboffload exports

[offload][omp] Use olIterateCompatibleDevices for device init and image registration
DeltaFile
+119-109offload/libompaccsupport/PluginManager.cpp
+9-8offload/libompaccsupport/device.cpp
+0-15offload/plugins-nextgen/common/src/PluginInterface.cpp
+5-8offload/include/PluginManager.h
+0-6offload/plugins-nextgen/common/include/PluginInterface.h
+1-4offload/liboffload/exports
+134-1502 files not shown
+142-1518 files