LLVM/project e0e7544flang/include/flang/Optimizer/Transforms AllocationPlacementPolicy.h Passes.td, flang/lib/Optimizer/Transforms AllocationPlacement.cpp

[flang] Add policy-driven allocation-placement pass

Introduce a new function-level pass, allocation-placement, that unifies the
stack/heap placement decisions currently split between the stack-arrays and
memory-allocation-opt passes. For each array allocation it consults a policy
to decide whether it should live on the stack (fir.alloca) or the heap
(fir.allocmem) and rewrites it accordingly, reusing fir::replaceAllocas for
stack-to-heap and the StackArrays analysis/rewrite for heap-to-stack (so
heap-to-stack only happens where it is provably safe).

The default policy (AllocationPlacementPolicy.h) is threshold-driven:
  - small constant-size arrays go on the stack within a per-function stack
    budget, otherwise on the heap;
  - big constant-size arrays: user variables stay on the stack, temporaries
    go on the heap;
  - runtime-sized arrays go on the heap;
  - an aggressive mode places all arrays on the stack (best effort).
User variables are distinguished from compiler temporaries via the presence
of a uniqued name. A hook lets downstream users override the thresholds per

    [4 lines not shown]
DeltaFile
+320-0flang/lib/Optimizer/Transforms/AllocationPlacement.cpp
+90-0flang/include/flang/Optimizer/Transforms/AllocationPlacementPolicy.h
+84-0flang/test/Transforms/allocation-placement.fir
+29-0flang/test/Transforms/allocation-placement-budget.fir
+26-0flang/include/flang/Optimizer/Transforms/Passes.td
+24-0flang/test/Transforms/allocation-placement-stack-arrays-mode.fir
+573-02 files not shown
+582-08 files

LLVM/project d0c5d3allvm/docs LangRef.rst, llvm/lib/Support UnicodeNameToCodepointGenerated.cpp

Merge branch 'main' into users/el-ev/_itaniumdemangle_fix_template_args_subst
DeltaFile
+31,001-87,165llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+44,115-42,997llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+35,948-24,498llvm/test/CodeGen/RISCV/clmul.ll
+24,053-23,916llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+15,519-26,130llvm/test/CodeGen/RISCV/rvv/clmul-sdnode.ll
+0-32,838llvm/docs/LangRef.rst
+150,636-237,54428,192 files not shown
+2,257,422-1,370,48428,198 files

LLVM/project 69f1460llvm/lib/Target/AMDGPU GCNVOPDUtils.cpp VOP3PInstructions.td, llvm/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp

AMDGPU: Reland: Codegen for v_dual_dot2acc_f32_f16/bf16 from VOP3

For V_DOT2_F32_F16 and V_DOT2_F32_BF16 add their VOPDName and mark
them with usesCustomInserter which will be used to add pre-RA register
allocation hints to preferably assign dst and src2 to the same physical
register. When the hint is satisfied, canMapVOP3PToVOPD recognises the
instruction as eligible for VOPD pairing by checking if it is VOP2 like:
dst==src2, no source modifiers, no clamp, and src1 is a register.
Mark both instructions as commutable to allow a literal in src1 to be
moved to src0, since VOPD only permits a literal in src0.

Original patch had a bug where it did not check if physical src
registers match register class of appropriate operand in fullVOPD
instructions, check is now done via isValidVOPDSrc.
DeltaFile
+442-520llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll
+163-69llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.f32.bf16.ll
+34-1llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+8-5llvm/lib/Target/AMDGPU/VOP3PInstructions.td
+8-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+6-0llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
+661-5951 files not shown
+663-5977 files

LLVM/project 5e8646allvm/lib/Target/AMDGPU GCNVOPDUtils.cpp

AMDGPU: Validate VOPD/VOPD3 physical source registers against operand RC

Replace isVGPR checks with isValidVOPDSrc that validates physical source
registers against the actual combined VOPD/VOPD3 instruction's operand
register classes. Now we also validate operands for VOPD instructions.
DeltaFile
+47-7llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+47-71 files

LLVM/project b2d3db9llvm/lib/Analysis ScalarEvolution.cpp, llvm/test/Analysis/Delinearization multidim_pointer_addrspace.ll

[SCEV] Derive element size from the access's own pointer address space (#209824)

