OpenZFS/src 93a540acmd/zed zed_strings.c

zed: suppress cppcheck memleak false positive in zed_strings

_zed_strings_node_create() returns a node that owns its two strdup()ed
strings; zed_strings_add() puts it in an AVL tree and
_zed_strings_node_destroy() frees it later.  cppcheck does not model
ownership passing to the caller through a returned struct, and reports
both allocations as leaked at the return:

  zed_strings.c:121:2: error: Memory leak: np.key [memleak]

Removing the np->key = np->val aliasing does not change the verdict,
so suppress it inline as other sites in the tree already do.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Alek Pinchuk <Alek.Pinchuk at connectwise.com>
Closes #18949
DeltaFile
+1-0cmd/zed/zed_strings.c
+1-01 files

OpenZFS/src 12fe1a0. Makefile.am

build: only cppcheck module/ when the kernel side is configured

CPPCHECKDIRS picked up module/ unconditionally, but module/Makefile's
cppcheck rule resolves the kernel headers through @LINUX_OBJ@, which is
only set once ZFS_AC_CONFIG_KERNEL has run.  With --with-config=user it
expands empty, so cppcheck is handed an unopenable include path and
make lint fails before it checks anything:

  nofile:0:0: error: Can not open include file
  '/include/generated/autoconf.h' that is explicitly included.

Move it inside CONFIG_KERNEL, next to the SUBDIRS entry it belongs
with.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Richard Yao <richard at ryao.dev>
Signed-off-by: Alek Pinchuk <Alek.Pinchuk at connectwise.com>
Closes #18951
DeltaFile
+2-1Makefile.am
+2-11 files

LLVM/project da34c91llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPCostAnalysis.cpp SLPCostAnalysis.h

