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 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

OpenZFS/src 5180219 — include/sys vdev_impl.h, lib/libspl/include/sys sysmacros.h

Add alloc factor logic

RAIDz vdevs always perform allocations in multiples of nparity + 1
sectors. This is to prevent fragmentation from leaving small scattered
records everywhere that cannot be allocated and just pollute the
spacemaps. This rule was always preserved until the introduction of the
allocation range code, which allows allocation of not just specific
sizes, but anywhere in a range. The sizes that end up being allocated
may not be a multiple of nparity + 1 sectors in certain cases (primarily
when the allocation is at the end of a metaslab).  If that happens, when
converting from the asize to the psize and back, we can end up with two
different psize values, which can theoretically cause issues in a few
different ways.

This PR adds logic to the metaslab code to check if there is a factor
that the allocations must be a multiple of, and if we're doing a
dynamically sized allocation, ensures that the allocation meets that
requirement.


    [5 lines not shown]
DeltaFile
+41-10module/zfs/metaslab.c
+21-0module/zfs/vdev.c
+12-0module/zfs/vdev_raidz.c
+12-0module/zfs/vdev_draid.c
+3-0lib/libspl/include/sys/sysmacros.h
+2-0include/sys/vdev_impl.h
+91-101 files not shown
+92-107 files

FreeBSD/ports 43cd9dc — devel/py-cysignals Makefile pkg-plist

devel/py-cysignals: use USE_PYTHON=autoplist

Fixes packaging with free-threaded Python.
Also specify USE_PYTHON=pytest instead of USES=pytest

PR: 299133
Approved by: thierry (maintainer)

(cherry picked from commit 578ce00b23cfeb275b0c1872f0f70f64a5784ad7)
DeltaFile
+0-24devel/py-cysignals/pkg-plist
+2-4devel/py-cysignals/Makefile
+2-282 files

FreeBSD/src 04aa36c — 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 7c5caf7 — 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 9fed9dc — clang/test/CIR/CodeGen inherited-ctors.cpp

[CIR][NFC] Share LLVM checks with classic in inherited-ctors.cpp

The OGCG checks repeated the LLVM checks except for one call and one
vtable store in VirtualDelegatingCtor. This change runs the LLVM prefix
on both outputs and keeps LLVMCIR/OGCG only for those two lines.

Assisted-by: Claude Code / Claude Opus 5.5
DeltaFile
+10-50clang/test/CIR/CodeGen/inherited-ctors.cpp
+10-501 files

LLVM/project b768819 — llvm/include/llvm/IR DebugInfoMetadata.h, llvm/lib/Bitcode/Writer BitcodeWriter.cpp