ScalarEvolution::getElementSize always derived the element-size SCEV
using a generic address-space-0 pointer index type. On targets whose
data layout uses different pointer index widths per address space (for
example, where some address spaces use 32-bit pointers and others
64-bit), a load/store through a narrow address space produced an access
function SCEV of one width but an element-size SCEV of another.

Delinearization then called SCEVDivision::divide with numerator and
denominator of mismatched types, tripping the assertion added in
a9d295d615a8 once the implicit sign-extension was removed in
23a32bcedb91.

Derive the index type from the memory access's actual pointer operand
address space so the element-size SCEV matches the width of the access
function's SCEV.
DeltaFile
+62-0llvm/test/Analysis/Delinearization/multidim_pointer_addrspace.ll
+8-4llvm/lib/Analysis/ScalarEvolution.cpp
+70-42 files

FreeBSD/ports 8c4bd1adevel/gcli Makefile, sysutils/nix Makefile

textproc/lowdown: update 3.0.1 -> 3.1.1
DeltaFile
+3-3textproc/lowdown/distinfo
+2-2textproc/lowdown/Makefile
+1-1sysutils/nix/Makefile
+1-1textproc/lowdown/pkg-plist
+1-0devel/gcli/Makefile
+8-75 files

FreeBSD/ports f7fb33bports-mgmt/pkg Makefile, ports-mgmt/pkg/files patch-fix-wal-detection-as-nobody

ports-mgmt/pkg: fix a regression in db access

Reported by:    vvd
DeltaFile
+76-0ports-mgmt/pkg/files/patch-fix-wal-detection-as-nobody
+1-0ports-mgmt/pkg/Makefile
+77-02 files

FreeBSD/ports 587b444shells/zsh distinfo pkg-plist

shells/zsh: update to 5.9.2
DeltaFile
+5-5shells/zsh/distinfo
+3-0shells/zsh/pkg-plist
+1-1shells/zsh/Makefile
+9-63 files

FreeBSD/ports eda811emisc/ollama distinfo Makefile

misc/ollama: update 0.32.0 → 0.32.1
DeltaFile
+15-15misc/ollama/distinfo
+1-1misc/ollama/Makefile
+16-162 files

FreeBSD/ports 55cf7ea. MOVED, misc Makefile

misc/py-fastavro: Remove duplicate in favor of textproc/py-fastavro

Reported by:    Antoine Brodin <antoine at FreeBSD.org>
DeltaFile
+0-20misc/py-fastavro/Makefile
+3-2misc/py-cohere/Makefile
+0-4misc/py-fastavro/pkg-descr
+0-3misc/py-fastavro/distinfo
+0-1misc/Makefile
+1-0MOVED
+4-306 files

LLVM/project 7bbed79flang/include/flang/Optimizer/Dialect FIROps.td, flang/lib/Optimizer/Dialect FIROps.cpp