[NFC][SLP] Refactor so that CostKind is a property of BoUpSLP (#217463)

Track in just one place so we can adjust as needed.

Precursor to #217398.

AI Usage: Assisted by Codex
DeltaFile
+190-186llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+8-9llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCostAnalysis.h
+5-5llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCostAnalysis.cpp
+203-2003 files

LLVM/project 4666404llvm/lib/Target/AMDGPU AMDGPU.td, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Remove remaining uses of old manual bitset of target features. (#217748)

Use new feature bitset for sgpr-init-bug checks, and remove the
remaining llvm uses of getArchAttrAMDGCN in favor of the new feature 
bitset.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+7-6llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+4-0llvm/unittests/TargetParser/TargetParserTest.cpp
+2-1llvm/lib/Target/AMDGPU/AMDGPU.td
+13-73 files

NetBSD/pkgsrc UdBSiYgdoc CHANGES-2026

   doc: Updated net/croc to 11.2.2
VersionDeltaFile
1.5424+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc QlP6u1Jnet/croc go-modules.mk Makefile

   croc: Update to 11.2.2

   11.2.2
   What's Changed
   fix: web show link Fixes #1266 by @schollz in #1268
   build(deps): bump azure/trusted-signing-action from 0.5.0 to 2.0.0 by @dependabot[bot] in #1267

   (newer version require Go 1.27, keeping on-hold once Go 1.27 will be available in pkgsrc formally)
VersionDeltaFile
1.7+3-3net/croc/distinfo
1.38+1-1net/croc/Makefile
1.7+0-0net/croc/go-modules.mk
+4-43 files

LLVM/project 49291a6flang/docs OpenMPSupport.md

[Flang][OpenMP] add more OpenMP support entries and status updates (#212889)

This adds a feature table for OpenMP 4.5 to the Flang OpenMP support
page, and also updates various entries (PR links, status, Claimed By
column for some in progress features, Notes).
DeltaFile
+73-52flang/docs/OpenMPSupport.md
+73-521 files

LLVM/project 85c7d75llvm/lib/CodeGen CFIInstrInserter.cpp

Undo enthusiastic clang-format change.
DeltaFile
+4-4llvm/lib/CodeGen/CFIInstrInserter.cpp
+4-41 files

Linux/linux 073e62farch/riscv/include/asm qos.h, arch/riscv/include/uapi/asm hwprobe.h

Merge tag 'riscv-for-linus-7.3-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V updates from Paul Walmsley

 - Add initial definitions and discovery for the Smcsrind, Sscsrind,
   Smcntrpmf, Ssccfg, Smcdeleg, Zicclsm, Ziccamoa, Ziccif, Ziccrse,
   Za64rs, and Ssqosid RISC-V ISA extensions

 - Improve the RISC-V update_mmu_cache_range() implementation by using
   flush-by-ASID, enabling performance improvements on
   microarchitectures that support related optimizations; and by taking
   advantage of the Svinval RISC-V ISA extension on microarchitectures
   that support it

 - Shrink CFI shadow stack allocation further (to 512MB) to save virtual
   address space (and physical memory on systems with strict overcommit
   policies)

 - Add initial CPU context switch support for QoS tagging (Ssqosid)

    [68 lines not shown]
DeltaFile
+79-73arch/riscv/include/uapi/asm/hwprobe.h
+0-143arch/riscv/kernel/vmlinux-xip.lds.S
+101-0arch/riscv/kernel/qos.c
+21-62arch/riscv/kernel/sys_hwprobe.c
+57-23arch/riscv/kernel/cpufeature.c
+74-0arch/riscv/include/asm/qos.h
+332-30144 files not shown
+796-44050 files

LLVM/project 732d841llvm/include/llvm InitializePasses.h, llvm/include/llvm/CodeGen/GlobalISel RegBankSelect.h

[GISel][NewPM] Port RegBankSelect

Standard NewPM pass porting. A little bit more analysis plumbing than
normal.

* Plumb both Pass*/MachineFunctionAnalysisManager* for critical edge
  splitting analysis updates.
* Plumb through functions to get MBFI/MBPI both cached and non-cached.
* Move the Impl class to the C++ file to try and keep the size of
  RegBankSelect.h small.

Reviewers: arsenm, mshockwave, aemerson, lenary, wangpc-pp

Pull Request: https://github.com/llvm/llvm-project/pull/217756
DeltaFile
+764-96llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
+39-573llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h
+1-1llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+1-1llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp
+1-1llvm/include/llvm/Passes/MachinePassRegistry.def
+1-1llvm/include/llvm/InitializePasses.h
+807-67310 files not shown
+817-68116 files

LLVM/project f4e9070llvm/include/llvm InitializePasses.h, llvm/include/llvm/CodeGen CFIInstrInserter.h

[NewPM] Port CFIInstrInserter to the new pass manager

Adds a newPM pass for CFIInstrInserter (cfi-instr-inserter).

- Extracts the pass's working state (MBBVector, CSRLocMap) and logic
  into a CFIInstrInserterImpl class with a run method, called by both
  the legacy pass and the new pass manager pass.
- Renames the old pass with the "Legacy" suffix.
- Adds the new pass manager pass CFIInstrInserterPass, using
  RequiredPassInfoMixin: the legacy pass's runOnMachineFunction never
  calls skipFunction, so it always runs unconditionally and should not
  be skippable in the new PM either. run() unconditionally returns
  PreservedAnalyses::all(), matching the legacy pass's own
  AU.setPreservesAll() declaration -- the same shape CFIFixupPass (an
  already-ported sibling CFI pass) already uses.
- Updates MachinePassRegistry.def, PassBuilder, and CodeGenPassBuilder.
- Wires the pass into X86's and RISC-V's newPM pipelines, matching
  their existing legacy-PM gating conditions:
  - X86 replaces an existing TODO inside an already-correct

    [13 lines not shown]
DeltaFile
+48-30llvm/lib/CodeGen/CFIInstrInserter.cpp
+25-0llvm/include/llvm/CodeGen/CFIInstrInserter.h
+7-1llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+2-4llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+4-0llvm/test/CodeGen/RISCV/cfi-multiple-locations.mir
+1-1llvm/include/llvm/InitializePasses.h
+87-3612 files not shown
+107-3818 files

LLVM/project de73682llvm/lib/Target/RISCV RISCVCodeGenPassBuilder.cpp, llvm/lib/Target/X86 X86CodeGenPassBuilder.cpp

Fix missing CFIInstrInserter.h include after CRTP removal

050470e75fb6 ([CodeGen] Replace CodeGenPassBuilder CRTP with virtual
hooks) moved pass headers out of CodeGenPassBuilder.h and into the
specific translation units that actually call them. FuncletLayout.h's
include followed its call site (the generic base pipeline) into the
new lib/Passes/CodeGenPassBuilder.cpp correctly, and MachineCombiner.h
was already included directly in X86CodeGenPassBuilder.cpp, so neither
needed a fix. CFIInstrInserter.h fell through: it was only ever pulled
in transitively via CodeGenPassBuilder.h, so once that stopped
including pass headers, both X86CodeGenPassBuilder.cpp and
RISCVCodeGenPassBuilder.cpp were left calling CFIInstrInserterPass()
with no declaration in scope.

Assisted-by: Claude Sonnet 5
DeltaFile
+1-0llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
+1-0llvm/lib/Target/RISCV/RISCVCodeGenPassBuilder.cpp
+2-02 files

LLVM/project 5078d44llvm/lib/CodeGen CFIInstrInserter.cpp

Undo clang-format enthusiastic reformatting
DeltaFile
+1-2llvm/lib/CodeGen/CFIInstrInserter.cpp
+1-21 files

LLVM/project ba442e6llvm/include/llvm/CodeGen Passes.h, llvm/lib/CodeGen CFIInstrInserter.cpp

Add Legacy suffix go pass creation function.
DeltaFile
+1-1llvm/lib/Target/X86/X86TargetMachine.cpp
+1-1llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
+1-1llvm/lib/CodeGen/CFIInstrInserter.cpp
+1-1llvm/include/llvm/CodeGen/Passes.h
+4-44 files

LLVM/project 0cfbd42clang/lib/CIR/CodeGen CIRGenFixedPointBuilder.h CIRGenExprScalar.cpp, clang/test/CIR/CodeGen fixed-point-arith.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+323-569llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size.ll
+759-0clang/test/CIR/CodeGen/fixed-point-arith.cpp
+151-446llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-variable-size.ll
+168-261clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+398-0clang/lib/CIR/CodeGen/CIRGenFixedPointBuilder.h
+169-169clang/test/CIR/CodeGenOpenACC/combined-copy.c
+1,968-1,445168 files not shown
+6,291-3,544174 files

LLVM/project c769c56llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fadd.ll

Rebase, address comment

Created using spr 1.3.7
DeltaFile
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,252-3,311llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,533-2,603llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20,441-20,4684,507 files not shown
+199,348-138,8864,513 files

LLVM/project dc42e6fllvm/test/CodeGen/X86 expand-frem-no-libcall.ll, llvm/test/tools/llc module-triple-default.ll module-triple.ll

[llc] set canonical triple in module (#203725)

Prior to this change the effective triple for the TargetMachine and the
triple in the module were determined by different criteria and diverged
in some cases. This can create lots of issues in passes which check the
module triple.

TargetMachine:
1. -march
2. -mtriple
3. target triple in incoming module
4. default target triple

Module:
1. -mtriple
2. target triple in incoming module

Stamp the canonical target triple into the module so that this
divergence is no longer possible.
DeltaFile
+0-31llvm/test/CodeGen/X86/expand-frem-no-libcall.ll
+16-0llvm/test/tools/llc/module-triple.ll
+14-0llvm/test/tools/llc/module-triple-default.ll
+2-2llvm/tools/llc/llc.cpp
+32-334 files

Linux/linux 73cc4daarch/m68k/configs mac_defconfig hp300_defconfig

Merge tag 'm68k-for-v7.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k

Pull m68k updates from Geert Uytterhoeven:

 - Fix backtraces for non-running tasks

 - Fix deadlock in show_cons_active()

 - defconfig updates

* tag 'm68k-for-v7.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
  m68k: nfcon: Do not call console_is_registered() in nfcon_device()
  m68k: Fix backtraces for non-running tasks
  m68k: defconfig: Update defconfigs for v7.2-rc1
  m68k: amiga: Remove redundant amiga_reset() prototype
DeltaFile
+0-5arch/m68k/configs/mac_defconfig
+0-5arch/m68k/configs/hp300_defconfig
+0-5arch/m68k/configs/bvme6000_defconfig
+0-5arch/m68k/configs/atari_defconfig
+0-5arch/m68k/configs/apollo_defconfig
+0-5arch/m68k/configs/amiga_defconfig
+0-309 files not shown
+4-6615 files

LLVM/project 0597243llvm/lib/Target/SPIRV SPIRVSubtarget.h

[SPIRV] Cleanup includes in SPIRVSubtarget.h

This makes some cleanup for NewPM porting easier for RegBankSelect.
SPIRVSubtarget currently transitively depends in RegisterBankInfo.h from
RegBankSelect.h, which we want to remove. Also remove an unused include
while at it.

Reviewers: aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/217755
DeltaFile
+1-1llvm/lib/Target/SPIRV/SPIRVSubtarget.h
+1-11 files

Linux/linux caf325aarch/loongarch/include/asm ptrace.h pgtable.h, arch/loongarch/mm init.c

Merge tag 'loongarch-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson

Pull LoongArch updates from Huacai Chen:

 - Add DIRECT_MAP_PHYSMEM_END definition

 - Expand module virtual address space to 2GB

 - Use current_stack_pointer in current_pt_regs()

 - BPF JIT enhancements such as kptr_xchg and timed may_goto

 - Some bug fixes and other small changes

* tag 'loongarch-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson:
  selftests/bpf: Enable kptr_xchg_inline test on LoongArch
  LoongArch: BPF: Add arch_bpf_stack_walk() implementation
  LoongArch: BPF: Add timed may_goto implementation
  LoongArch: BPF: Resolve per-CPU addrs for internal-only MOV

    [14 lines not shown]
DeltaFile
+122-75arch/loongarch/net/bpf_jit.c
+47-0arch/loongarch/net/bpf_timed_may_goto.S
+25-0arch/loongarch/include/asm/inst.h
+14-3arch/loongarch/mm/init.c
+8-1arch/loongarch/include/asm/pgtable.h
+1-5arch/loongarch/include/asm/ptrace.h
+217-845 files not shown
+225-9211 files

LLVM/project e24bf1fllvm/lib/Target/RISCV RISCVInstrInfoXqci.td

[RISCV][NFC] Remove unneeded QC.SelectI<cc>I Patterns (#216837)

The `Select_GPR_Using_CC_GPR` patterns have complexity from 3 to 8,
depending on which exact pattern is being considered. The
`QCISELECTICCIPat` patterns have complexity 11, so would already be
preferred to those documented in the comment, so these additional
patterns with explicit zeroes are not required.
DeltaFile
+0-7llvm/lib/Target/RISCV/RISCVInstrInfoXqci.td
+0-71 files

LLVM/project 350f999libc/hdr/types CMakeLists.txt struct_sigevent.h, libc/include CMakeLists.txt signal.yaml

[libc] Add struct sigevent definition and proxy header. (#217699)

Definition follows the standard POSIX layout from:
https://man7.org/linux/man-pages/man3/sigevent.3type.html
DeltaFile
+33-0libc/include/llvm-libc-types/struct_sigevent.h
+27-0libc/hdr/types/struct_sigevent.h
+9-0libc/include/signal.yaml
+8-0libc/hdr/types/CMakeLists.txt
+6-0libc/include/llvm-libc-macros/linux/signal-macros.h
+1-0libc/include/CMakeLists.txt
+84-01 files not shown
+85-07 files

LLVM/project 9dc2b79lldb/include/lldb/Core Module.h, lldb/source/Core Module.cpp

[lldb] Don't overwrite a caller-supplied lookup name (#217491)

MakeLookupInfos takes a lookup_name_override so a caller can say exactly
which name to search the symbol and object files for. The LookupInfo
constructor then replaced it with the basename it got from the language
plugin, so the override was thrown away.

Assisted-by: claude
DeltaFile
+29-0lldb/unittests/Core/ModuleTest.cpp
+8-6lldb/source/Core/Module.cpp
+1-1lldb/include/lldb/Core/Module.h
+38-73 files

LLVM/project 3c3fbabflang/lib/Optimizer/HLFIR/Transforms ConvertToFIR.cpp

Factor out genAssignSimple vs genAssign selection into a lambda

The logic for choosing between genAssignSimple and genAssign was
duplicated in the allocatable and non-allocatable paths of
AssignOpConversion. Extract it into a genSimpleOrAssign lambda to
avoid code drift between the two paths.

This also fixes the allocatable path which was missing the
useFortranAssignOnly guard that the non-allocatable path had.

Co-Authored-By: Claude Opus 4 (1M context) <noreply at anthropic.com>
DeltaFile
+25-39flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
+25-391 files

LLVM/project 5d6859dclang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenFixedPointBuilder.h CIRGenExprScalar.cpp

[CIR] Implement fixed-point arithmetic lowering (#217710)

This should be the rest of the lowering for fixed point, so it removes
the `MissingFeatures` listing. It is a faithful re-implementation of
classic-lowering as best I can tell, except the create<COMPARE> ops are
combined.
DeltaFile
+759-0clang/test/CIR/CodeGen/fixed-point-arith.cpp
+168-261clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+398-0clang/lib/CIR/CodeGen/CIRGenFixedPointBuilder.h
+0-1clang/include/clang/CIR/MissingFeatures.h
+1,325-2624 files

LLVM/project d4bef00llvm/include/llvm/TargetParser AMDGPUTargetParser.h, llvm/lib/TargetParser AMDGPUTargetParser.cpp

AMDGPU: Deprecate getArchAttrAMDGCN

The legacy ArchFeatureKind bitfield returned by getArchAttrAMDGCN is being
replaced by getFeatureBitset (FEAT_* bits). All in-tree callers have been
migrated, so mark both overloads LLVM_DEPRECATED to steer out of tree code
to the bitset API before the accessor is removed.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+4-0llvm/include/llvm/TargetParser/AMDGPUTargetParser.h
+2-1llvm/lib/TargetParser/AMDGPUTargetParser.cpp
+6-12 files

NetBSD/src 8CkZDmTtests/sbin/resize_ffs common.sh

   Missed updating the cleanup function for some tests
   after last - fix.
VersionDeltaFile
1.20+2-1tests/sbin/resize_ffs/common.sh
+2-11 files

LLVM/project 0c46727llvm/test/CodeGen/AMDGPU buffer-fat-pointer-atomicrmw-fmin.ll buffer-fat-pointer-atomicrmw-fadd.ll

Merge remote-tracking branch 'origin/main' into vplan-based-stride-mv-rt-guard
DeltaFile
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll
+3,815-3,810llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll
+3,513-3,467llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll
+3,252-3,311llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
+2,533-2,603llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fmin.ll
+20,441-20,4683,799 files not shown
+164,252-126,0073,805 files

NetBSD/pkgsrc ItstKhydoc CHANGES-2026

   doc: Updated www/resterm to 1.2.1
VersionDeltaFile
1.5423+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 2L9qIiOwww/resterm go-modules.mk Makefile

   resterm: Update to 1.2.1

   Fixed
   Recover from a broken environment file
   Environment edits now take effect
VersionDeltaFile
1.30+3-3www/resterm/distinfo
1.33+1-1www/resterm/Makefile
1.21+0-0www/resterm/go-modules.mk
+4-43 files