LLVM/project 1087db5clang-tools-extra/clang-tidy/bugprone SuspiciousSemicolonCheck.cpp SuspiciousSemicolonCheck.h

[clang-tidy] Speed up `bugprone-suspicious-semicolon` (#187558)

```txt
                   ---User Time---   --System Time--   --User+System--   ---Wall Time---  --- Name ---
Status quo:        0.4743 (100.0%)   0.3802 (100.0%)   0.8546 (100.0%)   0.8567 (100.0%)  bugprone-suspicious-semicolon
With this change:  0.0103 (100.0%)   0.0027 (100.0%)   0.0130 (100.0%)   0.0133 (100.0%)  bugprone-suspicious-semicolon
```
Continuing the trend of registering one `anyOf` matcher being slower
than registering each of its matchers separately (see #178829 for a
previous example).

(This PR also changes the traversal mode, but I only saw a small speedup
from that. Most of it came from registering the matchers separately.)

This check wasn't super expensive to begin with, but the speedup is
still pretty nice.
DeltaFile
+9-7clang-tools-extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp
+3-0clang-tools-extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.h
+12-72 files

LLVM/project d7fe9c8clang/lib/Format TokenAnnotator.cpp, clang/unittests/Format FormatTest.cpp

[clang-format] Handle sizeof in C compound literals (#187633)

Fixes #168237
DeltaFile
+11-0clang/lib/Format/TokenAnnotator.cpp
+2-0clang/unittests/Format/FormatTest.cpp
+13-02 files

FreeBSD/src a87bde8sys/dev/acpica acpi_spmc.c

acpi_spmc: Simplify constraint freeing

We don't need to check for NULL before calling free().

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-7sys/dev/acpica/acpi_spmc.c
+3-71 files

FreeBSD/src 2547f97share/man/man4 acpi.4

acpi.4: Update sysctl descriptions for new stypes

The previous S1-S5 options are still accepted for compatibility, but
they are now deprecated in favour of the new generic sleep types.

Reported by:    markj
Reviewed by:    markj
Approved by:    markj
Fixes:          97d152698f48 ("acpi: Use sleep types defined in sys/power.h")
Event:          AsiaBSDCon 2026
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D56008
DeltaFile
+14-13share/man/man4/acpi.4
+14-131 files

LLVM/project d0d0238llvm/lib/Target/LoongArch LoongArchISelLowering.cpp

Address wanglei's comment
DeltaFile
+1-0llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+1-01 files

LLVM/project f0a652eclang/lib/Lex PPDirectives.cpp

[NFC][clang] Remove dead code in HandleCXXModuleDirective (#187737)

Remove the dead code in `Preprocessor::HandleCXXModuleDirective`.

Signed-off-by: yronglin <yronglin777 at gmail.com>
DeltaFile
+6-7clang/lib/Lex/PPDirectives.cpp
+6-71 files

LLVM/project 91dbaf5llvm/lib/Target/NVPTX NVPTXUtilities.h, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXInstPrinter.h NVPTXInstPrinter.cpp

[NVPTX] Print param space sub-qualifiers where supported  (#187350)

Print param space sub-qualifiers (`param::entry` and `param::func`) for
PTX 8.3+, as described in the [PTX ISA
docs](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parameter-state-space).
This requires threading the `MCSubtargetInfo` through the inst printer,
which is done by setting `PassSubtarget = 1` on the asm writer.

Emitting the full space avoids the need for ptxas to infer it, improving
readability and more importantly preventing potential bugs if valid LLVM
IR transformations were to move a load from ADDRESS_SPACE_ENTRY_PARAM
into a device function.
DeltaFile
+148-0llvm/test/CodeGen/NVPTX/param-space-subqualifiers.ll
+35-24llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h
+28-28llvm/test/CodeGen/NVPTX/tensormap_replace.ll
+34-17llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
+5-3llvm/lib/Target/NVPTX/NVPTXUtilities.h
+3-3llvm/test/CodeGen/NVPTX/inline-asm-b128-test1.ll
+253-752 files not shown
+260-778 files

FreeBSD/src 66447absys/dev/acpica acpi.c

acpi: Print sysctl name in deprecated sleep type warning

Reported by:    markj
Fixes:          97d152698f48 ("acpi: Use sleep types defined in sys/power.h")
Event:          AsiaBSDCon 2026
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3sys/dev/acpica/acpi.c
+3-31 files

NetBSD/src rbhDbCOsys/uvm uvm_mmap.c

   sys_mincore: stop locking potentially huge amount of user memory

   the current implementation performs uvm_vslock() on the
   user-specified amount of memory. it isn't safe in general.
   some might even consider it as a security issue.

   this commit fixes it by splitting the user-specified range into
   small ones which a temporary kernel buffer can cover. it's ok to
   report potentially stale values as the mincore() api is inherently
   racy in the first place.

   while we still ought to invent a proper "lock user memory for
   direct i/o" infrastructue, in this particular use case, it isn't
   necessary or appropriate.
VersionDeltaFile
1.189+68-45sys/uvm/uvm_mmap.c
+68-451 files

OpenBSD/ports OChdAGTwayland/labwc Makefile

   labwc uses C11. Move to ports-gcc on base-gcc arches to fix build
   on sparc64
VersionDeltaFile
1.12+4-0wayland/labwc/Makefile
+4-01 files

OpenBSD/ports qqP5HQjsysutils/tray-app Makefile

   libnotify base-gcc chokes on __attribute__((__deprecated__)) annotating enum

   Move to ports-gcc on base-gcc arches to fix build on sparc64
VersionDeltaFile
1.13+4-0sysutils/tray-app/Makefile
+4-01 files

OpenBSD/ports 53nHtwcgames/ezquake Makefile

   Mark BROKEN-sparc64. Wants Link Time Optimization, but it is not available
VersionDeltaFile
1.23+2-0games/ezquake/Makefile
+2-01 files

NetBSD/src udjmnwmexternal/cddl/osnet/dist/uts/common/fs/zfs zfs_vnops.c

   zfs: fix case insensitive / utf-8 normalized file names (cont.)

   this was intented to be a part of an earlier commit.
   ("zfs: fix case insensitive / utf-8 normalized file names")

   for some reasons, it seems i unintentionally dropped this hunk
   when porting the commit from git to cvs.
VersionDeltaFile
1.91+5-3external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
+5-31 files

NetBSD/src LPoV4w0external/mit/xorg/lib/libXfont Makefile

   libXfont no longer need fno-stack-protector for m68k(sf).

   This has been fixed by recent changes to gcc.
VersionDeltaFile
1.16+1-5external/mit/xorg/lib/libXfont/Makefile
+1-51 files

NetBSD/pkgsrc VljyF0fdoc CHANGES-2026

   doc: Updated pkgtools/lintpkgsrc to 2026.03.21
VersionDeltaFile
1.1803+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc EmCjCZHpkgtools/lintpkgsrc Makefile, pkgtools/lintpkgsrc/files lintpkgsrc.1 lintpkgsrc.pl

   lintpkgsrc: minor error handling and doc fixes

   If unable to unlink a file, report this. While here, also fix incorrect
   substitutions in the man page generation.
VersionDeltaFile
1.7+6-6pkgtools/lintpkgsrc/files/lintpkgsrc.1
1.131+7-4pkgtools/lintpkgsrc/files/lintpkgsrc.pl
1.57+2-2pkgtools/lintpkgsrc/Makefile
+15-123 files

NetBSD/src kn6AGmZshare/man/man4 brgphy.4

   brgphy.4: tweak .Nd to include BCM5700 series
VersionDeltaFile
1.4+2-2share/man/man4/brgphy.4
+2-21 files

OpenBSD/src sWfWqMOsys/sys signal.h

   SIGWINCH is now part of POSIX.1-2024

   From Lennart Jablonka; ok guenther@, deraadt@
VersionDeltaFile
1.30+4-2sys/sys/signal.h
+4-21 files

NetBSD/pkgsrc qvt4odVdoc CHANGES-2026

   doc: Updated x11/kitty to 0.46.1
VersionDeltaFile
1.1802+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc WsC9e6Gx11/kitty distinfo go-modules.mk

   kitty: update to 0.46.1

   Package changes:
   - upstream updated to use go 1.26.0

   Upstream changes:
   - smooth scrolling and momentum based scrolling for a natural,
     smooth and kinetic scrolling experience
   - drag kitty tabs around with the mouse to re-order them, move them
     to another kitty OS Window or even detach them into their own OS
     Window
   - resize kitty windows (aka splits) with the mouse
   - many bug fixes
VersionDeltaFile
1.38+70-73x11/kitty/distinfo
1.17+23-24x11/kitty/go-modules.mk
1.36+20-3x11/kitty/PLIST
1.83+4-5x11/kitty/Makefile
+117-1054 files

OpenBSD/src GNOzqc3usr.sbin/sysupgrade sysupgrade.sh

   The percentage heuristic has failed for me on 40% of the machines
   I run, so it is clear it is going to fail for many more people when
   the next release comes out.  It is wrong, back it out.
VersionDeltaFile
1.62+3-2usr.sbin/sysupgrade/sysupgrade.sh
+3-21 files

LLVM/project 4cba4adllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.pops.exiting.wave.id.ll

AMDGPU/GlobalISel: RegBankLegalize rules for pops_exiting_wave_id (#187778)

Merge rule with groupstaticsize, also change to use fast uniform rule
since both of these intrinsics are uniform with no inputs.
DeltaFile
+3-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+2-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.pops.exiting.wave.id.ll
+5-32 files

LLVM/project 36798cfllvm/test/CodeGen/AMDGPU llvm.amdgcn.mbcnt.ll

[AMDGPU][GlobalISel][NFC] Change mbcnt test to use new-reg-bank-select (#187772)

The amdgcn_mbcnt_lo and amdgcn_mbcnt_hi intrinsics already have
RegBankLegalize rules but the test was not converted to use
new-reg-bank-select yet.
DeltaFile
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll
+1-11 files

Linux/linux a0c8317drivers/gpu/drm/amd/amdgpu gmc_v9_0.c, drivers/gpu/drm/imagination pvr_power.c

Merge tag 'drm-fixes-2026-03-21' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Regular weekly pull request, from sunny San Diego. Usual suspects in
  xe/i915/amdgpu with small fixes all over, then some minor fixes across
  a few other drivers. It's probably a bit on the heavy side, but most
  of the fix seem well contained,

  core:
   - drm_dev_unplug UAF fix

  pagemap:
   - lock handling fix

  xe:
   - A number of teardown fixes
   - Skip over non-leaf PTE for PRL generation
   - Fix an uninitialized variable
   - Fix a missing runtime PM reference

    [55 lines not shown]
DeltaFile
+57-36drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+61-25drivers/gpu/drm/xe/xe_guc_submit.c
+39-12drivers/gpu/drm/imagination/pvr_power.c
+29-9drivers/gpu/drm/xe/xe_pt.c
+27-5drivers/gpu/drm/xe/xe_guc.c
+14-7drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+227-9435 files not shown
+325-16741 files

FreeNAS/freenas 0a6bffasrc/middlewared/middlewared/etc_files udev.py, src/middlewared/middlewared/migration 0005_tunables_linux.py

Convert tunable service to new pattern
DeltaFile
+0-225src/middlewared/middlewared/plugins/tunables.py
+164-0src/middlewared/middlewared/plugins/tunable/crud.py
+75-0src/middlewared/middlewared/plugins/tunable/__init__.py
+58-0src/middlewared/middlewared/plugins/tunable/utils.py
+5-3src/middlewared/middlewared/migration/0005_tunables_linux.py
+5-2src/middlewared/middlewared/etc_files/udev.py
+307-2305 files not shown
+318-23711 files

OpenBSD/ports LWzwfB7textproc/cookcli Makefile

   cookcli uses C1x. Move to ports-gcc on base-gcc arches to fix
   build on sparc64
VersionDeltaFile
1.9+4-0textproc/cookcli/Makefile
+4-01 files

LLVM/project 8eccc21libclc CMakeLists.txt, libclc/test CMakeLists.txt check_external_funcs.sh

[libclc] Replace llvm-dis with llvm-nm in check-external-funcs.test (#187190)

llvm-nm is covered by extra_deps in runtime build when
LLVM_INCLUDE_TESTS is true.
DeltaFile
+27-35libclc/test/CMakeLists.txt
+0-30libclc/test/check_external_funcs.sh
+0-10libclc/test/lit.cfg.py
+1-2libclc/CMakeLists.txt
+0-2libclc/test/lit.site.cfg.py.in
+1-1llvm/runtimes/CMakeLists.txt
+29-806 files

LLVM/project b2bd3f5cmake/Modules GetToolchainDirs.cmake, flang/test/Lower/OpenMP simd_aarch64.f90

Avoid unnecessary changes

Apply changes from runtimes_resource-dir

Forward-port

cleanup

cleanup

Remove RUNTIMES_DEVICE_ARCHITECTURES
DeltaFile
+2-114offload/CMakeLists.txt
+0-24runtimes/CMakeLists.txt
+11-0cmake/Modules/GetToolchainDirs.cmake
+0-10runtimes/cmake/config-Fortran.cmake
+4-4openmp/runtime/cmake/LibompExports.cmake
+2-2flang/test/Lower/OpenMP/simd_aarch64.f90
+19-1544 files not shown
+25-16110 files

LLVM/project 46c626ellvm/test/CodeGen/X86 i128-udiv.ll, llvm/test/tools/llvm-mca/RISCV/SiFiveX100/rvv arithmetic.test fp.test

Merge commit 'c8280ddb02dab6df5897bc965a5fd95f382d31b2' into HEAD
DeltaFile
+4,523-0llvm/test/tools/llvm-mca/RISCV/SiFiveX100/rvv/arithmetic.test
+3,703-0llvm/test/tools/llvm-mca/RISCV/SiFiveX100/rvv/fp.test
+3,123-0llvm/test/tools/llvm-mca/RISCV/SiFiveX100/rvv/vlseg-vsseg.test
+2,875-0llvm/test/tools/llvm-mca/RISCV/SiFiveX100/rvv/bitwise.test
+2,859-7llvm/test/CodeGen/X86/i128-udiv.ll
+2,331-0llvm/test/tools/llvm-mca/RISCV/SiFiveX100/rvv/permutation.test
+19,414-71,095 files not shown
+75,457-17,4701,101 files

LLVM/project c8280ddcmake/Modules GetToolchainDirs.cmake, compiler-rt/cmake base-config-ix.cmake

Apply changes from runtimes_resource-dir
DeltaFile
+47-38cmake/Modules/GetToolchainDirs.cmake
+5-45compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+2-0compiler-rt/cmake/base-config-ix.cmake
+2-0libc/CMakeLists.txt
+1-0openmp/CMakeLists.txt
+1-0llvm-libgcc/CMakeLists.txt
+58-835 files not shown
+63-8311 files