LLVM/project 9e3819dclang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp, clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowExtractor.cpp

[SSAF] Increase Expr kind coverage in EntityPointerLevelTranslator

Add support for more kinds of Expr that can be translated to
EntityPointerLevel(s).

Additionally, fix bugs in PointerFlowExtractor discovered by tests
added for the new Expr kinds.
DeltaFile
+114-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+101-8clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+67-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowTest.cpp
+9-6clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+291-144 files

LLVM/project 34e25e7clang/lib/CIR/Dialect/Transforms FlattenCFG.cpp, clang/test/CIR/CodeGen cleanup-scope-goto-within.cpp

[CIR] Allow local goto within cleanup regions (#197539)

Until now, CIR's FlattenCFG pass reported an NYI error any time a goto
operation was found within a cleanup scope region. This change loosens
that restriction to allow goto operations that transfer to another block
within the same cleanup region. This case doesn't require any change in
the cleanup scope flattening. It just has to be detected and ignored.
The goto will be lowered as it is when no cleanup scope is present.

We are still reporting an NYI error in cases where a goto operation
branches out of the cleanup scope. That will be implemented in a
follow-up change.

Assisted-by: Cursor / claude-opus-4.7-thinking-xhigh
DeltaFile
+166-0clang/test/CIR/CodeGen/cleanup-scope-goto-within.cpp
+110-0clang/test/CIR/Transforms/flatten-cleanup-scope-simple.cir
+50-14clang/lib/CIR/Dialect/Transforms/FlattenCFG.cpp
+6-4clang/test/CIR/Transforms/flatten-cleanup-scope-nyi.cir
+332-184 files

LLVM/project 6872c74mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp, mlir/test/Target/LLVMIR openmp-simd-linear.mlir

Fix regressions in OpenMP V&V and Fujitsu testsuites

The users iterator apparently becomes invalid after one of its uses is
replaced. Fix this by making a copy of the list of users.
DeltaFile
+52-4mlir/test/Target/LLVMIR/openmp-simd-linear.mlir
+2-1mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+54-52 files

LLVM/project 8be54bfflang/lib/Lower/OpenMP DataSharingProcessor.cpp, flang/test/Lower/OpenMP composite_simd_linear.f90 distribute-parallel-do-simd.f90

Reland "[flang][OpenMP] Fix lowering of LINEAR iteration variables (#188851)"

Linear iteration variables were being treated as private. This fixes
one of the issues reported in #170784.

The regressions in the OpenMP V&V and Fujitsu testsuites happened
because the users iterator was apparently becoming invalid, after one of
its uses was replaced. This was fixed by making a copy of the list of
users.
DeltaFile
+47-17mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+22-17flang/test/Lower/OpenMP/composite_simd_linear.f90
+34-0mlir/test/Target/LLVMIR/openmp-simd-linear.mlir
+12-13flang/test/Lower/OpenMP/distribute-parallel-do-simd.f90
+8-5flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
+5-5flang/test/Lower/OpenMP/loop-pointer-variable.f90
+128-575 files not shown
+144-7011 files

FreeNAS/freenas abbfe6csrc/middlewared_docs generate_docs.py, src/middlewared_docs/docs index.rst

draft
DeltaFile
+259-4src/middlewared_docs/generate_docs.py
+1-0src/middlewared_docs/docs/index.rst
+260-42 files

LLVM/project fee14fellvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[VPlan] Simplify and strengthen Replicate::execute (NFC) (#196055)
DeltaFile
+13-45llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+13-451 files

LLVM/project 0fc922fflang/include/flang/Optimizer/Support InternalNames.h, flang/lib/Optimizer/Support InternalNames.cpp

[flang] Exclude procedure scope variables in isModuleScopeDataUniquedName  (#192999)

In particular, for saved local such as `x` in the sample below,
isModuleScopeDataUniquedName should return false.
```
module m
contains
    subroutine foo()
      integer, save :: x ! <-- SAVE
    end subroutine
end
```
DeltaFile
+18-3flang/unittests/Optimizer/InternalNamesTest.cpp
+4-1flang/lib/Optimizer/Support/InternalNames.cpp
+3-1flang/include/flang/Optimizer/Support/InternalNames.h
+25-53 files

FreeBSD/ports c874bb8www/fmd-server distinfo Makefile

www/fmd-server: update to 0.15.0

Release notes: https://gitlab.com/fmd-foss/fmd-server/-/releases/v0.15.0
DeltaFile
+89-89www/fmd-server/distinfo
+4-3www/fmd-server/Makefile
+93-922 files

NetBSD/pkgsrc-wip 64568ccspirv-tools PLIST Makefile, spirv-tools/patches patch-source_opt_decoration__manager.cpp

Import parallel/spirv-tools
DeltaFile
+46-0spirv-tools/PLIST
+32-0spirv-tools/Makefile
+24-0spirv-tools/buildlink3.mk
+17-0spirv-tools/patches/patch-source_opt_decoration__manager.cpp
+9-0spirv-tools/DESCR
+6-0spirv-tools/distinfo
+134-01 files not shown
+135-07 files

FreeNAS/freenas 73b3351tests/api2 test_container.py

Fix tests
DeltaFile
+95-41tests/api2/test_container.py
+95-411 files

LLVM/project 77e4b82clang/include/clang/CIR/Dialect/Transforms CIRTransformUtils.h, clang/lib/CIR/Dialect/Transforms CXXABILowering.cpp CIRTransformUtils.cpp

[CIR] Make collectUnreachable more robust (#197334)

The CXXABILowering and LowerToLLVM passes both use a
`collectUnreachable` function to find unreachable blocks and add them to
a SmallVector that will be passed to `applyPartialConversion` to avoid
leaving unconverted operations in the dead blocks. We can't simply call
`eraseUnreachableBlocks` because we don't yet protect indirect branch
and goto targets from being erased.

Application testing revealed that our `collectUnreachable` function was
missing blocks in SCCs, because they were connected to each other. This
change revises `collectUnreachable` to instead build a list of reachable
blocks and then walk all blocks to find the ones that aren't in the
reachable list (which is what `eraseUnreachableBlocks` does).

Assisted-by: Cursor / claude-opus-4.7-thinking-xhigh
DeltaFile
+2-66clang/lib/CIR/Dialect/Transforms/CXXABILowering.cpp
+2-65clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+44-0clang/include/clang/CIR/Dialect/Transforms/CIRTransformUtils.h
+36-1clang/lib/CIR/Dialect/Transforms/CIRTransformUtils.cpp
+0-35clang/lib/CIR/Dialect/Transforms/CIRTransformUtils.h
+34-0clang/test/CIR/CodeGen/unreachable-cycle.c
+118-1673 files not shown
+121-1699 files

NetBSD/pkgsrc-wip 13e01fb. Makefile, spirv-headers PLIST Makefile

Import parallel/spirv-headers
DeltaFile
+81-0spirv-headers/PLIST
+22-0spirv-headers/Makefile
+13-0spirv-headers/buildlink3.mk
+8-0spirv-headers/DESCR
+5-0spirv-headers/distinfo
+1-0Makefile
+130-06 files

FreeBSD/ports f545ab2devel/R-cran-roxygen2 distinfo Makefile

devel/R-cran-roxygen2: Update to 7.3.3

ChangeLog:      https://github.com/r-lib/roxygen2/releases/tag/v7.3.3
PR:             294421
DeltaFile
+3-3devel/R-cran-roxygen2/distinfo
+1-1devel/R-cran-roxygen2/Makefile
+4-42 files

LLVM/project 1ca8b60clang/lib/Sema SemaChecking.cpp, clang/test/SemaCXX attr-lifetime-capture-by.cpp

[LifetimeSafety] Fix a crash on calling a function with `lifetime_capture_by` with an invalid parameter (#197517)

On creating the attribute, all of the parameters are in an invalid
state. If later not replaced (with a valid argument, such as `global`,
`this`, or any variable), the code will iterate over what it assumes are
completely valid arguments.

With this PR we just skip the argument handling for the invalid ones.

Fixes #197508
DeltaFile
+2-0clang/lib/Sema/SemaChecking.cpp
+2-0clang/test/SemaCXX/attr-lifetime-capture-by.cpp
+4-02 files

NetBSD/pkgsrc-wip 19b4b30vulkan-tools Makefile distinfo, vulkan-tools/patches patch-cube_cube.cpp patch-cube_cube.c

Import graphics/vulkan-tools
DeltaFile
+53-0vulkan-tools/patches/patch-cube_cube.cpp
+53-0vulkan-tools/patches/patch-cube_cube.c
+22-0vulkan-tools/Makefile
+7-0vulkan-tools/distinfo
+4-0vulkan-tools/PLIST
+2-0vulkan-tools/DESCR
+141-01 files not shown
+142-07 files

LLVM/project 5e6484aclang/lib/Analysis/LifetimeSafety Checker.cpp, clang/test/Sema warn-lifetime-safety-lifetimebound.cpp

[LifetimeSafety] Fix a crash in lifetimbound verification on assignment methods  (#197551)

The problem was that `implicitObjectParamIsLifetimeBound` could also
return true if the function we are analyzing is an assignment operator
with a few conditions.

https://github.com/llvm/llvm-project/blob/67284454ae951d1c9702f0ac784447eede59386d/clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp#L33-L49

Since there would be nowhere to extract the attribute from nonetheless,
I think we should ignore that check.
DeltaFile
+14-1clang/test/Sema/warn-lifetime-safety-lifetimebound.cpp
+1-1clang/lib/Analysis/LifetimeSafety/Checker.cpp
+15-22 files

NetBSD/pkgsrc-wip fae6673. Makefile, vulkan-loader Makefile buildlink3.mk

Import graphics/vulkan-loader
DeltaFile
+38-0vulkan-loader/Makefile
+16-0vulkan-loader/buildlink3.mk
+8-0vulkan-loader/PLIST
+5-0vulkan-loader/distinfo
+1-0vulkan-loader/DESCR
+1-0Makefile
+69-06 files

NetBSD/pkgsrc-wip cc007ffvulkan-headers PLIST Makefile

Import graphics/vulkan-headers
DeltaFile
+67-0vulkan-headers/PLIST
+29-0vulkan-headers/Makefile
+22-0vulkan-headers/buildlink3.mk
+14-0vulkan-headers/Makefile.common
+5-0vulkan-headers/distinfo
+1-0vulkan-headers/DESCR
+138-01 files not shown
+139-07 files

NetBSD/pkgsrc-wip 4402580. Makefile, glslang PLIST Makefile

Import graphics/glslang
DeltaFile
+27-0glslang/PLIST
+20-0glslang/Makefile
+13-0glslang/buildlink3.mk
+12-0glslang/DESCR
+5-0glslang/distinfo
+1-0Makefile
+78-06 files

LLVM/project 65f8a7cclang-tools-extra/clang-doc BitcodeReader.cpp Serialize.cpp, clang-tools-extra/unittests/clang-doc SerializeTest.cpp MergeTest.cpp

Reapply "[clang-doc] Move Info types into arenas (#190054)" (#192495)

This base patch was reverted to unbreak darwin-x86 bots. This version
of the patch avoids allocating any Info types locally and copying them 
into the arenas after. It also uses a dedicated InfoNode<T> to manage
data separately from the lists, since the list nodes themselves were
being corrupted. The perf numbers below are not quite accurate anymore,
but are in the same ballpark.

Co-authored-by: Erick Velez <erickvelez7 at gmail.com>

---
Original PR text:

Info types used to own significant chunks of data. As we move these into
local arenas, these types must be trivially destructible, to avoid
leaking resources when the arena is reset. Unfortunately, there isn't a
good way to transition all the data types one at a time, since most of
them are tied together in some way. Further, as they're now allocated in

    [66 lines not shown]
DeltaFile
+469-190clang-tools-extra/clang-doc/BitcodeReader.cpp
+278-191clang-tools-extra/unittests/clang-doc/SerializeTest.cpp
+237-131clang-tools-extra/unittests/clang-doc/MergeTest.cpp
+196-141clang-tools-extra/clang-doc/Serialize.cpp
+186-116clang-tools-extra/clang-doc/Representation.h
+176-80clang-tools-extra/unittests/clang-doc/ClangDocTest.cpp
+1,542-84915 files not shown
+2,087-1,12621 files

LLVM/project c0110aaclang/lib/Sema SemaDeclCXX.cpp, clang/test/AST ast-dump-invalid.cpp

[clang] fix crash on alias templates with extraneous template parameter lists (#197542)

Recovers by picking a non-empty template parameter list as the current
list.

This fixes a regression introduced by #195303, which has never been
released, so there are no release notes.

Fixes #197398
DeltaFile
+10-1clang/lib/Sema/SemaDeclCXX.cpp
+7-0clang/test/SemaTemplate/alias-templates.cpp
+1-1clang/test/AST/ast-dump-invalid.cpp
+18-23 files

LLVM/project 9b5c3afllvm/lib/Transforms/Vectorize VPlanRecipes.cpp

[VPlan] Remove unneeded setDebugLoc in ::execute (NFC) (#197552)

The debug location is set before each recipe's ::execute is called.
Remove unneeded setDebugLoc in executes.
DeltaFile
+0-2llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+0-21 files

LLVM/project 31ad6c3llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCExpr.cpp AMDGPUMCCodeEmitter.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Fix forced lit64 encoding on lit() modifier

We were forcing lit64 encoding on a 64-bit operand with lit()
modifier. This is not required, not compatible with SP3, and
in the pathalogical case creates invalid 4 dword encoding if
used with a VOP3* instruction.

That said if lit() is used the immediate is silently truncated
even before the encoding, so the encoder only sees 32-bits of
relevant data and 32-bits of zeroes anyway. That is a separate
issue, but we never had a true 64-bit constant really properly
encoded with lit() modifier, only with lit64().
DeltaFile
+76-10llvm/test/MC/AMDGPU/literals.s
+7-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
+2-1llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
+2-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
+1-1llvm/test/MC/Disassembler/AMDGPU/literals.txt
+88-125 files

LLVM/project bae6c2ellvm/test/Transforms/LoopVectorize epilog-iv-select-cmp.ll, llvm/test/Transforms/LoopVectorize/AArch64 epilogue-vectorization-fix-scalar-resume-values.ll

[LV] Add extra tests for epilogue vectorization. (NFC) (#197283)

Add additional tests with dead main epilogue loops and various
interesting combinations: SCEV and memory runtime checks, various
reductions etc.
DeltaFile
+452-159llvm/test/Transforms/LoopVectorize/epilog-iv-select-cmp.ll
+266-1llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
+718-1602 files

OpenBSD/ports 5CnTRxCmail/mew distinfo Makefile, mail/mew/pkg PLIST

   Update to Mew-6.11

   https://github.com/kazu-yamamoto/Mew/blob/v6.11/RELEASENOTE.md
VersionDeltaFile
1.10+5-4mail/mew/pkg/PLIST
1.10+2-2mail/mew/distinfo
1.31+1-1mail/mew/Makefile
+8-73 files

LLVM/project 3b6b150llvm/docs/TableGen ProgRef.rst, llvm/test/TableGen sort.td

rebase

Created using spr 1.3.7
DeltaFile
+5-4llvm/test/TableGen/sort.td
+2-0llvm/docs/TableGen/ProgRef.rst
+7-42 files

LLVM/project 1fe76c8llvm/docs/TableGen ProgRef.rst, llvm/test/TableGen sort.td

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+5-4llvm/test/TableGen/sort.td
+2-0llvm/docs/TableGen/ProgRef.rst
+7-42 files

LLVM/project 6aca4cdllvm/docs/TableGen ProgRef.rst, llvm/test/TableGen sort.td

review comments, give rst a code block

Created using spr 1.3.7
DeltaFile
+5-4llvm/test/TableGen/sort.td
+2-0llvm/docs/TableGen/ProgRef.rst
+7-42 files

LLVM/project e343e09flang-rt/lib/cuda memory.cpp, flang-rt/unittests/Runtime/CUDA Memory.cpp

[flang][cuda] Optimize CUDA descriptor transfers for regular strided layouts (#197532)

Add a conservative cudaMemcpy2D fast path for descriptor-to-descriptor
CUDA transfers when both descriptors have equal element counts and
regular positive-stride layouts. This speeds up cases such as
component-section transfers while preserving the existing runtime Assign
fallback for unsupported layouts, and adds CUDA runtime coverage for
strided host/device descriptor copies.
DeltaFile
+103-0flang-rt/lib/cuda/memory.cpp
+58-0flang-rt/unittests/Runtime/CUDA/Memory.cpp
+161-02 files

FreeBSD/src 96f262dtests/sys/arch/amd64 ptrace-sce-tamper.c Makefile

tests/sys/arch/amd64: Add a basic ptrace syscall tampering test

Signed-off-by: Alex S <iwtcex at gmail.com>
Reviewed-by: kib
Pull-request: https://github.com/freebsd/freebsd-src/pull/2190
DeltaFile
+89-0tests/sys/arch/amd64/ptrace-sce-tamper.c
+1-0tests/sys/arch/amd64/Makefile
+90-02 files