LLVM/project 3bf9639llvm/lib/Transforms/Vectorize VPlanRecipes.cpp VPlanConstruction.cpp

Revert "[VPlan] Handle calls in VPInstruction:opcodeMayReadOrWriteFromMemory." (#191851)

Reverts llvm/llvm-project#190681 due to buildbot breakage
(https://github.com/llvm/llvm-project/pull/190681#issuecomment-4234999482).
DeltaFile
+8-25llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+2-4llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+10-292 files

LLVM/project e287045mlir/lib/Dialect/Shard/Transforms Partition.cpp, mlir/test/Dialect/Shard resharding-partition.mlir

[MLIR][Shard] Fix three bugs in ND mesh resharding in Partition pass (#189241)

A new MoveLastSplitAxisPattern class handles the case where the last
grid axis of one tensor dimension is moved to the front of another
tensor dimension's split axes, e.g. [[0, 1], [2]] -> [[0], [1, 2]].

The three bugs fixed are:

1. detectMoveLastSplitAxisInResharding: compared source.back() with
target.back() instead of target.front(), preventing the pattern from
being detected for resharding like [[0,1],[2]] -> [[0],[1,2]].

2. targetShardingInMoveLastAxis: axes were appended with push_back but
should be inserted at the front, producing wrong split_axes order.

3. handlePartialAxesDuringResharding: a copy_if wrote results into the
wrong output variable (addressed structurally by the clean
implementation).


    [2 lines not shown]
DeltaFile
+138-12mlir/lib/Dialect/Shard/Transforms/Partition.cpp
+58-1mlir/test/Dialect/Shard/resharding-partition.mlir
+196-132 files

LLVM/project c8688a9flang/test/Lower/Intrinsics system_clock.f90 transfer.f90

[flang][NFC] Converted five tests from old lowering to new lowering (part 42) (#191751)

Tests converted from test/Lower/Intrinsics: storage_size.f90, sum.f90,
system_clock.f90, trailz.f90, transfer.f90
DeltaFile
+85-112flang/test/Lower/Intrinsics/system_clock.f90
+26-92flang/test/Lower/Intrinsics/transfer.f90
+36-59flang/test/Lower/Intrinsics/sum.f90
+29-52flang/test/Lower/Intrinsics/storage_size.f90
+40-31flang/test/Lower/Intrinsics/trailz.f90
+216-3465 files

LLVM/project 2f51a16llvm/lib/Target/Hexagon HexagonISelLoweringHVX.cpp, llvm/test/CodeGen/Hexagon hvx-concat-scalar-preds.ll

[Hexagon] Fix inner CONCAT_VECTORS type in combineConcatOfScalarPreds (#191756)

The inner CONCAT_VECTORS result type was hardcoded to MVT::v8i1, which
is only correct when BitBytes == 1. Otherwise, the inner concat produces
fewer elements than 8, causing an assertion failure:

Assertion `(Ops[0].getValueType().getVectorElementCount() * Ops.size())
  == VT.getVectorElementCount() && "Incorrect element count in vector
  concatenation!"' failed.

Fix by computing the inner vector type dynamically based on BitBytes.
DeltaFile
+58-0llvm/test/CodeGen/Hexagon/hvx-concat-scalar-preds.ll
+2-1llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
+60-12 files

FreeBSD/ports b3bab81sysutils/cbsd pkg-plist distinfo

sysutils/cbsd: Update to 15.0.6
DeltaFile
+120-81sysutils/cbsd/pkg-plist
+3-3sysutils/cbsd/distinfo
+1-1sysutils/cbsd/Makefile
+124-853 files

LLVM/project 11bc5e0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp

Update clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
DeltaFile
+1-4clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+1-41 files

NetBSD/pkgsrc-wip 8dda887wlroots PLIST Makefile, wlroots/patches patch-render_allocator_allocator.c patch-xcursor_xcursor.c

wlroots: remove, imported to pkgsrc
DeltaFile
+0-122wlroots/PLIST
+0-59wlroots/patches/patch-render_allocator_allocator.c
+0-54wlroots/Makefile
+0-37wlroots/buildlink3.mk
+0-22wlroots/TODO
+0-20wlroots/patches/patch-xcursor_xcursor.c
+0-3148 files not shown
+0-40714 files

NetBSD/pkgsrc-wip f69c793. Makefile, xwayland Makefile buildlink3.mk

xwayland: remove, imported to pkgsrc
DeltaFile
+0-57xwayland/Makefile
+0-13xwayland/buildlink3.mk
+0-8xwayland/DESCR
+0-5xwayland/PLIST
+0-5xwayland/distinfo
+0-1Makefile
+0-896 files

NetBSD/pkgsrc-wip 164d905x11-links/files openwin xorg

x11-links: remove, changes imported to pkgsrc
DeltaFile
+0-1,022x11-links/files/openwin
+0-744x11-links/files/xorg
+0-643x11-links/files/xfree
+0-560x11-links/files/xsgi
+0-435x11-links/files/xdec
+0-343x11-links/files/xorg.libxcb
+0-3,747108 files not shown
+0-6,322114 files

FreeBSD/src 8b8ae24stand defs.mk

stand: Force disable RETPOLINE for boot loaders

Boot loaders do not require speculative execution protection, and may be
too large if enabled.

Reported by:    Shawn Webb
Reviewed by:    dim, imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56068

(cherry picked from commit 61f78130c2f3a6abaa70bd66d6d6974060fb3d04)
DeltaFile
+1-0stand/defs.mk
+1-01 files

HardenedBSD/src 8b8ae24stand defs.mk

stand: Force disable RETPOLINE for boot loaders

Boot loaders do not require speculative execution protection, and may be
too large if enabled.

Reported by:    Shawn Webb
Reviewed by:    dim, imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56068

(cherry picked from commit 61f78130c2f3a6abaa70bd66d6d6974060fb3d04)
DeltaFile
+1-0stand/defs.mk
+1-01 files

FreeBSD/src dc61491lib/msun/man fmax.3

fmax.3: Add caveat for going beyond C std requirements

libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:             294214
Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230

(cherry picked from commit 7764e9ca28a9702aed4ba7391e055ec2fcf35c41)
(cherry picked from commit 855507463e0d3903d31aa7c084efbf4f819b5d63)
DeltaFile
+8-5lib/msun/man/fmax.3
+8-51 files

LLVM/project 379043bclang/include/clang/APINotes Types.h, clang/include/clang/AST TypeBase.h

Convert uses of std::optional<NullabilityKind> to OptionalUnsigned
DeltaFile
+18-32clang/include/clang/APINotes/Types.h
+3-5clang/lib/Sema/SemaExprObjC.cpp
+4-4clang/lib/APINotes/APINotesTypes.cpp
+3-4clang/lib/AST/Type.cpp
+3-3clang/include/clang/AST/TypeBase.h
+2-2clang/lib/Sema/Sema.cpp
+33-504 files not shown
+39-5310 files

LLVM/project 25c025dclang/include/clang/AST Decl.h TemplateName.h, clang/include/clang/Basic OptionalUnsigned.h UnsignedOrNone.h

[clang] NFC: Refactor UnsignedOrNone into OptionalUnsigned<T>

Also adds support for enums.
DeltaFile
+81-0clang/include/clang/Basic/OptionalUnsigned.h
+0-53clang/include/clang/Basic/UnsignedOrNone.h
+1-1clang/include/clang/AST/Decl.h
+1-1clang/include/clang/AST/TemplateName.h
+1-1clang/include/clang/Basic/Diagnostic.h
+1-1clang/include/clang/AST/ASTConcept.h
+85-576 files

FreeBSD/src b06d6b9sys/kern kern_event.c

kqueue_fork_copy_knote(): zero kn_knlist for the copy before calling knlist_add()

Reported by:    pho, dhw
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit aab1ef4527f1b0935add3e8dba9e928e0623376f)
DeltaFile
+1-0sys/kern/kern_event.c
+1-01 files

HardenedBSD/src b06d6b9sys/kern kern_event.c

kqueue_fork_copy_knote(): zero kn_knlist for the copy before calling knlist_add()

Reported by:    pho, dhw
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit aab1ef4527f1b0935add3e8dba9e928e0623376f)
DeltaFile
+1-0sys/kern/kern_event.c
+1-01 files

FreeBSD/src c4266d8sbin/tunefs tunefs.c

tunefs: Better fix for arm64 alignment issues

Rather than trust that the compiler will lay out the stack frame the
way we expect it to, use a union to force the correct alignment.

MFC after:      1 week
Fixes:          616f47f176c3 ("tunefs: Fix alignment warning on arm64")
Reviewed by:    kevans, mckusick
Differential Revision:  https://reviews.freebsd.org/D56245

(cherry picked from commit 8244dd326265867293b2286efc3d571f06ef0dab)

tunefs: Fix pointer arithmetic

While here, remove a bogus const which has been there for years.

MFC after:      1 week
Reported by:    ivy@
Fixes:          1b83e8a3f840 ("Constify string pointers.")

    [5 lines not shown]
DeltaFile
+37-27sbin/tunefs/tunefs.c
+37-271 files

FreeBSD/src 84e7cd4sbin/tunefs tunefs.c

tunefs: Better fix for arm64 alignment issues

Rather than trust that the compiler will lay out the stack frame the
way we expect it to, use a union to force the correct alignment.

MFC after:      1 week
Fixes:          616f47f176c3 ("tunefs: Fix alignment warning on arm64")
Reviewed by:    kevans, mckusick
Differential Revision:  https://reviews.freebsd.org/D56245

(cherry picked from commit 8244dd326265867293b2286efc3d571f06ef0dab)

tunefs: Fix pointer arithmetic

While here, remove a bogus const which has been there for years.

MFC after:      1 week
Reported by:    ivy@
Fixes:          1b83e8a3f840 ("Constify string pointers.")

    [5 lines not shown]
DeltaFile
+37-27sbin/tunefs/tunefs.c
+37-271 files

HardenedBSD/src 84e7cd4sbin/tunefs tunefs.c

tunefs: Better fix for arm64 alignment issues

Rather than trust that the compiler will lay out the stack frame the
way we expect it to, use a union to force the correct alignment.

MFC after:      1 week
Fixes:          616f47f176c3 ("tunefs: Fix alignment warning on arm64")
Reviewed by:    kevans, mckusick
Differential Revision:  https://reviews.freebsd.org/D56245

(cherry picked from commit 8244dd326265867293b2286efc3d571f06ef0dab)

tunefs: Fix pointer arithmetic

While here, remove a bogus const which has been there for years.

MFC after:      1 week
Reported by:    ivy@
Fixes:          1b83e8a3f840 ("Constify string pointers.")

    [5 lines not shown]
DeltaFile
+37-27sbin/tunefs/tunefs.c
+37-271 files

FreeBSD/src e272f4acontrib/bmake main.c

Fix default for .MAKE.SAVE_DOLLARS

NetBSD make defaults this to "yes",
bmake defauts it to "no" to retain the traditional behavior.

The default is dealt with in bmake's Makefile but that does not
address boot-strap.

For now, just change the ifdef in main.

PR: 294436
DeltaFile
+1-1contrib/bmake/main.c
+1-11 files

OpenBSD/ports INP2Prxdevel/llvm/22 distinfo Makefile, devel/llvm/22/patches patch-libunwind_src_Registers_hpp patch-llvm_lib_Target_ARM_ARMISelLowering_cpp

   update to 22.1.3
VersionDeltaFile
1.2+4-4devel/llvm/22/patches/patch-libunwind_src_Registers_hpp
1.4+2-2devel/llvm/22/distinfo
1.2+1-1devel/llvm/22/patches/patch-llvm_lib_Target_ARM_ARMISelLowering_cpp
1.5+1-1devel/llvm/22/Makefile
1.2+0-0devel/llvm/22/patches/patch-llvm_lib_MC_MCELFStreamer_cpp
+8-85 files

LLVM/project 82c7192mlir/lib/Dialect/Vector/IR VectorOps.cpp, mlir/test/Dialect/Vector canonicalize.mlir

[MLIR][Vector] Fix multi_reduction fold to handle empty reduction dims for any rank (#188983)

The fold for `vector.multi_reduction` only handled the rank-1 case with
no reduction dimensions. For higher-rank vectors (e.g.,
`vector<2x3xf32>`) with empty reduction dims `[]`, the fold returned
null, allowing `ElideUnitDimsInMultiDimReduction` to fire incorrectly.
That canonicalization pattern checks that all *reduced* dims have size
1, but with zero reduction dims the check trivially passes, and the
pattern then computes `acc op source` (e.g., `acc + source`) instead of
the correct no-op result (`source`).

This caused `--canonicalize` to produce a different value than
`--lower-vector-multi-reduction` for the same program:

  vector.mask %m { vector.multi_reduction <add>, %src, %src [] :
vector<3x3xi32> to vector<3x3xi32> } : vector<3x3xi1> -> vector<3x3xi32>

  * Without --lower-vector-multi-reduction: `src + src` (e.g., 2)
  * With    --lower-vector-multi-reduction: `src` (e.g., 1)

    [8 lines not shown]
DeltaFile
+20-0mlir/test/Dialect/Vector/canonicalize.mlir
+2-2mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+22-22 files

FreeBSD/src 8555074lib/msun/man fmax.3

fmax.3: Add caveat for going beyond C std requirements

libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:             294214
Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230

(cherry picked from commit 7764e9ca28a9702aed4ba7391e055ec2fcf35c41)
DeltaFile
+8-5lib/msun/man/fmax.3
+8-51 files

HardenedBSD/src 8555074lib/msun/man fmax.3

fmax.3: Add caveat for going beyond C std requirements

libm's fmax and fmin family of functions treat +0.0 as greater than
-0.0.  This is not required by the C standard, so the user may not see
this behaviour due to compiler optimization.

PR:             294214
Reviewed by:    fuz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56230

(cherry picked from commit 7764e9ca28a9702aed4ba7391e055ec2fcf35c41)
DeltaFile
+8-5lib/msun/man/fmax.3
+8-51 files

OpenBSD/ports zGUEhGGnet/p5-Net-CIDR-Lite Makefile distinfo

   update p5-Net-CIDR-Lite to 0.23
   take maintainer
   CVE-2026-40198 CVE-2026-40199
VersionDeltaFile
1.16+14-8net/p5-Net-CIDR-Lite/Makefile
1.9+2-2net/p5-Net-CIDR-Lite/distinfo
+16-102 files

FreeBSD/ports 8ef47d2net/zapret2 distinfo Makefile

net/zapret2: Update 0.9.4.7 => 0.9.5

Approved by:            yuri@ (maintainer, Mentor)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D56376
DeltaFile
+3-3net/zapret2/distinfo
+1-1net/zapret2/Makefile
+4-42 files

LLVM/project aea7db5clang/lib/Analysis/LifetimeSafety Origins.cpp, clang/test/Sema warn-lifetime-safety-suggestions.cpp warn-lifetime-safety.cpp

[LifetimeSafety] Detect dangling field of base class (#191831)

Fixes: https://github.com/llvm/llvm-project/issues/191823
DeltaFile
+15-0clang/test/Sema/warn-lifetime-safety-suggestions.cpp
+14-0clang/test/Sema/warn-lifetime-safety.cpp
+12-0clang/test/Sema/warn-lifetime-safety-dangling-field.cpp
+1-1clang/lib/Analysis/LifetimeSafety/Origins.cpp
+42-14 files

LLVM/project 13d9155llvm/lib/Transforms/Utils LoopUnroll.cpp, llvm/test/Transforms/LoopUnroll/branch-weights-freq unroll-complete.ll unroll-partial-unconditional-latch.ll

[LoopUnroll] Fix freqs for unconditional latches: N<=2 (#179520)

As another step in issue #135812, this patch fixes block frequencies
when LoopUnroll converts a conditional latch in an unrolled loop
iteration to unconditional. It thus includes complete loop unrolling
(the conditional backedge becomes an unconditional loop exit), which
might be applied to the original loop or to its remainder loop.

As explained in detail in the header comments on the
fixProbContradiction function that this patch introduces, these
conversions mean LoopUnroll has proven that the original uniform latch
probability is incorrect for the original loop iterations associated
with the converted latches. However, LoopUnroll often is able to perform
these corrections for only some iterations, leaving other iterations
with the original latch probability, and thus corrupting the aggregate
effect on the total frequency of the original loop body.

This patch ensures that the total frequency of the original loop body,
summed across all its occurrences in the unrolled loop after the

    [15 lines not shown]
DeltaFile
+226-2llvm/lib/Transforms/Utils/LoopUnroll.cpp
+19-34llvm/test/Transforms/LoopUnroll/branch-weights-freq/unroll-complete.ll
+12-17llvm/test/Transforms/LoopUnroll/branch-weights-freq/unroll-partial-unconditional-latch.ll
+3-4llvm/test/Transforms/LoopUnroll/branch-weights-freq/unroll-epilog.ll
+260-574 files

LLVM/project f1c8583clang/include/clang/APINotes Types.h, clang/include/clang/AST TypeBase.h

Convert uses of std::optional<NullabilityKind> to OptionalUnsigned
DeltaFile
+18-32clang/include/clang/APINotes/Types.h
+3-5clang/lib/Sema/SemaExprObjC.cpp
+4-4clang/lib/APINotes/APINotesTypes.cpp
+3-4clang/lib/AST/Type.cpp
+3-3clang/include/clang/AST/TypeBase.h
+2-2clang/lib/Sema/Sema.cpp
+33-505 files not shown
+40-5411 files

OpenBSD/src DVMShbKsys/conf newvers.sh

   move out of -beta
VersionDeltaFile
1.215+3-3sys/conf/newvers.sh
+3-31 files