[flang] Fold reads of fir.create_box components (#210388)

Fold fir.box_addr and constant-dimension fir.box_dims of a descriptor
built by fir.create_box back to the operands that built it, so the
create_box can die when nothing consumes it as a real descriptor.
fir.array_coor is intentionally not folded through create_box, since
that would drop its explicit byte strides.

Assisted-by: Cursor
DeltaFile
+60-0flang/test/Fir/box-dims-folding.fir
+50-0flang/lib/Optimizer/Dialect/FIROps.cpp
+37-0flang/test/Fir/boxaddr-folding.fir
+15-0flang/test/Fir/array-coor-canonicalization.fir
+2-0flang/include/flang/Optimizer/Dialect/FIROps.td
+164-05 files

LLVM/project d47b11cllvm/lib/Target/AMDGPU GCNVOPDUtils.cpp

AMDGPU: Refactor checkVOPDRegConstraints
DeltaFile
+28-41llvm/lib/Target/AMDGPU/GCNVOPDUtils.cpp
+28-411 files

LLVM/project 2549a2clibsycl CMakeLists.txt

[libsycl][NFC] Move the cmake msvc DLL check (#193485)

Addresses a review comment from
https://github.com/llvm/llvm-project/pull/188770
DeltaFile
+6-4libsycl/CMakeLists.txt
+6-41 files

LLVM/project 4c5b4f4libsycl/test lit.cfg.py, libsycl/test/basic platform_get_devices.cpp

[libsycl][E2E] Compile all E2E tests with -fsycl (#204115)
DeltaFile
+0-14libsycl/test/lit.cfg.py
+1-1libsycl/test/usm/alloc_functions.cpp
+1-1libsycl/test/basic/platform_get_devices.cpp
+2-163 files

NetBSD/src HUqfI31sys/arch/sun68k/sun68k pmap_sunmmu.c

   Fix pmap_kcore_hdr() for the Sun2 case.
VersionDeltaFile
1.4+10-4sys/arch/sun68k/sun68k/pmap_sunmmu.c
+10-41 files

FreeBSD/ports 18bc64cwww/evcc distinfo Makefile

www/evcc: update to 0.312.1

Changes:        https://github.com/evcc-io/evcc/releases
DeltaFile
+7-7www/evcc/distinfo
+2-2www/evcc/Makefile
+9-92 files

LLVM/project 6f744fbutils/bazel/llvm-project-overlay/clang BUILD.bazel

[Bazel] Fixes 2a33792 (#210726)

This fixes 2a33792a2ec1a980259bd9388834e3c1fa53af3d.

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=2a33792a2ec1a980259bd9388834e3c1fa53af3d

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+10-0utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+10-01 files

NetBSD/pkgsrc-wip 11592ffrust-beta distinfo, rust-beta/patches patch-src_bootstrap_Cargo.toml

rust-beta: Treat linker-warnings as such

Fixes bootstap.
DeltaFile
+18-0rust-beta/patches/patch-src_bootstrap_Cargo.toml
+1-0rust-beta/distinfo
+19-02 files

NetBSD/pkgsrc ZSBrgytdoc CHANGES-2026

   doc: Updated www/chromium to 150.0.7871.128
VersionDeltaFile
1.4612+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc 8SxCyIEmk compiler.mk

   mk: stop passing relro linker flags to compiler

   The relro flags are added to LDFLAGS, and that should be sufficient.
   Packages not honoring LDFLAGS need to be fixed anyway, and clang
   complains about the flags on the compiler command line.
VersionDeltaFile
1.116+1-5mk/compiler.mk
+1-51 files

NetBSD/src HwX7mqYsys/arch/sun68k/sun68k pmap_sunmmu.c

   On second thought, don't use __mc68010__ throughout as a proxy for
   "is a Sun-2"; it's too easy to glance-misread #ifdef vs #ifndef.
   Instead, define IS_SUN2 and IS_SUN3 macros that statically evaluate
   to the right thing and use them throughout.
VersionDeltaFile
1.3+58-50sys/arch/sun68k/sun68k/pmap_sunmmu.c
+58-501 files

LLVM/project 6998fd5llvm/lib/Target/AMDGPU AMDGPUTargetTransformInfo.cpp, llvm/test/Transforms/Inline/AMDGPU inline-max-bb-debug.ll

[AMDGPU] Print max-BB inline rejections
DeltaFile
+34-0llvm/test/Transforms/Inline/AMDGPU/inline-max-bb-debug.ll
+8-1llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+42-12 files

LLVM/project 1ed1ca5llvm/include/llvm/Transforms/Scalar GVN.h, llvm/lib/Transforms/Scalar GVN.cpp

Re-commit: [GVN] Remove the "private" `llvm::gvn` namespace (NFC) (#210712)

Re-commit of https://github.com/llvm/llvm-project/pull/210323 after
adding
a forward declaration for GVNLegacyPass class to work around GCC
compilation
failure.

Move `AvailableValue` and `AvailableValueInBlock` into GVNPass, similar
to other helper types.
  
Retain `llvm::gvn::GVNLegacyPass` as just `llvm::GVNLegacyPass` -
"legacy" is already a sufficent hint and it is not going to become more
"private" by stacking "gvn" prefixes to the name.

Ideally, `GVNLegacyPass` should be defined in an anonymous namespace,
but
that is not possible because it is declared as a friend of GVNPass.
DeltaFile
+7-13llvm/include/llvm/Transforms/Scalar/GVN.h
+6-4llvm/lib/Transforms/Scalar/GVN.cpp
+13-172 files

LLVM/project bb5c8d5llvm/docs LangRef.md

[LangRef] Add immarg attributes to memcpy, memset, memmove isvolatile args (#210669)
DeltaFile
+10-10llvm/docs/LangRef.md
+10-101 files

LLVM/project b16c5f7llvm/lib/Target/NVPTX NVPTXProxyRegErasure.cpp, llvm/test/CodeGen/NVPTX proxy-reg-erasure-kill-flag.mir proxy-reg-erasure.mir

[NVPTX] Clear unsafe kill flags in NVPTXProxyRegErasure (#198143)

Fixes #198142

After replacing regsiter, stale `killed` flags my leave on non-terminal
uses, breaking liveness and triggering MachineVerifier errors.
    
Fix this by conservatively dropping the `killed` flag on `ToReg`.
DeltaFile
+18-0llvm/test/CodeGen/NVPTX/proxy-reg-erasure-kill-flag.mir
+6-11llvm/lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
+2-2llvm/test/CodeGen/NVPTX/proxy-reg-erasure.mir
+26-133 files

FreeNAS/freenas 0c9fbdfsrc/middlewared/middlewared/plugins/container lifecycle.py crud.py, src/middlewared/middlewared/plugins/vm lifecycle.py crud.py

Accept a pydantic model or dict in pylibvirt_vm/pylibvirt_container

## Context
Every lifecycle and delete caller had to hand-dump its model before calling these helpers, and for VMs that dump had to pass `expose_secrets=True` or the display device's `Secret` password would be silently redacted and a broken domain shipped. Leaking that invariant to each call site was repetitive and easy to get wrong.

## Solution
`pylibvirt_vm` and `pylibvirt_container` now accept either a pydantic model or a dict and do the `model_dump` internally — VMs with `expose_secrets=True`, containers with a plain dump. Callers pass the model directly, so the secret-exposure rule lives in one place. The state-gathering factories in `extend_context_sync` keep passing their raw pre-extend rows through the dict branch, since no full model exists yet at that point.
DeltaFile
+18-8src/middlewared/middlewared/plugins/vm/lifecycle.py
+10-5src/middlewared/middlewared/plugins/container/lifecycle.py
+1-1src/middlewared/middlewared/plugins/vm/crud.py
+1-1src/middlewared/middlewared/plugins/container/crud.py
+30-154 files

LLVM/project 35aa7b5clang/docs ReleaseNotes.md, clang/lib/Sema SemaDecl.cpp SemaTemplate.cpp

Ensure that we properly propagate template decl attributes to redecls (#209873)

Variable and class templates weren't forwarding their declaration
attributes that were attached directly to them (at the moment, the only
one I could find that had this issue is the no_specialization attr). The
result was that intermediate redeclarations would prevent the
diagnostics from happening.

This patch ensures we propagate them properly for variable and class
templates. It seems our function templates already do the right thing.

Fixes: #209812
DeltaFile
+22-0clang/test/SemaCXX/attr-no-specializations.cpp
+4-0clang/lib/Sema/SemaDecl.cpp
+3-1clang/lib/Sema/SemaTemplate.cpp
+2-0clang/docs/ReleaseNotes.md
+2-0clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
+33-15 files

OpenBSD/ports ftf1xQwwww/qobuz-dl distinfo Makefile

   www/qobuz-dl: update to 2.3.1
VersionDeltaFile
1.5+2-2www/qobuz-dl/distinfo
1.7+1-1www/qobuz-dl/Makefile
+3-32 files

LLVM/project e16e607llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Use m_scev_AffineAddRec in get{Zero,Sign}ExtendExprImpl (NFC) (#210082)

It's a small win in number of lines, and reduces the nesting level a
bit.

Suggested in https://github.com/llvm/llvm-project/pull/208805

PR: https://github.com/llvm/llvm-project/pull/210082
DeltaFile
+230-237llvm/lib/Analysis/ScalarEvolution.cpp
+230-2371 files

LLVM/project 6386094llvm/include/llvm/Support SourceMgr.h, llvm/lib/MC/MCParser AsmParser.cpp MasmParser.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1-arichardson
DeltaFile
+19-0llvm/test/MC/AsmParser/macro-like-diagnostic.s
+12-0llvm/lib/Support/SourceMgr.cpp
+12-0llvm/test/tools/llvm-ml/macro_diagnostic.asm
+2-6llvm/lib/MC/MCParser/AsmParser.cpp
+2-6llvm/lib/MC/MCParser/MasmParser.cpp
+5-0llvm/include/llvm/Support/SourceMgr.h
+52-126 files