[DebugInfo] Add DILayerLoc/DILayerLocList and DILocation irlayers operand (#215666)

Programs lowered through intermediate IRs lose their position in those
IRs by the time they reach a backend: a DILocation records only the
original source coordinate. Add an optional `irlayers` operand carrying
one coordinate per intermediate level, so a profiler can show the IR
text a program was actually compiled from.

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+388-0llvm/unittests/IR/DebugInfoTest.cpp
+151-18llvm/include/llvm/IR/DebugInfoMetadata.h
+112-17llvm/lib/IR/DebugInfoMetadata.cpp
+90-0llvm/test/Transforms/HotColdSplit/transfer-debug-info-irlayers.ll
+81-7llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+69-0llvm/test/Bitcode/intermediate-loc-roundtrip.ll
+891-4219 files not shown
+1,394-7225 files

LLVM/project d349440 — flang/lib/Semantics resolve-labels.cpp, flang/test/Semantics/OpenACC acc-label-do.f90

[flang][openacc] Accept enclosing labeled DO loops sharing a label with an ACC loop (#229502)

When an `!$acc loop` or combined construct is associated with a labeled
DO,
AccNonBlockDoConstruct builds a DoConstruct for it during parsing. If an
enclosing labeled DO without a directive shares the same terminating
label,
that outer loop remains a LabelDoStmt until CanonicalizeDo, while its
terminator is now nested inside the DoConstruct. AnalyzeLabels runs
before
CanonicalizeDo and treats every DoConstruct as a new scope, so it
rejected
the outer loop with "Label 'N' is not in DO loop scope":

      do 10 k = 1, m
!$acc loop
        do 10 i = 1, n
10        a(i, k) = 0.


    [8 lines not shown]
DeltaFile
+55-0flang/test/Semantics/OpenACC/acc-label-do.f90
+31-0flang/lib/Semantics/resolve-labels.cpp
+86-02 files

LLVM/project 4fe08ed — clang/test/CodeGenOpenCL atomics-unsafe-hw-remarks-gfx90a.cl, llvm/lib/Target/AMDGPU SIISelLowering.cpp

AMDGPU: Improve optimization remarks for atomic lowering (#229352)

Improve the phrasing when the atomicrmw legalization emits the hardware
instruction. Replace the unhelpful "due to an unsafe request" wording in
the optimization remark with the actual reason the native instruction was
legal to use.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+113-43llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+115-0llvm/test/CodeGen/AMDGPU/atomics-hw-remarks-gfx908.ll
+41-0llvm/test/CodeGen/AMDGPU/atomics-hw-remarks-scope.ll
+9-10llvm/test/CodeGen/AMDGPU/atomics-hw-remarks-gfx90a.ll
+3-3clang/test/CodeGenOpenCL/atomics-unsafe-hw-remarks-gfx90a.cl
+281-565 files

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

[AMDGPU] Omit ELF XNACK modes for hardwired-on targets (#227740)

Since #212792, hardwired-on XNACK targets such as gfx1250 emit
`XNACK_ON`, causing consumers to infer an unsupported `:xnack+`
modifier.

Restore the previous zero ELF XNACK field for these targets in code
object V4 and later, preserving replay-safe code generation and
encodings for targets with selectable modes. Clarify the ABI
documentation and add regressions.

Assisted by: Codex (GPT-6)
DeltaFile
+8-2llvm/docs/AMDGPUUsage.rst
+6-2llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+6-0llvm/test/MC/AMDGPU/elf-xnack-hardwired.s
+5-0llvm/test/CodeGen/AMDGPU/module-flag-xnack-no-on-off-modes.ll
+1-1llvm/include/llvm/BinaryFormat/ELF.h
+26-55 files

LLVM/project 4295cf1 — llvm/test/Instrumentation/MemorySanitizer/AArch64 partial-reduction-add.ll partial-reduction-sub-fp.ll

[msan][test] Add tests for llvm.vector.partial.reduce.add/fadd (#229196)

Mostly, the first and second arguments are the same (e.g., `<4 x i32>
@llvm.vector.partial.reduce.add(<4 x i32>, <4 x i32>)`) which can be
handled heuristically, but sometimes the second argument is a larger
multiple of the first argument (e.g., `<4 x i32>
@llvm.vector.partial.reduce.add(<4 x i32>, <8 x i32>)`), which is
handled strictly.

N.B. although these intrinsics are LLVM cross-platform, we keep the
tests in the AArch64 directory to maintain the correspondence with the
directory (llvm/test/CodeGen/AArch64/) that the tests are forked from.
DeltaFile
+715-0llvm/test/Instrumentation/MemorySanitizer/AArch64/default-partial-reduce.ll
+682-0llvm/test/Instrumentation/MemorySanitizer/AArch64/partial-reduction-sub.ll
+151-0llvm/test/Instrumentation/MemorySanitizer/AArch64/partial-reduction-sub-fp.ll
+129-0llvm/test/Instrumentation/MemorySanitizer/AArch64/partial-reduction-add.ll
+1,677-04 files

LLVM/project 103ca64 — 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

LLVM/project e7acf95 — flang/lib/Lower ConvertConstant.cpp Bridge.cpp, flang/lib/Optimizer/CodeGen TBAABuilder.cpp

Build fix
DeltaFile
+1-1flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
+1-1flang/lib/Lower/ConvertConstant.cpp
+1-1flang/lib/Lower/Bridge.cpp
+3-33 files

OpenZFS/src bbfc014 — cmd ztest.c

ztest: do not use a detached vdev in online_vdev()

online_vdev() drops the config lock to online a device. If the
configuration changed meanwhile, the vdev may have been detached or
replaced and freed, which the function detects before returning. Its
verbose message then still read the old top-level vdev's state, a
use-after-free that AddressSanitizer reports during zloop runs, and
both abort paths returned the possibly freed vdev to stop the walk.

Log the saved GUID and expected generation together with the current
configuration generation, without dereferencing the old vdev. Stop
the walk with the root vdev, which stays valid under the reacquired
lock.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Kamil Monicz <kamil at monicz.dev>
Closes #19224
DeltaFile
+6-6cmd/ztest.c
+6-61 files