LLVM/project a8b669bclang-tools-extra Maintainers.rst

[clangd] Add ArcsinX as a maintainer (#187886)

To address clangd maintance problem, I'm nominating myself as a clangd
maintainer.
I'm currently actively reviewing PRs. I also participated in
clangd-related discourse discussions, subscribed to clangd issues and
PRs. For a while I plan to spend some time for PRs review in clangd.
DeltaFile
+3-0clang-tools-extra/Maintainers.rst
+3-01 files

LLVM/project c4885f0clang-tools-extra/clangd/unittests CMakeLists.txt, clang-tools-extra/include-cleaner/unittests CMakeLists.txt

fix more tarets
DeltaFile
+64-0clang/unittests/CMakeLists.txt
+14-0clang-tools-extra/clangd/unittests/CMakeLists.txt
+11-0clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
+3-3llvm/tools/gold/CMakeLists.txt
+4-0clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
+3-0clang/unittests/Format/CMakeLists.txt
+99-36 files

LLVM/project 4444f51llvm/lib/Target/Hexagon HexagonLoadStoreWidening.cpp, llvm/test/CodeGen/Hexagon store-widen-addasl.mir load-widen-addasl.mir

[Hexagon] Optimize load/store instruction during widening (#186962)

This change enhances the Hexagon Load-Store Widening pass to recognize
and optimize a specific pattern involving the S2_addasl_rrri
instruction. When widening loads/stores, the pass now detects cases
where the base register is defined by an S2_addasl_rrri instruction and
combines the operations into a single load double/store double
instruction with register shift op, eliminating the intermediate address
calculation.

Eg, for load,

If the definition of the base register came from a addasl instruction,
we generate a
memd(Rs + Rt << #imm) instead of memd(Rs + #imm) instruction.

Transform:

%18 = S2_addasl_rrri %8, %17, 3

    [9 lines not shown]
DeltaFile
+89-9llvm/lib/Target/Hexagon/HexagonLoadStoreWidening.cpp
+47-0llvm/test/CodeGen/Hexagon/store-widen-addasl.mir
+35-0llvm/test/CodeGen/Hexagon/load-widen-addasl.mir
+171-93 files

LLVM/project 9228fb5clang/lib/Headers ptrauth.h, compiler-rt/lib/builtins crtbegin.c

[PAC][compiler-rt] Use `__ptrauth` qualifier instead of builtins

Since #100830 has landed, we no longer need to rely on builtins
DeltaFile
+6-22compiler-rt/lib/builtins/crtbegin.c
+8-0clang/lib/Headers/ptrauth.h
+14-222 files

HardenedBSD/src 5dd3c6dcontrib/libcbor CMakeLists.txt, contrib/libcbor/doc/source using.rst

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+377-34contrib/libcbor/test/copy_test.c
+225-114contrib/libcbor/CMakeLists.txt
+135-137contrib/libcbor/test/cbor_serialize_test.c
+170-26contrib/libcbor/src/cbor.c
+183-0contrib/libcbor/examples/crash_course.c
+0-174contrib/libcbor/doc/source/using.rst
+1,090-485142 files not shown
+3,980-2,497148 files

HardenedBSD/src 3a0bf1dcontrib/libcbor CMakeLists.txt, contrib/libcbor/doc/source using.rst

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+377-34contrib/libcbor/test/copy_test.c
+225-114contrib/libcbor/CMakeLists.txt
+135-137contrib/libcbor/test/cbor_serialize_test.c
+170-26contrib/libcbor/src/cbor.c
+183-0contrib/libcbor/examples/crash_course.c
+0-174contrib/libcbor/doc/source/using.rst
+1,090-485142 files not shown
+3,980-2,497148 files

HardenedBSD/src 6cc67c3release/tools vmimage.subr ec2.conf

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+0-7release/tools/vmimage.subr
+0-4release/tools/ec2.conf
+1-0release/tools/ec2-builder.conf
+1-0release/tools/ec2-small.conf
+2-114 files

HardenedBSD/ports c749e11graphics/vhs distinfo Makefile, multimedia/pipe-viewer distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+5-5graphics/vhs/distinfo
+3-3x11/wl-clipboard/distinfo
+3-3multimedia/svt-av1/distinfo
+3-3multimedia/pipe-viewer/distinfo
+2-3graphics/vhs/Makefile
+1-2x11/wl-clipboard/Makefile
+17-192 files not shown
+19-218 files

LLVM/project f253dd2clang-tools-extra/clangd/unittests CMakeLists.txt, clang-tools-extra/include-cleaner/unittests CMakeLists.txt

fix more tarets
DeltaFile
+63-0clang/unittests/CMakeLists.txt
+14-0clang-tools-extra/clangd/unittests/CMakeLists.txt
+11-0clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
+3-3llvm/tools/gold/CMakeLists.txt
+4-0clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
+95-35 files

LLVM/project 4dfeaa7llvm/lib/Target/LoongArch LoongArchISelLowering.cpp, llvm/lib/Target/RISCV RISCVISelLowering.cpp

Address lenary's comments
DeltaFile
+3-2llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+2-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+5-32 files

LLVM/project c668607llvm/test/CodeGen/RISCV pr187832.ll issue187832.ll

Address topperc's comments
DeltaFile
+48-0llvm/test/CodeGen/RISCV/pr187832.ll
+0-48llvm/test/CodeGen/RISCV/issue187832.ll
+48-482 files

LLVM/project ad1bd20clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen TargetInfo.cpp TargetInfo.h

update requiresAMDGPUProtectedVisibility and other minor fixes
DeltaFile
+51-64clang/lib/CIR/CodeGen/Targets/AMDGPU.cpp
+12-5clang/lib/CIR/CodeGen/TargetInfo.cpp
+4-0clang/lib/CIR/CodeGen/TargetInfo.h
+0-1clang/include/clang/CIR/MissingFeatures.h
+67-704 files

LLVM/project d4099c2clang/lib/DependencyScanning DependencyScannerImpl.cpp, clang/test/ClangScanDeps p1689-suppress-warnings.cppm

Revert "[ClangScanDeps] Do not emit warning for P1689 format (#186966)"

This reverts commit caf619642a6dbb216969a9450d33dbac5a8d30df.
DeltaFile
+0-23clang/test/ClangScanDeps/p1689-suppress-warnings.cppm
+0-2clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+0-252 files

LLVM/project 704c60fclang/lib/Tooling InterpolatingCompilationDatabase.cpp, clang/unittests/Tooling CompilationDatabaseTest.cpp

[clang][Tooling] Preserve -std flag when transferring compile commands across same-family language (#184560)

Previously, transfering a compile command from e.g. an ObjC++ source
(`.mm) to a C++ header (`.hh`) would drop `-std=c++20` because they
were different languages.

Fixes https://github.com/clangd/clangd/issues/1014
Fixes https://github.com/clangd/clangd/issues/2613

Signed-off-by: Dominique Fuchs <df at 0x9d.net>
DeltaFile
+19-0clang/unittests/Tooling/CompilationDatabaseTest.cpp
+13-3clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
+32-32 files

LLVM/project bd59725clang/lib/AST/ByteCode Interp.cpp Interp.h, clang/test/SemaTemplate stack-exhaustion.cpp

[clang][bytecode] Revert tailcalls (#188169)

This _still_ causes problems on aarch64+msan, even when not using
tailcalls at all.

Reverts #173756
DeltaFile
+89-162clang/lib/AST/ByteCode/Interp.cpp
+48-87clang/utils/TableGen/ClangOpcodesEmitter.cpp
+12-38clang/lib/AST/ByteCode/Interp.h
+3-3clang/lib/AST/ByteCode/Compiler.cpp
+0-5clang/lib/AST/ByteCode/EvalEmitter.cpp
+0-4clang/test/SemaTemplate/stack-exhaustion.cpp
+152-2993 files not shown
+152-3069 files

OpenBSD/ports hqnueMtsysutils/rclone distinfo Makefile

   Update to rclone-1.73.3

   Changes: https://rclone.org/changelog/#v1-73-3-2026-03-23
VersionDeltaFile
1.62+4-4sysutils/rclone/distinfo
1.72+1-1sysutils/rclone/Makefile
+5-52 files

LLVM/project fde31ccllvm/lib/Target/AMDGPU SIISelLowering.cpp

Disable DPP reduction path for 64-bit values
DeltaFile
+2-1llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+2-11 files

LLVM/project 11176f1mlir/docs/Bindings Python.md

[MLIR][Python][Docs] Fix example of Python-defined dialects

Some breaking changes are introduced in #186574 for Python-defined dialects. So we need to fix the example in the docs.
DeltaFile
+2-2mlir/docs/Bindings/Python.md
+2-21 files

LLVM/project dee01fbclang Maintainers.md

Step down as clang-format maintainer (#187910)

I'm stepping down as clang-format maintainer and nominating
@HazardyKnusperkeks to take my place.
DeltaFile
+2-4clang/Maintainers.md
+2-41 files

LLVM/project c1a45ffclang/docs ClangFormatStyleOptions.rst, clang/include/clang/Format Format.h

[clang-format][doc] Add a note to OneLineFormatOffRegex option

Closes #184639
DeltaFile
+5-0clang/docs/ClangFormatStyleOptions.rst
+4-0clang/include/clang/Format/Format.h
+9-02 files

SmartOS/live 1ee5bfdsrc/vm/node_modules VM.js

fix jsstyle
DeltaFile
+5-5src/vm/node_modules/VM.js
+5-51 files

LLVM/project fd11cf4clang/include/clang/AST Decl.h, clang/lib/Sema Sema.cpp SemaDecl.cpp

[clang] Extend -Wunused-but-set-variable to static globals (#178342)

This PR extends the capability of -Wunused-but-set-variable to track and
diagnose static global variables that are assigned values within a
function but whose values are never used. This change complements
-Wunused-variable, which detects static globals that are neither set nor
used.

I created this change with the help of claude for some initial guidance.

Fixes #148361
DeltaFile
+165-0clang/test/Sema/warn-unused-but-set-static-global.cpp
+132-0clang/test/Sema/warn-unused-but-set-static-global.c
+40-0clang/lib/Sema/Sema.cpp
+13-14clang/lib/Sema/SemaDecl.cpp
+15-0clang/include/clang/AST/Decl.h
+9-2clang/lib/Sema/SemaExpr.cpp
+374-166 files not shown
+393-2212 files

FreeBSD/src c6bcf6esys/netpfil/pf pf_ioctl.c

pf: include all elements when hashing rules

MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+97-9sys/netpfil/pf/pf_ioctl.c
+97-91 files

FreeBSD/src 66d66ddsbin/pfctl pfctl.c

pfctl: always warn if a duplicate rule was detected

MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+2-2sbin/pfctl/pfctl.c
+2-21 files

FreeBSD/src ab74151tests/sys/netpfil/pf pass_block.sh

pf tests: verify that we handle address range rules correctly

There's been a problem where rules which differed only in address ranges
were considered duplicates and not added. Test for this.

MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+38-0tests/sys/netpfil/pf/pass_block.sh
+38-01 files

FreeBSD/src 1fa873csys/netpfil/pf pf_ioctl.c

pf: Fix hashing of IP address ranges

This corrects the false detection of duplicate rules.

MFC after:      1 week
Reviewed by:    kp
DeltaFile
+1-0sys/netpfil/pf/pf_ioctl.c
+1-01 files

SmartOS/live c1e4723src/vm/node_modules VM.js

Don't forget to setAttr()
DeltaFile
+1-0src/vm/node_modules/VM.js
+1-01 files

LLVM/project a2c6b34llvm/lib/Target/WebAssembly WebAssemblyFastISel.cpp, llvm/test/CodeGen/WebAssembly load-ext.ll

[WebAssembly][FastISel] Fold i64 extension chains into widened loads (#187934)

FastISel can already fold some sign- and zero-extending loads, but a
number of i64 extension patterns still leave redundant instructions
behind.

This patch series extends load folding to recognize several such cases,
including:
- promoted sign-extension chains
- copy + i64.extend_i32_{u,s} chains
- AND-based zero-extension chains
- shift-based sign-extension chains

When these patterns originate from narrow integer loads, fold them
directly into widened i64 loads instead of materializing intermediate
i32 loads followed by redundant i64 extends.

Fixes #179672
DeltaFile
+217-78llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+54-92llvm/test/CodeGen/WebAssembly/load-ext.ll
+271-1702 files

NetBSD/src YiRYd26sys/arch/alpha/tlsb tlsbreg.h

   Define some device offsets relative to the GBUS base.
VersionDeltaFile
1.9+19-2sys/arch/alpha/tlsb/tlsbreg.h
+19-21 files

NetBSD/src Om5QH0psys/arch/hp300/dev dma.c, sys/arch/hp300/hp300 machdep.c

   CACHE_HAVE_PAC -> M68K_EC_PAC
   CACHE_HAVE_VAC -> M68K_EC_VAC

   NFCI
VersionDeltaFile
1.103+25-25sys/arch/m68k/m68k/pmap_motorola.c
1.49+8-8sys/arch/hp300/dev/dma.c
1.17+4-4sys/arch/m68k/m68k/sys_machdep.c
1.255+3-3sys/arch/hp300/hp300/machdep.c
1.52+2-2sys/arch/m68k/include/pmap_motorola.h
+42-425 files