LLVM/project 9b45aa1 — clang/lib/Sema SemaLifetimeSafety.h

[clang] Migrate away from PointerUnion::dyn_cast (NFC) (#228991)

Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:

    // FIXME: Replace the uses of is(), get() and dyn_cast() with
    //        isa<T>, cast<T> and the llvm::dyn_cast<T>

Literal migration would result in dyn_cast_if_present (see the
definition of PointerUnion::dyn_cast), but this patch uses dyn_cast.
Note that Target here traces back to AnnotationWarningsMap, which is
populated only with nonnull pointers.

Assisted-by: Antigravity
DeltaFile
+2-2clang/lib/Sema/SemaLifetimeSafety.h
+2-21 files

FreeBSD/ports 7554bfa — net/haproxy28 Makefile distinfo

net/haproxy28: update to version 2.8.30
DeltaFile
+3-3net/haproxy28/distinfo
+1-1net/haproxy28/Makefile
+4-42 files

FreeBSD/ports 9b3a031 — net/haproxy32 Makefile distinfo

net/haproxy32: update to version 3.2.25.
DeltaFile
+3-3net/haproxy32/distinfo
+1-1net/haproxy32/Makefile
+4-42 files

FreeBSD/ports 0e1085e — net/haproxy30 Makefile distinfo

net/haproxy30: update to version 3.0.29.
DeltaFile
+3-3net/haproxy30/distinfo
+1-1net/haproxy30/Makefile
+4-42 files

LLVM/project f96d2e8 — mlir/lib/Dialect/X86/Transforms VectorContractToAMXDotProduct.cpp, mlir/test/Dialect/X86/AMX vector-contract-to-tiled-dp.mlir

[mlir][x86] Bail out gracefully if accumulator is initialized from block arg (#228080)

`traceToVectorReadLikeParentOperation` may return `nullptr`, so defer
further checks until we know that a suitable op was found.
DeltaFile
+48-0mlir/test/Dialect/X86/AMX/vector-contract-to-tiled-dp.mlir
+3-3mlir/lib/Dialect/X86/Transforms/VectorContractToAMXDotProduct.cpp
+51-32 files

LLVM/project 8ddf7e4 — clang/lib/CIR/CodeGen CIRGenExprConstant.cpp CIRGenExpr.cpp, clang/test/CIR/CodeGenCUDA kernel-address.cu

[CIR][HIP] Use the kernel handle as a kernel's address on the host (#228377)

For HIP, a __global__ function referenced from host code is represented
by its kernel handle. CIR used the address of the device stub instead,
so APIs that take a kernel pointer failed.

Match classic codegen:
- emitFunctionDeclLValue gives the address of the kernel handle.
- Constant initializers, such as tables of kernel pointers, refer to the
kernel handle.
- A launch through a kernel pointer (f<<<...>>>) loads the device stub
from the handle and calls it.

CUDA has no separate kernel handle, instead the address of a kernel is
the device stub. The new test covers both HIP and CUDA.

Assisted-by: Claude Opus 5.5

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
DeltaFile
+75-0clang/test/CIR/CodeGenCUDA/kernel-address.cu
+38-3clang/lib/CIR/CodeGen/CIRGenExpr.cpp
+10-2clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+123-53 files

LLVM/project 6773e9a — clang/docs LanguageExtensions.md, clang/include/clang/Basic DiagnosticSemaKinds.td

[Clang][AIX] Diagnose inline variables named in -mloadtime-comment-vars
DeltaFile
+33-25clang/test/CodeGen/PowerPC/loadtime-comment-vars-modules.cpp
+20-21clang/docs/LanguageExtensions.md
+5-10clang/test/CodeGen/PowerPC/loadtime-comment-vars.cpp
+9-3clang/test/Sema/loadtime-comment-vars.cpp
+6-0clang/lib/Sema/SemaDecl.cpp
+1-0clang/include/clang/Basic/DiagnosticSemaKinds.td
+74-596 files

FreeBSD/ports 1fcb3da — editors/openoffice-devel Makefile distinfo

editors/openoffice-devel: update to a new snapshot

Update openoffice-devel to a newer snapshot of the upstream trunk.
DeltaFile
+3-3editors/openoffice-devel/distinfo
+2-2editors/openoffice-devel/Makefile
+5-52 files

LLVM/project 451e086 — llvm/lib/CodeGen ExpandIRInsts.cpp, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[NFC][IR] Use getDataLayout member function for Instruction and BasicBlock (#228989)

Follow up on #96902: remove some uses of the old
`getModule()->getDataLayout()` pattern.

Related PR: #228964
DeltaFile
+11-11llvm/lib/Target/SPIRV/SPIRVLegalizePointerCast.cpp
+3-3llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+2-2llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
+2-2llvm/lib/Target/DirectX/DXILMemIntrinsics.cpp
+2-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-2llvm/lib/CodeGen/ExpandIRInsts.cpp
+21-225 files not shown
+26-2711 files

LLVM/project c30b45e — llvm/lib/CodeGen ShadowStackGCLowering.cpp, llvm/lib/CodeGen/AsmPrinter AsmPrinter.cpp

[NFC][IR] Use getDataLayout member function for Function and GlobalValue (#228964)

Follow up on #96919: remove some uses of the old
`getParent()->getDataLayout()` pattern.
DeltaFile
+2-2llvm/lib/Target/AArch64/SVEShuffleOpts.cpp
+2-2llvm/lib/CodeGen/ShadowStackGCLowering.cpp
+1-2llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+1-2llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+1-1llvm/lib/Transforms/Instrumentation/TypeSanitizer.cpp
+1-1llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+8-107 files not shown
+15-1713 files

LLVM/project 0098b5c — flang/lib/Lower Bridge.cpp, flang/test/Lower execute_region_wrap_locations.f90

[flang] Fix locations of wrapped unstructured constructs and DO loop ends (#228577)

Construct evaluations have no source position, so the scf.execute_region
wrapping an unstructured construct was given the location of the
previously lowered statement. Use the construct's first statement for
the region and its END statement for the scf.yield. Also attribute the
DO loop end code to the END DO statement rather than to the last
statement of the loop body.

This avoids going back to previous lines when stepping in a debugger.

Assisted-by: AI
DeltaFile
+119-0flang/test/Lower/execute_region_wrap_locations.f90
+27-3flang/lib/Lower/Bridge.cpp
+146-32 files

LLVM/project 933a9a8 — mlir/lib/Conversion/SCFToControlFlow SCFToControlFlow.cpp, mlir/test/Conversion/SCFToControlFlow execute-region-locations.mlir

[mlir][scf] Keep scf.yield locations when lowering scf.execute_region (#228575)

The branches replacing the scf.yield terminators of an
scf.execute_region used the location of the scf.execute_region. Use the
location of the scf.yield they replace instead.
DeltaFile
+23-0mlir/test/Conversion/SCFToControlFlow/execute-region-locations.mlir
+1-1mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
+24-12 files

FreeBSD/ports 82bd7f4 — net/haproxy Makefile distinfo

net/haproxy: update to version 3.4.6.
DeltaFile
+3-3net/haproxy/distinfo
+1-1net/haproxy/Makefile
+4-42 files

FreeBSD/ports 65ab5f6 — net/haproxy33 Makefile distinfo

net/haproxy33: update to version 3.3.16
DeltaFile
+3-3net/haproxy33/distinfo
+1-1net/haproxy33/Makefile
+4-42 files

NetBSD/pkgsrc-wip 16c4095 — py-mypy distinfo DESCR

py-mypy: remove, updated in pkgsrc
DeltaFile
+0-1,917py-mypy/PLIST
+0-45py-mypy/Makefile
+0-21py-mypy/buildlink3.mk
+0-5py-mypy/distinfo
+0-5py-mypy/DESCR
+0-5py-mypy/ALTERNATIVES
+0-1,9982 files not shown
+0-2,0028 files

NetBSD/pkgsrc KyGeI8m — lang/py-mypy distinfo Makefile, lang/py-mypy/patches patch-mypy_util.py

   py-mypy: update to 2.4.0.

   This release includes new features, performance improvements and bug fixes.

   Details at
   https://mypy-lang.blogspot.com/2026/10/mypy-24-released.html
VersionDeltaFile
1.48+17-1lang/py-mypy/PLIST
1.1+16-0lang/py-mypy/patches/patch-mypy_util.py
1.76+7-7lang/py-mypy/Makefile
1.70+5-4lang/py-mypy/distinfo
+45-124 files

LLVM/project aaa9228 — llvm/docs LangRef.md, llvm/lib/Transforms/Scalar TailRecursionElimination.cpp

[TailCallElim] Do not mark a call tail when it is handed the frame (#218797)

markTails refuses to mark a call tail if it is passed an alloca or a
byval
argument, but it missed the intrinsics that return an address in the
current
frame, such as llvm.frameaddress(0), llvm.localaddress and
llvm.stacksave. The
frame is torn down before a tail callee runs, so the callee received a
dangling
pointer. gcc.c-torture/execute/frame-address.c aborts because of this.

llvm.stackrestore is no longer treated as an escape, since it does not
capture
its argument. Otherwise calls after a VLA scope would lose their tail
marking.

LangRef now states that a tail callee may not access the caller's stack
frame.

    [3 lines not shown]
DeltaFile
+154-0llvm/test/Transforms/TailCallElim/frame-address.ll
+43-14llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
+47-0llvm/test/Transforms/TailCallElim/stackrestore.ll
+16-3llvm/docs/LangRef.md
+260-174 files

LLVM/project 9d6091d — llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/PhaseOrdering/X86 vector-reduction-of-scalar-parts.ll

[VectorCombine] Fold insertelement chains of scalar parts to a bitcast and shuffle (#226224)

An insertelement chain whose elements are all truncated parts of the
same scalar is lowered element by element, unless InstCombine can turn
an in-order pair of halves into a bitcast (`foldTruncInsEltPair`). The
SLP vectorizer produces such chains for the fields of a struct that SROA
loaded as one integer, e.g. when summing two float fields in a loop:

```llvm
%hi = lshr i64 %x, 32
%h = trunc i64 %hi to i32
%l = trunc i64 %x to i32
%v0 = insertelement <2 x i32> poison, i32 %h, i64 0
%v1 = insertelement <2 x i32> %v0, i32 %l, i64 1
```

which X86 lowers to shrq + vmovd + vpinsrd. If TTI says it is cheaper,
replace the chain by a shuffle of the bitcast scalar:


    [27 lines not shown]
DeltaFile
+515-0llvm/test/Transforms/VectorCombine/X86/insert-scalar-parts.ll
+141-0llvm/test/Transforms/VectorCombine/AArch64/insert-scalar-parts.ll
+115-0llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+75-0llvm/test/Transforms/PhaseOrdering/X86/vector-reduction-of-scalar-parts.ll
+846-04 files

NetBSD/pkgsrc XSeRI0H — doc CHANGES-2026

   Updated www/py-scrapy, misc/py-platformdirs
VersionDeltaFile
1.6691+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc 69JCWmg — misc/py-platformdirs Makefile distinfo

   py-platformdirs: updated to 4.12.3

   4.12.3
   Place root config and data files in the first site directory
VersionDeltaFile
1.54+4-4misc/py-platformdirs/distinfo
1.55+2-2misc/py-platformdirs/Makefile
+6-62 files

NetBSD/pkgsrc INR1BN5 — textproc/py-sphinxcontrib-programoutput2 Makefile

   py-sphinxcontrib-programoutput2: add tool so that previous commit works
VersionDeltaFile
1.4+2-1textproc/py-sphinxcontrib-programoutput2/Makefile
+2-11 files

LLVM/project 32e2c07 — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-flat-arg-kernel-id.ll

[AMDGPU][SwLowerLDS] Lower non-kernels with LDS instructions and assign kernel IDs to their callers
DeltaFile
+122-84llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+152-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-arg-kernel-id.ll
+274-842 files

NetBSD/pkgsrc hW3s402 — www/py-scrapy Makefile distinfo

   py-scrapy: updated to 2.19.0

   Scrapy 2.19.0 (2026-09-10)

   Highlights:

   -   New ``RemoteControl`` extension which allows inspecting and controlling a
       running crawl over HTTP, used by the :ref:`Scrapy MCP server
       <using-mcp-server>`

   -   Experimental ``aiohttp``-based download handler (now the default when
       running without a reactor)

   Modified requirements

   -   Added support for Python 3.15.
   -   New dependencies:

       - aiohttp_ >= 3.13.3

    [215 lines not shown]
VersionDeltaFile
1.20+10-1www/py-scrapy/PLIST
1.33+4-4www/py-scrapy/distinfo
1.44+5-2www/py-scrapy/Makefile
+19-73 files

LLVM/project 7e727ff — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-flat-to-lds-cast-roundtrip.ll amdgpu-sw-lower-lds-flat-to-lds-cast.ll

[AMDGPU][SwLowerLDS] Rebase flat to LDS addrspacecasts to buffer offsets
DeltaFile
+117-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast.ll
+87-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast-roundtrip.ll
+33-5llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+237-53 files

LLVM/project e86a148 — llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-flat-to-lds-cast.ll amdgpu-sw-lower-lds-flat-to-lds-cast-roundtrip.ll

use ptrtoaddr
DeltaFile
+127-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast-vector.ll
+5-5llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+2-2llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast.ll
+2-2llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-flat-to-lds-cast-roundtrip.ll
+136-94 files

LLVM/project c77c788 — llvm/lib/Target/X86 X86SelectionDAGInfo.cpp X86ISelLowering.cpp

[X86] Don't pass SAE operand to some nodes. (#228938)

Fixes verification failure in X86SelectionDAGInfo::verifyTargetNode
(#185649)
DeltaFile
+0-6llvm/lib/Target/X86/X86SelectionDAGInfo.cpp
+3-3llvm/lib/Target/X86/X86ISelLowering.cpp
+3-92 files

LLVM/project 2448bcd — clang/lib/CIR/CodeGen CIRGenVTables.cpp, clang/test/CIR/CodeGenCUDA vtable-host-device.cu

[CIR][CUDA][HIP] Exclude wrong-side virtual functions from vtables (#228433)

OGCG builds the vtables of a CUDA/HIP compilation for the side being
compiled, that is a slot whose virtual function cannot be emitted on
that side is null.

Port both parts of CodeGenVTables::addVTableComponent to
CIRGenVTables::getVTableComponent. As in OGCG, a null slot that holds a
thunk still advances the thunk index, so later thunks keep their slots.

Assisted-by: Claude Opus 5.5

Signed-off-by: Steffen Holst Larsen <sholstla at amd.com>
DeltaFile
+81-0clang/test/CIR/CodeGenCUDA/vtable-host-device.cu
+40-4clang/lib/CIR/CodeGen/CIRGenVTables.cpp
+121-42 files

NetBSD/src DscebMh — sys/arch/m68k/include pte_coldfire.h, sys/arch/mips/include pte.h

   pte_prot_downgrade: sprinkle KASSERTs

   Simplify the risc-v version while I'm here.
VersionDeltaFile
1.22+4-3sys/arch/riscv/include/pte.h
1.16+3-1sys/arch/powerpc/include/booke/pte.h
1.32+3-1sys/arch/mips/include/pte.h
1.5+3-1sys/arch/m68k/include/pte_coldfire.h
+13-64 files

LLVM/project 9dd6a72 — llvm/lib/Target/AMDGPU SIShrinkInstructions.cpp, llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll shrink-disjoint-or-scc.mir

Address review feedback:
1. Use allImplicitDefsAreDead() helper to check whether SCC is dead
2. Simplify .ll test case
3. Add a new .mir test case
DeltaFile
+35-0llvm/test/CodeGen/AMDGPU/shrink-disjoint-or-scc.mir
+6-8llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+1-2llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+42-103 files

LLVM/project 10415c9 — llvm/test/CodeGen/AMDGPU s_or_b32_transformation.ll

Precommit test case for s_or incorrectly transformed to s_addk when SCC is live
DeltaFile
+28-0llvm/test/CodeGen/AMDGPU/s_or_b32_transformation.ll
+28-01 files