LLVM/project 00b6557 — clang/include/clang/StaticAnalyzer/Core/PathSensitive AnalysisManager.h CheckerHelpers.h, clang/lib/StaticAnalyzer/Core ProgramState.cpp DynamicType.cpp

[analyzer][NFC] Use LLVM range helpers in a few Core loops (#246897)

Replace hand-written loops with the equivalent LLVM range helpers
(llvm::any_of, llvm::copy_if, llvm::make_second_range, llvm::interleave)
in:

  - CheckerHelpers.h: containsStmt<T> uses llvm::any_of.
  - CheckerHelpers.cpp: containsMacro/containsEnum/containsStaticLocal/
containsBuiltinOffsetOf share one TU-local anyChild(S, Pred) helper for
the null-child check; tryExpandAsInteger uses llvm::copy_if.
  - AnalysisManager.h: isInCodeFile.
  - ProgramState.cpp: ~ProgramStateManager.
  - DynamicType.cpp: printJsonContainer.

Assisted-by: Claude Code
DeltaFile
+17-23clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
+5-5clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
+7-3clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
+0-2clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
+1-0clang/lib/StaticAnalyzer/Core/ProgramState.cpp
+1-0clang/lib/StaticAnalyzer/Core/DynamicType.cpp
+31-336 files

LLVM/project 09dcf10 — llvm/lib/Transforms/Vectorize LoopVectorizationPlanner.h LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/X86 epilogue-vectorization-interleave-gap-divergence.ll

[LV] Use epilogue plan's scalar-epilogue requirement in iter check (#246041)

Split the Plan argument of addMinimumIterationCheck into Plan, indicates
insertion site for the check, and GuardedPlan, indicates the plan
containing the guarded vector loop. Compute the min-iteration check
using GuardedPlan's scalar epilogue requirement and tail-folding state
instead of Plan's.

Fixes #245054
Split from #213904

Co-authored-by: Florian Hahn <flo at fhahn.com>
DeltaFile
+8-14llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+5-8llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+1-1llvm/test/Transforms/LoopVectorize/X86/epilogue-vectorization-interleave-gap-divergence.ll
+14-233 files

LLVM/project 2cc8377 — llvm/lib/Transforms/Utils BasicBlockUtils.cpp

[BasicBlockUtils] Remove unused IncomingValues variable (NFC) (#247174)
DeltaFile
+1-7llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
+1-71 files

FreeNAS/freenas 2b5c254 —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeBSD/ports 76f59f6 — mail/stalwart Makefile pkg-descr, mail/stalwart/files pkg-message.in

mail/stalwart: Update 1.2.1 => 1.2.2

- Follow the upstream product name: Stalwart Mail and Collaboration
  Server.
- Add the 1.2.2 upgrade notes for the spam filter rules and SMTP relay
  authentication.

Changelog:
https://github.com/stalwartlabs/stalwart/releases/tag/v1.2.2

PR:     301282
DeltaFile
+83-39mail/stalwart/distinfo
+41-19mail/stalwart/Makefile.crates
+9-1mail/stalwart/files/pkg-message.in
+2-3mail/stalwart/Makefile
+3-2mail/stalwart/pkg-descr
+138-645 files

LLVM/project 64362a1 — offload/test/offloading task_detach.c, openmp/device/include DeviceTypes.h Interface.h

[OpenMP] Minimally support detachable tasks in the device runtime

The device runtime has no __kmpc_task_allow_completion_event or
omp_fulfill_event, so a task with a detach clause in a target region
fails to link.

Tasks on the device are executed immediately by the encountering thread
and are complete once their structured block has finished, so there is
no completion event to register. Return a null event handle, and make
omp_fulfill_event do nothing.

Co-Authored-By: Carlo Bertolli <carlo.bertolli at amd.com>
Co-Authored-By: Greg Rodgers <Gregory.Rodgers at amd.com>
Assisted-By: Claude
DeltaFile
+37-0offload/test/offloading/task_detach.c
+13-0openmp/device/src/Tasking.cpp
+5-0openmp/device/include/Interface.h
+2-0openmp/device/include/DeviceTypes.h
+57-04 files

LLVM/project 2f35cbf — clang/lib/CodeGen CGStmtOpenMP.cpp, clang/test/OpenMP task_privates_map_addrspace.c

[Clang][OpenMP] Cast task privates-map arguments to the default address space (#245784)

The privates mapping function of a task takes its arguments as pointers in the default address space, but the temporaries whose addresses are passed to it are allocas, which need not be in that address space: they are in address space 5 on AMDGPU, and in address space 0 on SPIR-V, whose default address space is the generic one (4). Since #200427 those addresses have been passed without a cast, so the call's function type does not match the callee's. A task with a firstprivate (or private, or lastprivate) variable in a target region then faults when run on an affected device.

The fix is to cast the arguments to the default address space at each of the call sites. This is a no-op on targets whose allocas are already in the default address space, such as x86 and NVPTX.

New tests cover compile-time and runtime behaviour.

Assisted-By: Claude
DeltaFile
+83-0offload/test/offloading/target_task_privates.c
+41-0clang/test/OpenMP/task_privates_map_addrspace.c
+18-10clang/lib/CodeGen/CGStmtOpenMP.cpp
+142-103 files

LLVM/project 74f6843 — llvm/lib/Target/LoongArch LoongArchCodeGenPassBuilder.cpp LoongArchPassRegistry.def, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port AsmPrinter

Standard NewPM pass porting.

Reviewers: SixWeining, heiher

Pull Request: https://github.com/llvm/llvm-project/pull/245366
DeltaFile
+31-0llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
+19-0llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
+8-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+4-3llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+6-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+68-35 files

LLVM/project 71a62d7 — llvm/lib/Target/LoongArch LoongArchPassRegistry.def LoongArchTargetMachine.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port LateBranchOpt

Standard NewPM pass porting.

Reviewers: SixWeining, heiher

Pull Request: https://github.com/llvm/llvm-project/pull/245353
DeltaFile
+30-21llvm/lib/Target/LoongArch/LoongArchLateBranchOpt.cpp
+10-2llvm/lib/Target/LoongArch/LoongArch.h
+9-0llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+2-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+1-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+54-256 files

LLVM/project 8c0cb42 — clang/lib/StaticAnalyzer/Checkers AnalyzerStatsChecker.cpp StdLibraryFunctionsChecker.cpp, clang/lib/StaticAnalyzer/Core DynamicType.cpp LoopUnrolling.cpp

[analyzer][NFC] Use more llvm ranges algorithms (#246880)

FYI `llvm::append_range()` does a `reserve` inside if the range supports `size()`.

Assisted-By: Claude Code
DeltaFile
+9-14clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+10-13clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
+8-8clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
+6-9clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
+3-10clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp
+4-8clang/lib/StaticAnalyzer/Core/DynamicType.cpp
+40-629 files not shown
+71-10515 files

NetBSD/pkgsrc-wip f52578e — dma TODO

dma: Add upstream SunOS comments to TODO.
DeltaFile
+9-0dma/TODO
+9-01 files

LLVM/project cf7148c — llvm/lib/Target/LoongArch LoongArchPassRegistry.def LoongArchTargetMachine.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port MemoryBarrierOpt

Standard NewPM pass porting.

Reviewers: heiher, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/245351
DeltaFile
+59-47llvm/lib/Target/LoongArch/LoongArchMemoryBarrierOpt.cpp
+10-2llvm/lib/Target/LoongArch/LoongArch.h
+2-3llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+2-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+1-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+76-546 files

LLVM/project 157c604 — llvm/lib/Target/LoongArch LoongArchPassRegistry.def LoongArchCodeGenPassBuilder.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port ExpandPseudo

Standard NewPM pass porting.

Reviewers: heiher, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/245314
DeltaFile
+78-75llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
+10-2llvm/lib/Target/LoongArch/LoongArch.h
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+1-1llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+2-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+1-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+94-806 files

LLVM/project cdca3ee — llvm/lib/Target/LoongArch LoongArchCodeGenPassBuilder.cpp LoongArchPassRegistry.def, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port ExpandAtomicPseudo

Standard NewPM pass porting.

Reviewers: SixWeining, heiher

Pull Request: https://github.com/llvm/llvm-project/pull/245274
DeltaFile
+140-136llvm/lib/Target/LoongArch/LoongArchExpandAtomicPseudoInsts.cpp
+10-2llvm/lib/Target/LoongArch/LoongArch.h
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+1-1llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+2-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+2-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+157-1416 files

LLVM/project 225c582 — llvm/lib/Target/LoongArch LoongArchPassRegistry.def LoongArchTargetMachine.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port DeadRegisterDefinitions

Standard NewPM pass porting.

Reviewers: heiher, SixWeining, wangleiat

Pull Request: https://github.com/llvm/llvm-project/pull/245270
DeltaFile
+34-13llvm/lib/Target/LoongArch/LoongArchDeadRegisterDefinitions.cpp
+9-2llvm/lib/Target/LoongArch/LoongArch.h
+4-6llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+3-3llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+2-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+1-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+53-246 files

LLVM/project a7f3bee — llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp

[AArch64] Prefer line aligned unrolled size for Apple (#243211)

This is effectively a NFC and is mostly placed as a defensive measure
against future changes. It does not change any end result of BestUC thus
cannot be easily tested e2e. If we change MaxUC for example we may end
up preferring unaligned settings.
DeltaFile
+2-1llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+2-11 files

LLVM/project ab21136 — llvm/lib/Target/LoongArch LoongArchPassRegistry.def LoongArchTargetMachine.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port MergeBaseOffset to NewPM

Standard NewPM pass porting.

Reviewers: SixWeining, heiher

Pull Request: https://github.com/llvm/llvm-project/pull/245253
DeltaFile
+62-71llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
+14-2llvm/lib/Target/LoongArch/LoongArch.h
+2-3llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+2-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+1-0llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+83-786 files

NetBSD/pkgsrc jNhLUp7 — devel/p5-File-Util-SecureDir PLIST

   p5-File-Util-SecureDir: remove unused file
VersionDeltaFile
1.2+1-1devel/p5-File-Util-SecureDir/PLIST
+1-11 files

OPNSense/core 1e5c01c — src/etc rc.routing_configure, src/etc/inc legacy_bindings.inc filter.inc

firewall: finish up the gaps in #10684

The gateway status is read inside the monitor hooks by external
scripts as well as the state kill t the end and should have also
been used in the filter reload.  We should also refrain from state
kills if the rules don't reload.

The solution is to move the status to a temporary file and export
an environment variable so that subsequent reads for the status
all get the same information.  This way we can fix user scripts
without touching them.

While the side effect is not ideal it's narrowly scoped and easily
traceable.
DeltaFile
+15-14src/etc/rc.routing_configure
+13-14src/etc/inc/filter.inc
+5-1src/etc/inc/legacy_bindings.inc
+33-293 files

LLVM/project 8cd8543 — llvm/lib/Target/LoongArch LoongArchTargetMachine.cpp LoongArch.h, llvm/test/CodeGen/LoongArch expand-call.ll mir-relax-flags.ll

[LoongArch] Port PreRAExpandPseudoInstPass

Standard NewPM pass porting.

Also rename the pass loongarch-pre-ra-expand-pseudo to be more
consistent with other backends.

Reviewers: wangleiat, heiher, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/245242
DeltaFile
+188-207llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
+6-6llvm/test/CodeGen/LoongArch/mir-target-flags.ll
+10-2llvm/lib/Target/LoongArch/LoongArch.h
+4-4llvm/test/CodeGen/LoongArch/mir-relax-flags.ll
+2-2llvm/test/CodeGen/LoongArch/expand-call.ll
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+212-2234 files not shown
+218-22510 files

NetBSD/pkgsrc-wip 53816eb — . Makefile, tofu-ls PLIST DESCR

wip: Remove tofu-ls

Imported in pkgsrc as devel/tofu-ls.
DeltaFile
+0-3,020tofu-ls/distinfo
+0-1,007tofu-ls/go-modules.mk
+0-16tofu-ls/Makefile
+0-2tofu-ls/PLIST
+0-2tofu-ls/DESCR
+0-1Makefile
+0-4,0486 files

LLVM/project ecc95df — llvm/include/llvm/Analysis Loads.h, llvm/lib/Analysis Loads.cpp

[InstCombine] Make a helper for accessing global elements (NFC) (#242822)

Currently there are at least two folds/passes that read elements of a
constant global:

- instcombine's `foldCmpLoadFromIndexedGlobal`
- jump-table-to-switch (JTTS), when reading the functions from a jump
table

and a third one is being written for simplifycfg in PR #229035.

The code to do that is not trivial, especially in its most general form.
The two implementation above currently have different limitations, and
PR #229035 has yet another buggy and limited implementation of it.

This PR adds a helper class `ConstGlobalLoad` that analyzes a load from
a global and allows indexing the accessed elements. Current
implementation is a copy of the instcombine's: that's the most general
version we have today (though even that has limitations, e.g. it gives

    [6 lines not shown]
DeltaFile
+13-77llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+85-0llvm/lib/Analysis/Loads.cpp
+64-0llvm/include/llvm/Analysis/Loads.h
+26-0llvm/test/Transforms/InstCombine/load-cmp-verify-fixpoint.ll
+188-774 files

LLVM/project 484552a — libcxx/include list deque, libcxx/include/__iterator repeat_iterator.h

[libc++] Add __repeat_iterator and use it in the sequence containers (#240378)

`__repeat_iterator` repeats a value N times. This can be used to
implement e.g. `insert(const_iterator, size_type, const_reference)`.
DeltaFile
+5-171libcxx/include/deque
+123-0libcxx/include/__iterator/repeat_iterator.h
+15-67libcxx/include/__vector/vector.h
+4-31libcxx/include/list
+13-0libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_iter_size_value.pass.cpp
+0-12libcxx/include/__memory/uninitialized_algorithms.h
+160-2813 files not shown
+174-2819 files

LLVM/project a4e1334 — llvm/lib/Target/LoongArch LoongArchPassRegistry.def LoongArchTargetMachine.cpp, llvm/test/CodeGen/LoongArch newpm-pipeline.ll

[LoongArch] Port OptWInstrs to NewPM

Standard NewPM pass porting.

Reviewers: heiher, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/244973
DeltaFile
+37-32llvm/lib/Target/LoongArch/LoongArchOptWInstrs.cpp
+14-2llvm/lib/Target/LoongArch/LoongArch.h
+2-3llvm/lib/Target/LoongArch/LoongArchCodeGenPassBuilder.cpp
+2-2llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
+2-1llvm/test/CodeGen/LoongArch/newpm-pipeline.ll
+1-0llvm/lib/Target/LoongArch/LoongArchPassRegistry.def
+58-406 files

LLVM/project 1ba0cca — llvm/test/CodeGen/AMDGPU srem.ll load-global-i8.ll, llvm/test/CodeGen/ARM constant-islands-convergence.mir

Merge branch 'main' into users/zGoldthorpe/licm-bug/take-tag-subset
DeltaFile
+4,870-4,906llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll
+3,141-3,182llvm/test/CodeGen/RISCV/clmul.ll
+2,602-2,926llvm/test/CodeGen/X86/vector-compress.ll
+0-5,394llvm/test/CodeGen/AMDGPU/load-global-i8.ll
+0-5,274llvm/test/CodeGen/AMDGPU/srem.ll
+4,635-0llvm/test/CodeGen/ARM/constant-islands-convergence.mir
+15,248-21,6827,268 files not shown
+335,941-266,0897,274 files

LLVM/project 0849a6c — clang/test/CodeGenHLSL vk-builtin-point-size-pixel-input.hlsl vk-builtin-point-size-pixel-input-spirv-errors.hlsl, clang/test/SemaHLSL vk-builtin-point-size-stages.hlsl

[VK][HLSL][SPIRV] Accept vk::builtin("PointSize") on pixel shader inputs (#243513)

Clang rejects `[[vk::builtin("PointSize")]]` on a pixel shader input
with `'PointSize' builtin cannot be used as pixel shader inputs`.

HLSL shaders often reuse the vertex shader's output struct as the pixel
shader's input, to avoid declaring a second struct. The pixel shader
then inherits the attribute and fails to compile, although it does not
use `PointSize`. I found this in Vulkan-Samples `compute_nbody`
([particle.frag.hlsl](https://github.com/KhronosGroup/Vulkan-Samples/blob/main/shaders/compute_nbody/hlsl/particle.frag.hlsl)).

Vulkan does not allow `BuiltIn PointSize` in the `Fragment` execution
model
([VUID-PointSize-PointSize-04314](https://docs.vulkan.org/refpages/latest/refpages/source/PointSize.html)).
A pixel shader that declares the input but does not use it breaks this
rule only if the module still references the input. Clang should accept
the declaration and report an error only when a pixel entry point still
accesses the input after optimization.


    [27 lines not shown]
DeltaFile
+113-0llvm/test/CodeGen/SPIRV/semantics/point-size.ll
+81-0clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv.hlsl
+60-0llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+57-0clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input-spirv-errors.hlsl
+29-0clang/test/CodeGenHLSL/vk-builtin-point-size-pixel-input.hlsl
+7-6clang/test/SemaHLSL/vk-builtin-point-size-stages.hlsl
+347-63 files not shown
+360-109 files

NetBSD/pkgsrc xNlJVvh — doc CHANGES-2026

   doc: Added devel/tofu-ls version 0.5.3
VersionDeltaFile
1.8568+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc EDQtr3J — devel Makefile

   devel: Add tofu-ls
VersionDeltaFile
1.4745+2-1devel/Makefile
+2-11 files

NetBSD/pkgsrc c4EASZn — devel/tofu-ls PLIST DESCR

   tofu-ls: Import tofu-ls-0.5.3

   The official OpenTofu language server (tofu-ls) maintained by the
   OpenTofu Core Team provides IDE features to any LSP-compatible editor.

   Packaged in pkgsrc-wip by myself.
VersionDeltaFile
1.1+3,020-0devel/tofu-ls/distinfo
1.1+1,007-0devel/tofu-ls/go-modules.mk
1.1+16-0devel/tofu-ls/Makefile
1.1+2-0devel/tofu-ls/PLIST
1.1+2-0devel/tofu-ls/DESCR
+4,047-05 files

LLVM/project 93c67d6 — clang/lib/CodeGen CGOpenMPRuntime.cpp, clang/test/OpenMP GH136294.c

[Clang][OpenMP] Allow a pointer base in non-contiguous target update descriptors (#246794)

After #244591 a `target update` of a section of a pointer to a variable
length array, such as devito's `int (*u)[x][y][z]` with
`u[0:t][0:x][0:y][0:z]`, goes through the non-contiguous descriptor
path. The descriptor code asserted that every dimension but the
innermost is based on an array type, which a pointer-to-array base is
not.

The outermost dimension never needs a size, so the assertion now accepts
a pointer base there. Builds without assertions already produced the
correct descriptor.
DeltaFile
+40-0clang/test/OpenMP/GH136294.c
+5-4clang/lib/CodeGen/CGOpenMPRuntime.cpp
+45-42 files