LLVM/project 696f94b — llvm/test/Analysis/CostModel/RISCV reduce-fadd.ll rvv-load-store.ll

[RISCV] Account for the size of the constant pool in getConstantPoolLoadCost() with CostKind == CodeSize (#228134)

Constant pool contributes to the overall binary size.
DeltaFile
+271-146llvm/test/Analysis/CostModel/RISCV/shuffle-exact-vlen.ll
+45-45llvm/test/Analysis/CostModel/RISCV/shuffle-permute.ll
+28-28llvm/test/Analysis/CostModel/RISCV/reduce-fmul.ll
+26-26llvm/test/Analysis/CostModel/RISCV/shuffle-transpose.ll
+8-8llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
+7-7llvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll
+385-2602 files not shown
+398-2678 files

LLVM/project 7a64e5f — llvm/test/Transforms/LoopVectorize/AArch64 induction-costs-sve.ll, llvm/test/Transforms/LoopVectorize/ARM mve-icmpcost.ll

Revert "[VPlan] Run CSE in VPlanTransforms::optimize" (#229507)

This reverts commit 52281efd (#203370) due to broken buildbots.

Ref: https://lab.llvm.org/buildbot/#/builders/55/builds/34192
DeltaFile
+50-50llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
+40-32llvm/test/Transforms/LoopVectorize/ARM/mve-icmpcost.ll
+34-31llvm/test/Transforms/LoopVectorize/VPlan/early_exit_with_stores_vplan.ll
+26-25llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-metadata.ll
+20-17llvm/test/Transforms/LoopVectorize/VPlan/first-order-recurrence-chains-vplan.ll
+16-8llvm/test/Transforms/LoopVectorize/X86/CostModel/vpinstruction-cost.ll
+186-16316 files not shown
+239-19422 files

FreeBSD/src 3e01ebd — sys/riscv/riscv identcpu.c

riscv: support the new "riscv,isa-extensions" string-array.

Support the new "riscv,isa-extensions" property on RISC-V hart nodes
in FDT.

The "riscv,isa" property is deprecated, but cannot be removed because
doing so would break compatibility with existing DTBs. The new properties
replace it: "riscv,isa-base" describes the base ISA and
"riscv,isa-extensions" is a string array containing the supported ISA
extensions.

The "riscv,isa-extensions" property can be relatively large; on the
Spacemit K3 SoC it is approximately 300 bytes.

The FreeBSD OFW interface does not provide access to the underlying FDT
property data without copying it, and memory allocation is not possible
this early. So allocate a static buffer for the property instead.

Reuse the existing parse_riscv_isa() implementation to parse both the new

    [5 lines not shown]
DeltaFile
+80-26sys/riscv/riscv/identcpu.c
+80-261 files

LLVM/project bb7df83 — llvm/lib/Target/AMDGPU AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel store-local.96.ll load-local.96.ll

AMDGPU/GlobalISel: Split 4-byte aligned 64-bit LDS accesses on SI

SI cannot use ds_read2_b32/ds_write2_b32 for 4-byte aligned 64-bit
accesses due to the LDS bounds checking bug with negative base
addresses, and the selection patterns for them require
HasUsableDSOffset. The explicit legality rules still treated these as
legal, so they failed to select. Split them into 32-bit accesses as
SelectionDAG does, and enable the GFX6 run lines in the local load and
store tests.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+201-3llvm/test/CodeGen/AMDGPU/GlobalISel/store-local.128.ll
+97-57llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+149-3llvm/test/CodeGen/AMDGPU/GlobalISel/load-local.128.ll
+122-3llvm/test/CodeGen/AMDGPU/GlobalISel/load-local.96.ll
+29-23llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+21-11llvm/test/CodeGen/AMDGPU/GlobalISel/store-local.96.ll
+619-1006 files

LLVM/project d7857f9 — mlir/lib/Conversion/VectorToLLVM ConvertVectorToLLVM.cpp, mlir/test/Dialect/Vector vector-contract-to-matrix-intrinsics-transforms.mlir

[mlir][Vector] Guard scalable reduction dim in matmul lowering (#226024)

`ContractionOpToMatmulOpLowering` previously rejected scalable
`vector.contract` ops by checking only the result type. While this
covers the M and N dimensions, it misses the K (reduction) dimension.
For contractions with static M/N but a scalable K (e.g.,
`vector<2x[4]xf32>` times `vector<[4]x3xf32>`), the guard incorrectly
passed. The pattern then attempted to build a flattened, non-scalable
LHS/RHS type via `VectorType::get(lhsType.getNumElements(), ...)`,
followed by a `vector.shape_cast`. This caused the `shape_cast` verifier
to reject the conversion (source has a scalable dimension, result
doesn't), crashing the pass instead of gracefully failing the match.

Also check the LHS/RHS operand types for a scalable dimension, and add a
regression test.
DeltaFile
+10-0mlir/test/Dialect/Vector/vector-contract-to-matrix-intrinsics-transforms.mlir
+5-3mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
+15-32 files

LLVM/project 09f8b85 — clang/include/clang/AST CharUnits.h, clang/lib/CodeGen CGObjC.cpp

[Clang] Fix crash on `__atomic_always_lock_free` with a size of zero (#229031)

Fixes #170139
Fixes #120082

`CharUnits::isPowerOfTwo()` returned true for zero, so the lock-free
builtins took a size of 0 for a lock-free size and went on to build
`llvm::Align(0)` from it when the pointer argument was a constant.
Without assertions the answer depended on how the pointer was written.

`isPowerOfTwo()` now returns false for zero and negative quantities, as
its comment says. A size of 0 is handled like any other size that isn't
lock-free, such as 3: `__atomic_always_lock_free` is false, and
`__atomic_is_lock_free` and `__c11_atomic_is_lock_free` are left to the
runtime call, as in GCC. The ObjC property code keeps a zero-size ivar
on its native path.

LLM tools (Gemini 3.1 Pro, not Agent) were used for this contribution.
I've reviewed, built, and tested the change myself before pushing to
GitHub.
DeltaFile
+16-0clang/test/CodeGen/atomic-ops.c
+14-0clang/test/AST/ByteCode/atomic.c
+12-0clang/test/Sema/atomic-ops.c
+4-2clang/test/CodeGenObjC/atomic-aggregate-property.m
+3-1clang/include/clang/AST/CharUnits.h
+1-1clang/lib/CodeGen/CGObjC.cpp
+50-41 files not shown
+52-47 files

LLVM/project 063cceb — flang/lib/Semantics check-omp-structure.h check-omp-atomic.cpp, flang/test/Semantics/OpenMP declare-target02.f90 flush02.f90

[flang][OpenMP] Switch clause verification to descriptor-based

Delete all the scattered pieces of clause verification that are now
replaced by the unified handling.
DeltaFile
+57-273flang/lib/Semantics/check-omp-structure.cpp
+298-0flang/lib/Semantics/check-omp-syntax.cpp
+0-31flang/lib/Semantics/check-omp-atomic.cpp
+22-7flang/lib/Semantics/check-omp-structure.h
+8-8flang/test/Semantics/OpenMP/flush02.f90
+15-0flang/test/Semantics/OpenMP/declare-target02.f90
+400-31936 files not shown
+514-38042 files

LLVM/project 2002289 — flang/lib/Semantics check-omp-syntax.cpp, flang/test/Semantics/OpenMP uses-allocators-version51.f90 uses-allocators-version50.f90

[flang][OpenMP] Improve diagnostics about modifier properties

Use OpenMPDeprecated and OpenMPFuture warning categories for modifier
diagnostics as well, analogously to how they are used for clauses.
DeltaFile
+65-29flang/lib/Semantics/check-omp-syntax.cpp
+4-4flang/test/Semantics/OpenMP/map-modifiers-v60.f90
+3-3flang/test/Semantics/OpenMP/uses-allocators-version50.f90
+3-3flang/test/Semantics/OpenMP/to-clause-v45.f90
+3-3flang/test/Semantics/OpenMP/from-clause-v45.f90
+2-2flang/test/Semantics/OpenMP/uses-allocators-version51.f90
+80-446 files not shown
+87-5112 files

LLVM/project f2fcc2d — flang/include/flang/Parser openmp-utils.h, flang/lib/Semantics check-omp-structure.h check-omp-syntax.cpp

[flang][OpenMP] Account for using different versions for modifier checks

When a modifier from a past/future version is accepted, use its properties
from the nearest version in which it is allowed.
DeltaFile
+114-73flang/lib/Semantics/check-omp-syntax.cpp
+3-1flang/include/flang/Parser/openmp-utils.h
+2-1llvm/include/llvm/Frontend/Directive/Spelling.h
+1-0flang/lib/Semantics/check-omp-structure.h
+120-754 files

LLVM/project 1aee077 — flang/include/flang/Parser openmp-utils.h, flang/lib/Parser openmp-utils.cpp

[flang][OpenMP] Create generic interfaces for "container" entities

In short, clauses are containers of modifiers, and directives are
containers of clauses. With the abstractions in place, clauses and
modifiers look almost the same from the point of view of syntactic
properties.

Use these functions to implement generic GetAllowedElements and
GetElementVersionRange functions.
DeltaFile
+16-54flang/lib/Semantics/check-omp-syntax.cpp
+56-0flang/include/flang/Parser/openmp-utils.h
+31-0flang/lib/Parser/openmp-utils.cpp
+103-543 files

LLVM/project 6ef9a4b — flang/lib/Semantics check-omp-syntax.cpp

[flang][OpenMP] Properly use GetAllowedElements

Allowed elements are not just those explicitly listed, but also those
from the union of allowed sets.

For example, the set of modifiers allowed on a clause are those that
are listed on a given clause, plus the union of all modifier sets that
the clause allows.
DeltaFile
+23-13flang/lib/Semantics/check-omp-syntax.cpp
+23-131 files

LLVM/project 7ef9bf1 — lldb/test/API/tools/lldb-dap/optimized main.cpp TestDAP_optimized.py, lldb/tools/lldb-dap Variables.cpp

[lldb-dap] Mark unwritable variables as read-only (#229121)

Use SBValue::CanSetValue to add the "readOnly" presentation hint, so
clients don't offer to edit values with no writable storage, like
constants in optimized code.

rdar://181750474
DeltaFile
+22-1lldb/test/API/tools/lldb-dap/optimized/TestDAP_optimized.py
+9-0lldb/test/API/tools/lldb-dap/optimized/main.cpp
+2-1lldb/tools/lldb-dap/Variables.cpp
+33-23 files

LLVM/project e2fce0f — llvm/include/llvm/IR DebugInfoMetadata.h, llvm/test/Analysis/CostModel/X86 masked-intrinsic-cost.ll

Merge branch 'main' into users/arsenm/amdgpu/gds-load-store
DeltaFile
+747-0llvm/test/CodeGen/NVPTX/convert-fptrunc-round.ll
+715-0llvm/test/Instrumentation/MemorySanitizer/AArch64/default-partial-reduce.ll
+682-0llvm/test/Instrumentation/MemorySanitizer/AArch64/partial-reduction-sub.ll
+388-0llvm/unittests/IR/DebugInfoTest.cpp
+199-54llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
+173-33llvm/include/llvm/IR/DebugInfoMetadata.h
+2,904-87104 files not shown
+6,003-821110 files

LLVM/project d49ff42 — flang/lib/Semantics check-omp-syntax.cpp, llvm/include/llvm/Frontend/OpenMP OMPDescriptors.h OMPDescriptors.h.inc

[OpenMP] Introduce descriptors for directives, clause groups and sets

Reuse Association and Category enum definitions from OMP.h.inc.
DeltaFile
+1,110-1llvm/lib/Frontend/OpenMP/OMPDescriptors.inc
+110-1llvm/include/llvm/Frontend/OpenMP/OMPDescriptors.h.inc
+99-0llvm/lib/Frontend/OpenMP/OMPDescriptors.cpp
+63-0llvm/include/llvm/Frontend/OpenMP/OMPDescriptors.h
+1-1flang/lib/Semantics/check-omp-syntax.cpp
+1,383-35 files

LLVM/project 1ed451a — llvm/lib/Target/AMDGPU SILoadStoreOptimizer.cpp, llvm/test/CodeGen/AMDGPU load-store-opt-ds-gds-gfx7.mir load-store-opt-ds-gds-gfx9.mir

AMDGPU: Fix SILoadStoreOptimizer dropping gds bit on DS merges

When forming read2/write2 from a pair of DS_READ/DS_WRITE
instructions, the gds operand was unconditionally set to 0, turning
GDS accesses into LDS accesses. Preserve the gds bit, refuse to pair
an LDS access with a GDS access, and select the M0-reading opcode
variant for GDS on targets that otherwise use the _gfx9 forms.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+171-0llvm/test/CodeGen/AMDGPU/load-store-opt-ds-gds-gfx9.mir
+170-0llvm/test/CodeGen/AMDGPU/load-store-opt-ds-gds-gfx7.mir
+25-17llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
+366-173 files

LLVM/project 18427ad — lldb/test/Shell/SymbolFile/NativePDB thread-locals.cpp

[lldb][NativePDB] Require native for thread locals (#229480)

Skips the test for builds that are not native and intends to fix the
still broken bot after #229340.

The test shouldn't require `native`, but, as I mentioned in the comment,
it seems like the linking in `build.py` doesn't set the correct
architecture or the build doesn't happen on the correct target. Either
way, I can't debug this locally, so this configuration is skipped.
DeltaFile
+3-1lldb/test/Shell/SymbolFile/NativePDB/thread-locals.cpp
+3-11 files

FreeBSD/src 572cd66 — sys/dev/hwpmc hwpmc_ibs.c

hwpmc: handle delayed IBS NMIs on Zen 6

On Zen 6, an extra IBS NMI can arrive after later samples. Keep the
credit until the empty NMI arrives, and handle fetch and op samples when
both are ready.

Reviewed by:    mhorne
Fixes:  34b00ed041a4 ("hwpmc: fix IBS fetch and op NMI handling")
Fixes:  e51ef8ae490f ("hwpmc: Initial support for AMD IBS")
Sponsored by:   AMD
Differential Revision:  https://reviews.freebsd.org/D60367
DeltaFile
+15-6sys/dev/hwpmc/hwpmc_ibs.c
+15-61 files

FreeBSD/src 3e8ce38 — sys/sys pmc.h

pmc.h: bump PMC_VERSION_MINOR

Bump for the addition of PMC_OP_GETCAPS and the recently added Intel
CPUs.

Sponsored by:   The FreeBSD Foundation

(cherry picked from commit e39d3a6b32331437da6c13a4aeb67e5bcca67625)
DeltaFile
+1-1sys/sys/pmc.h
+1-11 files

FreeBSD/src 1cc380d — lib/libpmc libpmc.c, share/man/man4 hwpmc.4

libpmc: Query hwpmc for caps

This change allows for fine-grained capabilities per counter index. This
is particularly useful for AMD where subclasses are not exposed to the
general PMC code, but other architectures also have asymmetric behaviors
when it comes to specific counter indices.

A new PMC_OP_GETCAPS op is added to the hwpmc(4) ioctl interface.

Reviewed by:    mhorne
Sponsored by:   Netflix
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2058

(cherry picked from commit 44a983d249d05d932b6cff333f130baf70febc22)
DeltaFile
+45-0sys/dev/hwpmc/hwpmc_mod.c
+9-10lib/libpmc/libpmc.c
+14-1sys/sys/pmc.h
+15-0sys/dev/hwpmc/hwpmc_amd.c
+4-0share/man/man4/hwpmc.4
+87-115 files

LLVM/project 63c1a45 — clang/lib/CIR/CodeGen CIRGenClass.cpp, clang/test/CIR/CodeGen inherited-ctors.cpp

[CIR] Pass only 'this' to an inherited ctor from a virtual base

The base-object variant of an inheriting constructor whose inherited
constructor lives in a virtual base takes no arguments, since it doesn't
construct that base. We were hitting an NYI here. This change passes
just 'this', as classic codegen does.

Assisted-by: Claude Code / Claude Opus 5.5
DeltaFile
+121-0clang/test/CIR/CodeGen/inherited-ctors.cpp
+3-3clang/lib/CIR/CodeGen/CIRGenClass.cpp
+124-32 files

NetBSD/pkgsrc YswfBtD — doc CHANGES-2026

   doc: Updated devel/lua-language-server to 3.19.1
VersionDeltaFile
1.6746+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc xyhFsaX — devel/lua-language-server Makefile distinfo, devel/lua-language-server/patches patch-make.lua patch-3rd_luamake_bee.lua_bee_thread_atomic__sync.cpp

   lua-language-server: update to 3.19.1.

   Un-BROKENs this package, patches were merged.

   Over two years of development.

   Provided by Sunil Nimmagadda in PR 60857.
VersionDeltaFile
1.6+685-16devel/lua-language-server/PLIST
1.8+64-25devel/lua-language-server/distinfo
1.16+25-36devel/lua-language-server/Makefile
1.3+1-1devel/lua-language-server/patches/patch-make.lua
1.2+1-1devel/lua-language-server/patches/patch-3rd_luamake_bee.lua_bee_thread_atomic__sync.cpp
1.3+1-1devel/lua-language-server/patches/patch-3rd_bee.lua_bee_thread_atomic__sync.cpp
+777-806 files

NetBSD/src 0t48DIW — external/gpl2/texinfo/dist/lib system.h

   PR/60859: Jan-Benedict-Glaw: Fill function prototypes to fix
   compiling issues with recent gcc on Debian unstable.
VersionDeltaFile
1.5+7-7external/gpl2/texinfo/dist/lib/system.h
+7-71 files

LLVM/project bfaa4ce — llvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXIntrinsics.td, llvm/test/CodeGen/NVPTX reg-or-imm-verifier.mir fns.ll

[NVPTX] Use register-or-immediate operands for fns (#229224)

The PTX ISA is very abstract and high level, it supports immediate or
register operands in almost any instruction.

Prototype simplifying the NVPTX MIR opcodes and instruction selection by
no longer discriminating between registers and immediates.
DeltaFile
+53-13llvm/test/CodeGen/NVPTX/fns.ll
+41-0llvm/test/CodeGen/NVPTX/reg-or-imm-verifier.mir
+8-20llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+12-0llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+114-334 files

LLVM/project b6d12fd — clang/lib/CIR/CodeGen CIRGenExprScalar.cpp

[CIR] Address reviewer feedback

Assisted-by: Claude Code / Claude Opus 5.5
DeltaFile
+5-5clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+5-51 files

LLVM/project 0cb8907 — clang/include/clang/Basic Module.h, clang/include/clang/Frontend CompilerInstance.h

[clang][deps] Track directory dependencies of modules (#222202)

In some cases a module depends on the contents of a directory in addition to
individual files. This happens for umbrella modules and framework modules, where
adding a header changes the module without changing any of its input files.

This records those directories in the module file, and adds
`-fmodules-validate-directory-dependencies` to treat an implicitly built module
as out of date when one of them changed after the module was built. It is off
by default.

Assisted-by: Claude Code: opus-5.5
DeltaFile
+101-0clang/test/Modules/validate-directory-dependencies.c
+58-0clang/lib/Serialization/ASTReader.cpp
+22-0clang/lib/Basic/Module.cpp
+20-0clang/lib/Lex/ModuleMap.cpp
+16-1clang/include/clang/Frontend/CompilerInstance.h
+12-0clang/include/clang/Basic/Module.h
+229-113 files not shown
+305-419 files

FreeBSD/ports fd9cf72 — benchmarks/hipercontracer Makefile distinfo

benchmarks/hipercontracer: Update 2.2.11 => 2.2.12

Changelog:
https://github.com/dreibh/hipercontracer/blob/hipercontracer-2.2.12/ChangeLog

Commit log:
https://github.com/dreibh/hipercontracer/compare/hipercontracer-2.2.11...hipercontracer-2.2.12

PR:             299181
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+3-3benchmarks/hipercontracer/distinfo
+1-2benchmarks/hipercontracer/Makefile
+4-52 files

OPNSense/plugins e0c8678 — security/q-feeds-connector/src/opnsense/mvc/app/controllers/OPNsense/QFeeds/forms dialogAlias.xml, security/q-feeds-connector/src/opnsense/mvc/app/views/OPNsense/QFeeds index.volt

security/q-feeds-connector - expand include/exclude tag selectors into separate selectors.
DeltaFile
+47-0security/q-feeds-connector/src/opnsense/mvc/app/views/OPNsense/QFeeds/index.volt
+2-0security/q-feeds-connector/src/opnsense/mvc/app/controllers/OPNsense/QFeeds/forms/dialogAlias.xml
+49-02 files

LLVM/project bf7865f — llvm/docs AMDGPUUsage.rst, llvm/include/llvm/BinaryFormat ELF.h

[AMDGPU] Omit hardwired-on SRAMECC ELF mode

Mirror #227740 for SRAMECC. Without on/off modes, SRAMECC is implied
by EF_AMDGPU_MACH; encoding a mode makes consumers infer an
unsupported :sramecc+ modifier.

Depends on #225540.

Change-Id: I7bf76efbb86c7030eae36dc06ca7da0dd64cce87
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
DeltaFile
+8-2llvm/docs/AMDGPUUsage.rst
+10-0llvm/test/MC/AMDGPU/elf-sramecc-hardwired.s
+6-2llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+1-1llvm/include/llvm/BinaryFormat/ELF.h
+25-54 files

LLVM/project 192c5cb — clang/lib/Analysis/FlowSensitive/Models CMakeLists.txt GtestModelHelpers.h

[FlowSensitive] add handling for AssertionResultExpectation

In a follow up, this will be used by the StatusOr and Optional models.

Assisted-By: Gemini
DeltaFile
+58-0clang/lib/Analysis/FlowSensitive/Models/GtestModelHelpers.cpp
+38-0clang/lib/Analysis/FlowSensitive/Models/GtestModelHelpers.h
+1-0clang/lib/Analysis/FlowSensitive/Models/CMakeLists.txt
+97-03 files