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

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

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

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

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

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

This is only for P1689 format as ClangScanDeps/optimize-vfs-pch.m will
check for warning message. I'll leave this to people who want to change
that.
DeltaFile
+23-0clang/test/ClangScanDeps/p1689-suppress-warnings.cppm
+2-0clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+25-02 files

LLVM/project 6c6b4c1clang/lib/CodeGen/Targets RISCV.cpp, clang/test/CodeGen/RISCV riscv64-abi.c riscv32-abi.c

[RISCV] Disable rounding of aggregate return/arguments to iXLen. (#184736)

If the type is rounded to iXLen, an additional zext instruction is
generated. For example, https://godbolt.org/z/bG7vG4dvM
DeltaFile
+82-45clang/test/CodeGen/RISCV/riscv64-abi.c
+48-8clang/test/CodeGen/RISCV/riscv32-abi.c
+25-31clang/test/CodeGen/RISCV/abi-empty-structs.c
+13-19clang/test/CodeGen/RISCV/bfloat-abi.c
+8-8clang/lib/CodeGen/Targets/RISCV.cpp
+176-1115 files

LLVM/project 211b9cellvm/lib/Support CMakeLists.txt

fix support on windows
DeltaFile
+9-0llvm/lib/Support/CMakeLists.txt
+9-01 files

LLVM/project 7dcfba7.ci monolithic-linux.sh monolithic-windows.sh

revert monolithic
DeltaFile
+45-46.ci/monolithic-linux.sh
+12-14.ci/monolithic-windows.sh
+57-602 files

LLVM/project 44bddecclang/lib/ScalableStaticAnalysisFramework/Core CMakeLists.txt

fix AnalysisRegistry
DeltaFile
+5-0clang/lib/ScalableStaticAnalysisFramework/Core/CMakeLists.txt
+5-01 files

LLVM/project d46c19f. benchmark_build.sh

normalize script
DeltaFile
+10-81benchmark_build.sh
+10-811 files

LLVM/project cf643a1flang/lib/Optimizer/HLFIR/Transforms CMakeLists.txt, flang/lib/Optimizer/Transforms CMakeLists.txt

fix build errors
DeltaFile
+11-0flang/lib/Optimizer/Transforms/CMakeLists.txt
+10-0flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
+21-02 files

LLVM/project 0cd7789. benchmark_build.sh

measure memory too
DeltaFile
+13-39benchmark_build.sh
+13-391 files

LLVM/project ed4f58cmlir/include/mlir/Dialect/XeGPU/Transforms Transforms.h, mlir/lib/Dialect/XeGPU/Transforms XeGPUSubgroupDistribute.cpp XeGPUSgToWiDistributeExperimental.cpp

fix xegpu
DeltaFile
+2-17mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp
+2-16mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToWiDistributeExperimental.cpp
+15-0mlir/include/mlir/Dialect/XeGPU/Transforms/Transforms.h
+19-333 files

LLVM/project 0dfdd5aclang/lib/CIR/CodeGen CMakeLists.txt, flang/lib/Evaluate CMakeLists.txt

fix debug for all targets
DeltaFile
+19-0clang/lib/CIR/CodeGen/CMakeLists.txt
+1-15mlir/lib/Dialect/Affine/Transforms/DecomposeAffineOps.cpp
+14-0flang/lib/Evaluate/CMakeLists.txt
+8-0mlir/lib/Dialect/XeGPU/IR/CMakeLists.txt
+7-0flang/lib/Optimizer/CodeGen/CMakeLists.txt
+6-0mlir/examples/toy/Ch3/CMakeLists.txt
+55-1511 files not shown
+100-1517 files

LLVM/project b94bf5aclang-tools-extra/clangd/fuzzer CMakeLists.txt

LLVMFuzzerTestOneInput
DeltaFile
+3-0clang-tools-extra/clangd/fuzzer/CMakeLists.txt
+3-01 files

LLVM/project 71e6db9.ci monolithic-linux.sh monolithic-windows.sh

patch monolithic
DeltaFile
+46-44.ci/monolithic-linux.sh
+14-12.ci/monolithic-windows.sh
+60-562 files

LLVM/project 04f4908. benchmark_build.sh

Change iteration count from 10 to 2
DeltaFile
+1-1benchmark_build.sh
+1-11 files

LLVM/project 71285c7. benchmark_build.sh

measure memory too
DeltaFile
+44-20benchmark_build.sh
+44-201 files

LLVM/project 9778ac4. benchmark_build.sh

add benchmark script
DeltaFile
+99-0benchmark_build.sh
+99-01 files

LLVM/project 07be475. benchmark_build.sh

use time
DeltaFile
+29-10benchmark_build.sh
+29-101 files

LLVM/project ed7efd4clang/lib/StaticAnalyzer/Checkers NullabilityChecker.cpp MallocChecker.cpp, llvm/lib/LTO CMakeLists.txt

fix macros in release mode
DeltaFile
+3-1llvm/lib/LTO/CMakeLists.txt
+1-0llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
+1-0clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
+1-0llvm/tools/llvm-rc/ResourceScriptParser.cpp
+1-0clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+1-0llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+8-16 files

LLVM/project af58268llvm/lib/CodeGen CMakeLists.txt, llvm/lib/CodeGen/SelectionDAG CMakeLists.txt

add comments
DeltaFile
+6-20llvm/lib/Transforms/Vectorize/CMakeLists.txt
+6-0llvm/lib/CodeGen/CMakeLists.txt
+3-0mlir/test/lib/Dialect/Affine/CMakeLists.txt
+3-0llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt
+3-0llvm/lib/Target/RISCV/CMakeLists.txt
+3-0llvm/lib/Target/WebAssembly/CMakeLists.txt
+24-2050 files not shown
+82-2056 files

LLVM/project 3db55dbclang/lib/APINotes CMakeLists.txt, clang/lib/AST CMakeLists.txt

handle more projects
DeltaFile
+38-0clang/lib/CodeGen/CMakeLists.txt
+22-0clang/lib/Basic/CMakeLists.txt
+20-0polly/lib/CMakeLists.txt
+11-0clang/lib/AST/CMakeLists.txt
+11-0clang/lib/APINotes/CMakeLists.txt
+10-0llvm/tools/llvm-c-test/CMakeLists.txt
+112-036 files not shown
+346-042 files

LLVM/project 3a26be0llvm/lib/CodeGen CMakeLists.txt, llvm/lib/Target/AArch64 CMakeLists.txt

UNITY_BUILD
DeltaFile
+33-0llvm/utils/TableGen/CMakeLists.txt
+29-0llvm/lib/Transforms/Vectorize/CMakeLists.txt
+23-0mlir/tools/mlir-tblgen/CMakeLists.txt
+21-0llvm/lib/Target/AArch64/CMakeLists.txt
+21-0mlir/test/lib/IR/CMakeLists.txt
+20-0llvm/lib/CodeGen/CMakeLists.txt
+147-0448 files not shown
+984-0454 files

LLVM/project 11ece73llvm/lib/Transforms/Coroutines CoroElide.cpp CoroFrame.cpp, llvm/lib/Transforms/IPO Annotation2Metadata.cpp ArgumentPromotion.cpp

undo #undef
DeltaFile
+0-1llvm/lib/Transforms/Coroutines/CoroElide.cpp
+0-1llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+0-1llvm/lib/Transforms/Coroutines/CoroSplit.cpp
+0-1llvm/lib/Transforms/Coroutines/SuspendCrossingInfo.cpp
+0-1llvm/lib/Transforms/IPO/Annotation2Metadata.cpp
+0-1llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
+0-6375 files not shown
+0-381381 files

LLVM/project 16083aellvm CMakeLists.txt, mlir/lib/Dialect/SparseTensor/IR/Detail LvlTypeParser.cpp DimLvlMapParser.cpp

use `after`
DeltaFile
+23-0llvm/CMakeLists.txt
+2-0mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorIterator.cpp
+2-0mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
+1-0mlir/lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.cpp
+28-04 files

FreeBSD/ports 17339dfmultimedia/svt-av1 distinfo Makefile

multimedia/svt-av1: update to 4.1.0

Changes:        https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v4.1.0
Reported by:    GitLab (notify releases)
DeltaFile
+3-3multimedia/svt-av1/distinfo
+1-1multimedia/svt-av1/Makefile
+4-42 files

FreeBSD/ports e82b377x11/wl-clipboard distinfo Makefile

x11/wl-clipboard: update to 2.3.0

Changes:        https://github.com/bugaevc/wl-clipboard/releases/tag/v2.3.0
Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11/wl-clipboard/distinfo
+1-2x11/wl-clipboard/Makefile
+4-52 files