LLVM/project d0bf354llvm/include/llvm/ADT Bitset.h, llvm/unittests/ADT BitsetTest.cpp

[ADT] Reinstate "Refactor Bitset to Be More Constexpr-Usable" (#189497)

Reland of #172062 (a71b1d2), which was reverted in b0234d1.

This patch makes essential Bitset member functions constexpr (`set()`,
`any()`, `none()`, `count()`, `operator==`, `!=`, `<`, `\~`) and adds a
new `all()` method. It also introduces a `maskLastWord()` invariant to
ensure unused high bits in the last word are always zero, which is
required for correctness of `operator~`, `set()`, `all()`, and
comparisons on non-word-aligned sizes (e.g., `Bitset<33>`).

Changes from the original reverted PR:
- Replaced `llvm::any_of` with an inline loop to avoid depending on
constexpr `any_of`/`none_of` from `STLExtras` (#172536), which was also
reverted due to a GCC 15.2.1 bootstrap miscompile.
- The patch is now fully self-contained with no prerequisite changes.

Motivation: This is a prerequisite for making `LaneBitmask` a wrapper
around `Bitset`, enabling scalable lane bitmasks beyond 64 bits
(https://discourse.llvm.org/t/rfc-out-of-lanebitmask-bits-again/88613).
DeltaFile
+226-0llvm/unittests/ADT/BitsetTest.cpp
+49-18llvm/include/llvm/ADT/Bitset.h
+275-182 files

FreeBSD/src c7e5e96contrib/file/magic/Magdir filesystems

file: Parse some UFS2 flags

This allows libmagic to recognize the FS_DOSOFTDEP, FS_SUJ, FS_GJOURNAL,
FS_ACLS, and FS_NFS4ACLS flags on a UFS2 file system.

Accepted upstream as 482259e5e952.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56010

(cherry picked from commit fa03f93e8829a7689101303fbe9fb06654ca14ed)
DeltaFile
+5-0contrib/file/magic/Magdir/filesystems
+5-01 files

FreeBSD/src bc735d8usr.bin/m4 eval.c look.c

m4: Misc style fixes

MFC after:      1 week

Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D55794

(cherry picked from commit 41474e78c493184f023723d1f86539e07bb01b92)
DeltaFile
+9-9usr.bin/m4/eval.c
+9-8usr.bin/m4/look.c
+5-7usr.bin/m4/misc.c
+2-3usr.bin/m4/main.c
+1-1usr.bin/m4/expr.c
+1-1usr.bin/m4/mdef.h
+27-296 files

FreeBSD/src a6eda8dusr.bin/m4 eval.c mdef.h

m4: Stop abbreviating builtin names

* Stop abbreviating macro names half-randomly to 8 chars, this is no
  longer 1990.

* Likewise for function names (in particular use doindex for a function
  that is notably different from the classic index function).

* Rename a few things for more fidelity: eval is the builtin name, not
  expr and your maketemp/mkstemp conform to mkstemp semantics for better
  security.

* Rewrap a few comments that were ludicrously short.

No functional changes except improved accuracy of some error messages.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55793

(cherry picked from commit f8f6f1cbd576ab5f15cef178cc05251365652f74)
DeltaFile
+86-98usr.bin/m4/eval.c
+44-44usr.bin/m4/mdef.h
+33-32usr.bin/m4/main.c
+3-3usr.bin/m4/look.c
+1-1usr.bin/m4/misc.c
+1-1usr.bin/m4/extern.h
+168-1796 files

FreeBSD/src e4755b9usr.bin/m4 eval.c mdef.h

m4: Stop abbreviating builtin names

* Stop abbreviating macro names half-randomly to 8 chars, this is no
  longer 1990.

* Likewise for function names (in particular use doindex for a function
  that is notably different from the classic index function).

* Rename a few things for more fidelity: eval is the builtin name, not
  expr and your maketemp/mkstemp conform to mkstemp semantics for better
  security.

* Rewrap a few comments that were ludicrously short.

No functional changes except improved accuracy of some error messages.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55793

(cherry picked from commit f8f6f1cbd576ab5f15cef178cc05251365652f74)
DeltaFile
+86-98usr.bin/m4/eval.c
+44-44usr.bin/m4/mdef.h
+33-32usr.bin/m4/main.c
+3-3usr.bin/m4/look.c
+1-1usr.bin/m4/extern.h
+1-1usr.bin/m4/misc.c
+168-1796 files

FreeBSD/src 3396afbusr.bin/m4 eval.c look.c

m4: Misc style fixes

MFC after:      1 week

Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D55794

(cherry picked from commit 41474e78c493184f023723d1f86539e07bb01b92)
DeltaFile
+9-9usr.bin/m4/eval.c
+9-8usr.bin/m4/look.c
+5-7usr.bin/m4/misc.c
+2-3usr.bin/m4/main.c
+1-1usr.bin/m4/mdef.h
+1-1usr.bin/m4/expr.c
+27-296 files

FreeBSD/src f0ca30bcontrib/file/magic/Magdir filesystems

file: Parse some UFS2 flags

This allows libmagic to recognize the FS_DOSOFTDEP, FS_SUJ, FS_GJOURNAL,
FS_ACLS, and FS_NFS4ACLS flags on a UFS2 file system.

Accepted upstream as 482259e5e952.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56010

(cherry picked from commit fa03f93e8829a7689101303fbe9fb06654ca14ed)
DeltaFile
+5-0contrib/file/magic/Magdir/filesystems
+5-01 files

FreeBSD/src 3ef2921usr.bin/m4 eval.c look.c

m4: Misc style fixes

MFC after:      1 week

Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D55794

(cherry picked from commit 41474e78c493184f023723d1f86539e07bb01b92)
DeltaFile
+9-9usr.bin/m4/eval.c
+9-8usr.bin/m4/look.c
+5-7usr.bin/m4/misc.c
+2-3usr.bin/m4/main.c
+1-1usr.bin/m4/mdef.h
+1-1usr.bin/m4/expr.c
+27-296 files

FreeBSD/src 0d2454fcontrib/file/magic/Magdir filesystems

file: Parse some UFS2 flags

This allows libmagic to recognize the FS_DOSOFTDEP, FS_SUJ, FS_GJOURNAL,
FS_ACLS, and FS_NFS4ACLS flags on a UFS2 file system.

Accepted upstream as 482259e5e952.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D56010

(cherry picked from commit fa03f93e8829a7689101303fbe9fb06654ca14ed)
DeltaFile
+5-0contrib/file/magic/Magdir/filesystems
+5-01 files

FreeBSD/src b195333usr.bin/m4 eval.c mdef.h

m4: Stop abbreviating builtin names

* Stop abbreviating macro names half-randomly to 8 chars, this is no
  longer 1990.

* Likewise for function names (in particular use doindex for a function
  that is notably different from the classic index function).

* Rename a few things for more fidelity: eval is the builtin name, not
  expr and your maketemp/mkstemp conform to mkstemp semantics for better
  security.

* Rewrap a few comments that were ludicrously short.

No functional changes except improved accuracy of some error messages.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55793

(cherry picked from commit f8f6f1cbd576ab5f15cef178cc05251365652f74)
DeltaFile
+86-98usr.bin/m4/eval.c
+44-44usr.bin/m4/mdef.h
+33-32usr.bin/m4/main.c
+3-3usr.bin/m4/look.c
+1-1usr.bin/m4/extern.h
+1-1usr.bin/m4/misc.c
+168-1796 files

OPNSense/core 5c320c1src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.php KeaDhcpv6.php

negate
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+2-22 files

OPNSense/core 4a35392src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.php KeaDhcpv6.php

isEmpty()
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+2-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+4-42 files

OPNSense/core 7a38d12src/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings4.xml generalSettings6.xml

re-add hints, remove help defaults
DeltaFile
+4-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+4-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+8-42 files

OPNSense/core bf0b318src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml

model bump not necessary here
DeltaFile
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+1-11 files

OpenBSD/ports AbYb6YInet/isc-bind distinfo Makefile

   update to isc-bind-9.20.22
VersionDeltaFile
1.138.2.8+2-2net/isc-bind/distinfo
1.207.2.8+1-1net/isc-bind/Makefile
+3-32 files

OpenBSD/ports iKJZeV4net/isc-bind distinfo Makefile

   update to isc-bind-9.20.22
VersionDeltaFile
1.146+2-2net/isc-bind/distinfo
1.217+1-1net/isc-bind/Makefile
+3-32 files

OPNSense/core b62b36bsrc/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings6.xml generalSettings4.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml KeaDhcpv6.xml

fix previous
DeltaFile
+2-8src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+2-8src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+4-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+4-2src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+2-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+2-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+16-246 files

LLVM/project dc9be4elld/ELF/Arch ARM.cpp, lld/test/ELF arm-be8-data-mapsym.s

[LLD][ELF] Skip non-inputsections to avoid invalid cast in Arm BE8 handling (#188154)

This patch fixes https://github.com/llvm/llvm-project/issues/187033

In BE8 mode, instruction bytes are reversed for sections containing
code. This logic currently assumes that arm mapping symbols (e.g. $a,
$t, $d) are always associated with InputSections.

However, mapping symbols can also be defined in other section types such
as mergeable sections (SHF_MERGE). These are not represented as
InputSection, and attempting to cast them using
cast_if_present<InputSection> results in an assertion failure.
DeltaFile
+19-0lld/test/ELF/arm-be8-data-mapsym.s
+1-1lld/ELF/Arch/ARM.cpp
+20-12 files

LLVM/project 4c9a739bolt/test/AArch64 compare-and-branch-inversion.S compare-and-branch-reorder-blocks.S

[BOLT][AArch64] Strip uneeded labels from FEAT_CMPBR tests. (#189931)

Eliminates the temporary labels so that BOLT does not recognize them as
secondary entry points.
DeltaFile
+1-8bolt/test/AArch64/compare-and-branch-inversion.S
+3-6bolt/test/AArch64/compare-and-branch-reorder-blocks.S
+3-0bolt/test/AArch64/compare-and-branch-split-functions.S
+3-0bolt/test/AArch64/compare-and-branch-unsupported.S
+10-144 files

OpenBSD/ports jrqmgpJdevel/llvm/22 distinfo Makefile, devel/llvm/22/patches patch-llvm_lib_Target_AArch64_AArch64FrameLowering_cpp patch-lld_ELF_Driver_cpp

   update to 22.1.2
VersionDeltaFile
1.2+2-2devel/llvm/22/patches/patch-llvm_lib_Target_AArch64_AArch64FrameLowering_cpp
1.3+2-2devel/llvm/22/distinfo
1.4+1-1devel/llvm/22/Makefile
1.2+1-1devel/llvm/22/patches/patch-lld_ELF_Driver_cpp
+6-64 files

LLVM/project 2a30e72clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn.hip

[CIR][AMDGPU] Add amdgpu wave reduce builtins codegen
DeltaFile
+180-0clang/test/CIR/CodeGenHIP/builtins-amdgcn.hip
+42-4clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+222-42 files

OPNSense/core d84542fsrc/opnsense/mvc/app/controllers/OPNsense/Kea/forms generalSettings4.xml generalSettings6.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.xml

remove hint, bump model
DeltaFile
+0-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings4.xml
+0-2src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/generalSettings6.xml
+1-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.xml
+1-53 files

LLVM/project d835dd2llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanRecipes.cpp

[LV] Strip createStepForVF (NFC) (#185668)

The mul -> shl simplification is already done in VPlan.
DeltaFile
+0-14llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+2-3llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+0-4llvm/lib/Transforms/Vectorize/VPlanHelpers.h
+2-213 files

FreeBSD/ports c927d06www/iridium/files patch-chrome_browser_about__flags.cc patch-third__party_blink_renderer_platform_runtime__enabled__features.json5

www/iridium: update to 2026.04.146.5
DeltaFile
+56-56www/iridium/files/patch-chrome_browser_about__flags.cc
+11-11www/iridium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+4-4www/iridium/files/patch-chrome_common_chrome__features.cc
+4-4www/iridium/files/patch-chrome_browser_ui_tabs_public_tab__features.h
+3-3www/iridium/files/patch-chrome_browser_ui_tabs_tab__features.cc
+3-3www/iridium/files/patch-chrome_browser_ui_views_user__education_browser__user__education__service.cc
+81-8110 files not shown
+104-10416 files

FreeBSD/ports e051bdbwww/ungoogled-chromium distinfo, www/ungoogled-chromium/files patch-chrome_browser_about__flags.cc patch-third__party_blink_renderer_platform_runtime__enabled__features.json5

www/ungoogled-chromium: update to 146.0.7680.177

Security:       https://vuxml.freebsd.org/freebsd/1dc2aae1-0793-4dbd-8548-e63ae0e1bdaf.html
DeltaFile
+56-56www/ungoogled-chromium/files/patch-chrome_browser_about__flags.cc
+11-11www/ungoogled-chromium/files/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+7-7www/ungoogled-chromium/distinfo
+4-4www/ungoogled-chromium/files/patch-chrome_common_chrome__features.cc
+4-4www/ungoogled-chromium/files/patch-chrome_browser_ui_tabs_public_tab__features.h
+3-3www/ungoogled-chromium/files/patch-chrome_common_chrome__features.h
+85-8510 files not shown
+108-10916 files

OPNSense/core eb8e1ffsrc/opnsense/scripts/shell firmware.sh

Fix typo in firmware: fetching changelog message (#10079)
DeltaFile
+1-1src/opnsense/scripts/shell/firmware.sh
+1-11 files

NetBSD/pkgsrc CV0nvHvdoc CHANGES-2026

   Updated graphics/py-Pillow, textproc/py-colored
VersionDeltaFile
1.2058+3-1doc/CHANGES-2026
+3-11 files

NetBSD/pkgsrc JhXNu9Ztextproc/py-colored distinfo Makefile

   py-colored: updated to 2.3.2

   2.3.2

   Added

   Added tests_pytest/ suite with pytest-based tests for foreground, background, styles, exceptions, hex color matching, and convert functionality.

   Fixed

   Fixed mypy type error in hexadecimal.py: changed color parameter type from str | int to str in Hex.find(), as the method requires string input for len() and indexing operations.
   Fixed mypy type errors in attributes.py: added missing return type annotation (-> None) to MetaStyle.__getattr__() and replaced bare dict with dict[str, str] for _STYLES and _COLORS class attributes.
   Fixed ValueError in Colored.enabled() when FORCE_COLOR environment variable contains a non-integer value (e.g. FORCE_COLOR=yes): invalid values are now treated as enabled.
   Fixed Controls.nav() ignoring column=0 due to falsy check: changed if column: to if column is not None: so cursor position at column 0 (start of line) works correctly.
   Fixed ValueError crash in Hex.find() when passing an invalid hex string (e.g. #FF, #AABBCCDD): added format validation that raises InvalidHexColor for strings that are not 4 or 7 characters long starting with #.
   Fixed RGB values out of range in Utilities.is_percentage(): values are now clamped to [0, 255] to always produce valid ANSI escape sequences without breaking existing code.
   Fixed incorrect return type annotation -> None on __getattr__ in MetaStyle, MetaFore, and MetaBack metaclasses: changed to -> NoReturn since these methods always raise an exception and never return.
   Fixed Utilities.set_colorterm() losing the default truecolor value when $COLORTERM is not set in the environment: changed fallback from '' to self.colorterm to preserve the initialized default.
   Renamed misleading Hex.cube() method to Hex.square() to correctly reflect its calculation (x*x), which is the intended least squares fit operation.
VersionDeltaFile
1.14+4-4textproc/py-colored/distinfo
1.16+2-2textproc/py-colored/Makefile
+6-62 files

NetBSD/pkgsrc ahUn9tRgraphics/py-Pillow distinfo Makefile

   py-Pillow: updated to 12.2.0

   12.2.0

   Update 12.2.0 release notes
   Add loader plugins: AMOS abk, Atari Degas, 40+ more obscure formats via Netpbm
   Update Python versions
   Jeffrey A. Clark -> Jeffrey 'Alex' Clark
   Add release notes for
   Add Amiga Workbench .info loader to 3rd party plugins list
   Merge PFM documentation into PPM
   Update macOS tested Pillow versions
   Fix CVE number
VersionDeltaFile
1.73+4-4graphics/py-Pillow/distinfo
1.101+2-2graphics/py-Pillow/Makefile
+6-62 files

LLVM/project 018e048mlir/include/mlir/Dialect/Linalg/IR LinalgInterfaces.h, mlir/lib/Dialect/Linalg/IR LinalgInterfaces.cpp

[MLIR][Linalg] Generic to category specialization for unary elementwise ops (#187217)

Handle specialization of `linalg.generic` ops representing a unary
elementwise computation to the `linalg.elementwise` category op. This
implements a previously absent path in the linalg morphism.
DeltaFile
+102-41mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
+95-0mlir/test/Dialect/Linalg/roundtrip-morphism-linalg-category-ops.mlir
+70-2mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
+14-9mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
+7-2mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.h
+288-545 files