LLVM/project 54d02daclang/lib/Sema SemaModule.cpp, clang/test/Modules GH204632.cppm

[C++20] [Modules] Don't set clang module as named module for module duplication check (#215184)

Close https://github.com/llvm/llvm-project/issues/204632

Note that the error message is already diagnosed. So we don't need to do
additional thing here.
DeltaFile
+14-0clang/test/Modules/GH204632.cppm
+5-0clang/lib/Sema/SemaModule.cpp
+19-02 files

LLVM/project df55542libcxx/docs/Status Cxx26Issues.csv, libcxx/include/__memory unique_ptr.h

[libc++][memory] LWG4148: `unique_ptr::operator*` should not allow dangling references (#214971)

Implements https://wg21.link/LWG4148

Closes #118362

---------

Co-authored-by: Mohamed Atef <mohamedatef1698 at gmail.com>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
Co-authored-by: A. Jiang <de34 at live.cn>
DeltaFile
+19-1libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/dereference.verify.cpp
+7-4libcxx/include/__type_traits/reference_converts_from_temporary.h
+4-0libcxx/include/__memory/unique_ptr.h
+1-1libcxx/docs/Status/Cxx26Issues.csv
+31-64 files

OPNSense/core a042370src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes ArrayField.php

mvc: ArrayField support nested fields in record sets

Flatten nested container fields for export and resolve them again on import, limited to the same one-level nesting supported by ArrayField::add().
DeltaFile
+16-3src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/ArrayField.php
+16-31 files

OPNSense/core bd1532csrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php

Firewall: NAT: Destination NAT: include nested destination NAT fields in search
DeltaFile
+11-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+11-11 files

FreeBSD/ports a47d867x11-wm/hyprland Makefile distinfo

x11-wm/hyprland: Update to 0.56.2

Changelog: https://github.com/hyprwm/Hyprland/releases/tag/v0.56.2

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11-wm/hyprland/distinfo
+1-1x11-wm/hyprland/Makefile
+4-42 files

pkgng/pkgng 3f9aa42libpkg pkg_add.c pkg.h.in, libpkg/private pkg.h

feat: add PKG_EVENT_RC_SCRIPT for rc.d script actions

Introduce a dedicated event for rc script start/stop/restart, with
display in src/event.c and pipe JSON in libpkg/pkg_event.c.

Renamed internal PKG_RC_START/STOP to PKG_RC_ATTR_START/STOP to avoid
conflict with the new public pkg_rc_action_t enum.
DeltaFile
+35-0libpkg/pkg_event.c
+23-0src/event.c
+12-5libpkg/rcscripts.c
+14-0libpkg/pkg.h.in
+4-4libpkg/pkg_add.c
+2-2libpkg/private/pkg.h
+90-112 files not shown
+93-138 files

pkgng/pkgng 3fb5feclibpkg rcscripts.c

fix: fix deffered rc script execution

Fixes: #2723
DeltaFile
+3-5libpkg/rcscripts.c
+3-51 files

LLVM/project 98d5b27llvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU fcanonicalize-v2-poison.ll

[AMDGPU] Fold constants in 2-elt vector canonicalization (#214384)

For 2-element vectors convert:

`fcanonicalize (build_vector x, k)` -> `build_vector (fcanonicalize x),
(fcanonicalize k)`
`fcanonicalize (build_vector x, undef)` -> `build_vector (fcanonicalize
x), 0`

if fcanonicalize is Legal for a single element.  

Previously only v2f16 was transformed. Now v2f32 and v2f64 are also
transformed, but v2f16 is naturally excluded.

---------

Signed-off-by: John Lu <John.Lu at amd.com>
DeltaFile
+213-0llvm/test/CodeGen/AMDGPU/fcanonicalize-v2-poison.ll
+9-5llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+222-52 files

OpenBSD/src rGNNZnzusr.bin/mandoc mandoc.1

   manuel -> manual
VersionDeltaFile
1.201+3-3usr.bin/mandoc/mandoc.1
+3-31 files

LLVM/project 0f985aflibcxx/include/__optional common.h optional_ref.h

[libc++] Refactor `optional<T>` and `optional<T&>` base classes (#215012)

- Remove the shared `__optional_storage_base` base class and associated
partial specializations to handle the `T&` case in `optional<T>`
- As a consequence, the `static_assert`s that check for reference types
in `optional<T>` need to be moved up to the base class as the
`is_object_v` check is tripped, otherwise.
- Directly inline base class functions for both that used to exist to
accommodate a "dual-mode" (`T` and `T&`) `optional`.
DeltaFile
+124-140libcxx/include/__optional/optional.h
+40-68libcxx/include/__optional/optional_ref.h
+0-3libcxx/include/__optional/common.h
+164-2113 files

NetBSD/pkgsrc gPTPblVdoc CHANGES-2026

   doc: Updated www/resterm to 0.52.1
VersionDeltaFile
1.5126+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc JYaPGjFwww/resterm go-modules.mk Makefile

   resterm: Update to 0.52.1

   This release ships many bug fixes and improvements across the parser, mocks, and RestermScript, along with two larger additions: mock request matching is far more expressive, and RestermScript now has a switch statement with labeled break and continue. One breaking change is included: the default(a, b) helper is gone and default is now a reserved word, so use the ? operator instead.
VersionDeltaFile
1.24+3-3www/resterm/distinfo
1.26+1-1www/resterm/Makefile
1.15+0-0www/resterm/go-modules.mk
+4-43 files

LLVM/project 1f85e81llvm/include/llvm/Support GenericLoopInfoImpl.h, llvm/unittests/Analysis LoopInfoTest.cpp

[LoopInfo] Do not enqueue unreachable nodes; fix infinite loop (#214832)

Before this patch, we were enqueing unreachable nodes reaching into the
latch nodes. Since unreachable nodes haven't been visited in the
original DFS algorithm, we end up in an infinite loop within enqueue

This patch restores isReachableFromEntry() check from now removed
discoverAndMapSubloop(). This should avoid infinite loop.

It's a regression from #212000
(5d582e4003b1cab59900d16fa3db9c3a9d16b462)

---------

Co-authored-by: Alexander Kornienko <alexfh at google.com>
Co-authored-by: Alexis Engelke <mail at aengelke.net>
DeltaFile
+43-0llvm/unittests/Analysis/LoopInfoTest.cpp
+3-1llvm/include/llvm/Support/GenericLoopInfoImpl.h
+46-12 files

LLVM/project b595a74clang-tools-extra/docs ReleaseNotes.md, clang-tools-extra/test/clang-tidy/checkers/bugprone misplaced-operator-in-strlen-in-alloc-no-crash.cpp

[clang][ASTMatchers] Fix `hasArraySize` crash without a size expression (#215082)

CXXNewExpr::getArraySize() returns std::nullopt even when isArray() is
true, e.g. when there is no array size expression, as in 'new int[]()'.
The hasArraySize matcher dereferenced the optional unconditionally,
triggering undefined behavior (an assertion failure in assert-enabled
builds). Check the optional for engagement before matching.

Since getArraySize() already returns std::nullopt when isArray() is
false, the redundant isArray() check can be dropped.

Add a clang-tidy regression test that runs clang-tidy on a translation
unit containing 'new int[]()', which emits a compiler diagnostic but
must not crash the tool, and document the fix in the release notes.

Fixes #214281
DeltaFile
+8-0clang-tools-extra/test/clang-tidy/checkers/bugprone/misplaced-operator-in-strlen-in-alloc-no-crash.cpp
+2-2clang/include/clang/ASTMatchers/ASTMatchers.h
+4-0clang-tools-extra/docs/ReleaseNotes.md
+14-23 files

FreeBSD/ports 14e3f4ax11/lightdm pkg-plist Makefile, x11/lightdm/files patch-src_x-server.c patch-src_session-child.c

x11/lightdm: Update to 1.33.0

- Download distribution using GITHUB
- Stop limiting portscout to even versions
- Add QT6 support option, alternative to QT5
- Remove upstreamed patches
- Fix vt multiseat support [1]

Many thanks to tijl for help and testing and finding solution for
[1], which was causing regressions with polkit integration.

Reviewed by:    tijl
Tested by:      tijl
DeltaFile
+0-147x11/lightdm/files/patch-data_Makefile.in
+6-92x11/lightdm/files/patch-src_vt.c
+14-72x11/lightdm/files/patch-src_session-child.c
+0-63x11/lightdm/files/patch-src_x-server.c
+21-10x11/lightdm/Makefile
+13-0x11/lightdm/pkg-plist
+54-3846 files not shown
+74-40512 files

LLVM/project 129267eflang/test/Lower/OpenMP integer-wrap-around.f90, llvm/include/llvm/Frontend/OpenMP OMPIRBuilder.h

[Flang][OpenMP] Add nsw flags to OMPIRBuilder loop IV arithmetic (#214165)

- Extended the support of `-fno-wrapv` flag setting from frontend to the
OMPIRBuilder via `omp.integer_wrap_around` module attribute.
- When this attribute `omp.integer_wrap_around` is false (-fno-wrapv),
the OMPIRBuilder attaches `nsw` to all loop IV arithmetic.
- This enables SCEV to form proper `AddRec` expressions for the loop IV,
allowing `IndVarSimplify pass` to widen it from i32 to i64 and eliminate
the in-loop sext instruction which helps some backend optimizations and
also producing IR similar to Clang.

Fixes https://github.com/llvm/llvm-project/issues/213718
DeltaFile
+90-0mlir/test/Target/LLVMIR/openmp-nsw-collapsed.mlir
+77-0mlir/test/Target/LLVMIR/openmp-integer-wrap-around.mlir
+32-7llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+13-5llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+16-0flang/test/Lower/OpenMP/integer-wrap-around.f90
+11-0mlir/include/mlir/Dialect/OpenMP/OpenMPAttrDefs.td
+239-125 files not shown
+260-1311 files

OpenBSD/src 1UJVuHJsys/dev/pci/drm drm_fb_helper.c

   drm/fb-helper: Fix a locking bug in an error path

   From Bart Van Assche
   e7731507270c2c63f00cfbf210fe96b964e9b42e in linux-6.18.y/6.18.44
   bd64240dc88caaf7b96dd869f36f165f51b52039 in mainline linux
VersionDeltaFile
1.48+3-1sys/dev/pci/drm/drm_fb_helper.c
+3-11 files

OpenBSD/src Zy0b0pvsys/dev/pci/drm/i915/display intel_vrr.c

   drm/i915/vrr: require valid min/max vfreq for VRR

   From Jani Nikula
   df1582c0a101e2e2f133dd331d2a3258bb6a7518 in linux-6.18.y/6.18.44
   f8a9262c7a6fc2de9802e14b0228114f0333869e in mainline linux
VersionDeltaFile
1.10+4-0sys/dev/pci/drm/i915/display/intel_vrr.c
+4-01 files

OpenBSD/src LqhzSWjsys/dev/pci/drm/i915/display intel_vrr.c

   drm/i915/vrr: Check HAS_VRR() first in intel_vrr_is_capable()

   From Ville Syrjala
   894d4a7395662059d2c6009fd17e1598af06405e in linux-6.18.y/6.18.44
   4b274b0b61ab2a529e5c22e9aa033f3028e639fc in mainline linux
VersionDeltaFile
1.9+4-2sys/dev/pci/drm/i915/display/intel_vrr.c
+4-21 files

OpenBSD/src ofvs9Zysys/dev/pci/drm drm_gpuvm.c drm_exec.c, sys/dev/pci/drm/amd/amdgpu amdgpu_eviction_fence.c amdgpu_cs.c

   drm/exec: Remove the index parameter from drm_exec_for_each_locked_obj[_reverse]

   From Thomas Hellstrom
   b8ad916ba4e18e428693ffd89ae66ac9754b5558 in linux-6.18.y/6.18.44
   ce44b78512e9102aea54ff6b6e521d6c8de9f31c in mainline linux
VersionDeltaFile
1.3+12-8sys/dev/pci/drm/include/drm/drm_exec.h
1.31+3-6sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
1.4+2-4sys/dev/pci/drm/drm_exec.c
1.5+1-2sys/dev/pci/drm/drm_gpuvm.c
1.2+1-2sys/dev/pci/drm/amd/amdgpu/amdgpu_eviction_fence.c
+19-225 files

OpenBSD/src fFWyyRhsys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm.c

   drm/amd/display: Exit idle optimizations before programming

   From Leo Li
   3cb42a973f889f13204f220612eb0be89f90a661 in linux-6.18.y/6.18.44
   8419331e64d92a8de5fc4feef0e305f201fb8b33 in mainline linux
VersionDeltaFile
1.204+46-32sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+46-321 files

OPNSense/core e39ffc3src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php

Firewall: NAT: Destination NAT: include nested destination NAT fields in search
DeltaFile
+12-1src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+12-11 files

OpenBSD/src sMtK9QVsys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm.c, sys/dev/pci/drm/amd/display/dc dc.h

   drm/amd/display: check GRPH_FLIP status before sending event

   From Leo Li
   dbbe08d73b8bcedf0eb8bacb4b3c43b09c92c032 in linux-6.18.y/6.18.44
   48ab86360af117123eb1b15e38f068acf3826400 in mainline linux
VersionDeltaFile
1.203+151-40sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
1.3+45-0sys/dev/pci/drm/amd/display/dc/core/dc.c
1.23+1-0sys/dev/pci/drm/amd/display/dc/dc.h
+197-403 files

FreeBSD/ports 5a82babdevel/deheader Makefile distinfo

devel/deheader: update to 1.13

See http://www.catb.org/~esr/deheader/NEWS.adoc
DeltaFile
+3-3devel/deheader/distinfo
+1-1devel/deheader/Makefile
+4-42 files

OpenBSD/src B433Oahsys/dev/pci/drm/amd/amdgpu amdgpu_gtt_mgr.c

   drm/amdgpu: Respect placement requirements in amdgpu_gtt_mgr functions

   From Timur Kristof
   30b2d0843a4101934109c1e7f9240b153d631c10 in linux-6.18.y/6.18.44
   8882f8897e554053af9e72f4c2da8b1e2cce56c7 in mainline linux
VersionDeltaFile
1.9+28-2sys/dev/pci/drm/amd/amdgpu/amdgpu_gtt_mgr.c
+28-21 files

NetBSD/pkgsrc-wip e3fba2awine distinfo Makefile, wine/patches patch-configure patch-dlls_nsiproxy.sys_ndis.c

(emulator/wine) 9.0, sync to pkgsrc proper for furthur update
DeltaFile
+1,989-4,492wine/PLIST
+10-71wine/patches/patch-dlls_nsiproxy.sys_ip.c
+28-43wine/Makefile
+15-29wine/patches/patch-dlls_nsiproxy.sys_ndis.c
+15-11wine/patches/patch-configure
+12-13wine/distinfo
+2,069-4,6595 files not shown
+2,087-4,69011 files

LLVM/project 93c0911mlir/lib/Dialect/Complex/IR ComplexOps.cpp, mlir/test/Dialect/Complex canonicalize.mlir

[mlir][complex] Fix signed zero miscompile with complex.add fold (#212751)

The pattern `a + complex.constant<0.0, 0.0>` currently gets folded to
`a`. This is incorrect when e.g. `a=(-0.0, 1.0)` since as per the IEEE
spec and what's done in the arith dialect `0.0 + (-0.0) = 0.0 !=
(-0.0)`.

This PR changes the pattern to `a + complex<-0.0, -0.0> -> a` and
updates the associated test.
DeltaFile
+5-5mlir/test/Dialect/Complex/canonicalize.mlir
+3-3mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
+8-82 files

LLVM/project ea40e7fflang-rt/lib/runtime __fortran_builtins.f90, flang/lib/Optimizer/Transforms MIFOpConversion.cpp

[flang][MIF] Update prif_coarray_handle in accordance with PRIF 0.8 #214080 (#214747)

In PRIF revision 0.8, the representation of `prif_coarray_handle` was
changed. This PR updates this representation for this type and updates
the MIFOpConversion pass for the relevant operations.
Fixes issue #214080
A minor fix has been made to the deallocation to ensure that, on the
Flang side, the variable is properly deallocated, since previously the
deallocation was only performed at the `coarray_handle` level.

(cherry picked from commit 066dfd519323589e89847e65a40d4a9836f61188)
DeltaFile
+259-237flang/test/Fir/MIF/coarray-alloc.mlir
+50-57flang/lib/Optimizer/Transforms/MIFOpConversion.cpp
+82-0flang/test/Fir/MIF/coarray_alloc_many_declare.mlir
+36-0flang/test/Lower/MIF/coarray_alloc_many_declare.f90
+2-3flang/test/Lower/MIF/coarray_dealloc_not_alloc.f90
+4-0flang-rt/lib/runtime/__fortran_builtins.f90
+433-2976 files

LLVM/project 3eb121cmlir/include/mlir/Dialect/Complex/IR ComplexOps.td

[mlir][complex] Make AddOp commutative (#212199)

Complex AddOp should have the `Commutative` trait to follow Arith's
AddOp semantics.
DeltaFile
+1-1mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
+1-11 files

LLVM/project a4f740fllvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine add-mask-neg.ll

[InstCombine] Fold X + ((-X) & (C - 1)) to (X + C - 1) & -C (#215122)

`X + ((-X) & (C - 1)) --> (X + C - 1) & -C` for power-of-two `C`.

This is the align-up idiom as allocators usually write it. `-C == ~(C -
1)`, so
the mask is just the inverted low-bit mask.
No wrapping flags needed - it verifies without nsw/nuw on either side.
Flags on
the original add are dropped.

The other fold in the issue, `X + (X | -X) --> X & (X - 1)`, already
exists in
visitAdd, so this only adds the second one.

One case that doesn't hit this: `C = 2`. InstCombine turns `(-X) & 1`
into
`X & 1` first, so the neg is already gone.


    [3 lines not shown]
DeltaFile
+168-0llvm/test/Transforms/InstCombine/add-mask-neg.ll
+13-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+181-02 files