LLVM/project c80aca5llvm/lib/Debuginfod Debuginfod.cpp

Review: debuginfod, warn but not fail
DeltaFile
+3-1llvm/lib/Debuginfod/Debuginfod.cpp
+3-11 files

LLVM/project 90cb394llvm/include/llvm/Support CachePruning.h

Review: move the on failure line
DeltaFile
+2-2llvm/include/llvm/Support/CachePruning.h
+2-21 files

LLVM/project f418a7bllvm/lib/Debuginfod Debuginfod.cpp, llvm/lib/LTO ThinLTOCodeGenerator.cpp

Review: ErrOrPruned->PrunedOrErr
DeltaFile
+3-3llvm/lib/Debuginfod/Debuginfod.cpp
+3-3llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+6-62 files

LLVM/project 695a2ccllvm/lib/Support CachePruning.cpp

Review: More verbose error on disk space failure
DeltaFile
+7-5llvm/lib/Support/CachePruning.cpp
+7-51 files

LLVM/project 2f0b934llvm/include/llvm/Support CachePruning.h

Review: typo Peform->Perform
DeltaFile
+1-1llvm/include/llvm/Support/CachePruning.h
+1-11 files

LLVM/project 666c568llvm/lib/Debuginfod Debuginfod.cpp, llvm/lib/LTO ThinLTOCodeGenerator.cpp

Review: no-auto, use Expected<bool>
DeltaFile
+2-1llvm/lib/Debuginfod/Debuginfod.cpp
+1-1llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+3-22 files

LLVM/project f8c660flldb/source/Core DataFileCache.cpp

Missing LLDB side
DeltaFile
+6-1lldb/source/Core/DataFileCache.cpp
+6-11 files

LLVM/project 1a67675lld/ELF LTO.cpp, lld/wasm LTO.cpp

[Support][Cache] Make `pruneCache` return an `Expected`

When `sys::fs::disk_space` would fail in during a call to `pruneCache`,
it would report a `fatal_error`. However, a failure to prune doesn't
mean the caller should fail catastrophically.

Downstream, we use LLVM's cache in the OpenCL runtime. A failure to prune
the cache can be safely ignored without stopping the user's application.
DeltaFile
+4-4llvm/lib/Support/CachePruning.cpp
+5-1llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+4-1llvm/lib/Debuginfod/Debuginfod.cpp
+3-1llvm/include/llvm/Support/CachePruning.h
+2-1lld/wasm/LTO.cpp
+2-1lld/ELF/LTO.cpp
+20-93 files not shown
+24-129 files

LLVM/project 6ec142fllvm/lib/LTO ThinLTOCodeGenerator.cpp

Extra )
DeltaFile
+2-1llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+2-11 files

LLVM/project 5659f86clang/docs UsersManual.rst, clang/include/clang/Basic CodeGenOptions.h

[clang] Implement -fstrict-bool (#160790)

This PR implements the [-fstrict-bool
RFC](https://discourse.llvm.org/t/defining-what-happens-when-a-bool-isn-t-0-or-1/86778/).

``bool`` values are stored as i8 in memory, and it is undefined behavior
for a ``bool`` value to be any value other than 0 or 1. Clang exploits
this with range metadata: ``bool`` load instructions at any optimization
level above -O0 are assumed to only have their lowest bit set. This can
create memory safety problems when other bits are set, for instance
through ``memcpy``.

This change allows users to configure this behavior in three ways:

* ``-fstrict-bool`` represents the status quo; range metadata is added
at levels above -O0 and allows the compiler to assume in-memory ``bool``
values are always either 0 or 1.
* ``-fno-strict-bool[={truncate|nonzero}]`` disables range metadata on
``bool`` loaded values and offers two ways to interpret the loaded

    [7 lines not shown]
DeltaFile
+176-0clang/test/CodeGenHLSL/builtins/BoolSwizzles.hlsl
+72-0clang/test/CodeGen/strict-bool.c
+46-17clang/lib/CodeGen/CGExpr.cpp
+30-0clang/docs/UsersManual.rst
+28-0clang/test/Driver/strict-bool.c
+26-0clang/include/clang/Basic/CodeGenOptions.h
+378-178 files not shown
+463-3914 files

LLVM/project 2a3639cllvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/test/CodeGen/RISCV combine-is_fpclass.ll

[DAG] computeKnownFPClass - add ISD::EXTRACT_VECTOR_ELT handling (#190307)

This PR implements `ISD::EXTRACT_VECTOR_ELT` in
`SelectionDAG::computeKnownFPClass` to propagate floating-point class
information from vector sources to extracted scalar elements.

Additionally, added RISC-V test coverage for `ISD::EXTRACT_VECTOR_ELT`.

Fixes #189585
DeltaFile
+164-0llvm/test/CodeGen/RISCV/combine-is_fpclass.ll
+19-0llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+183-02 files

FreeNAS/freenas 81de535src/freenas/usr/local/sbin disk_resize

NAS-140748 / 26.0.0-BETA.2 / disk_resize: increase NVMe delete-ns timeout and accept flexible device args (by darkfiberiru) (#18782)

## Summary
- Replace `nvme delete-ns` with `nvme admin-passthru` using a 21-minute
timeout to handle drives where namespace deletion can exceed the default
60s kernel admin timeout (nvme-cli's `-t` flag has a bug where
`delete-ns` silently ignores it)
- Accept `/dev/` paths and bare NVMe controller names (e.g. `nvme3`) in
addition to namespace devices, resolving to the single namespace
automatically

## Test plan
- [x] Run `disk_resize` on NVMe drive with data written to namespace,
verify delete-ns completes without controller reset
- [x] Run `disk_resize nvme3` (controller name), verify it resolves to
namespace and completes
- [x] Run `disk_resize /dev/nvme3n1` (absolute path), verify it strips
path and completes
- [x] Run `disk_resize` on controller with multiple namespaces, verify

    [11 lines not shown]
DeltaFile
+34-1src/freenas/usr/local/sbin/disk_resize
+34-11 files

FreeBSD/ports 3d69dd6lang/gnat12 Makefile, lang/gnat13 Makefile

lang/gnat1?: fix build with GNU strip

After D55509 $STRIP_CMD has been set to GNU strip for these ports, and in some
cases this breaks, because GNU strip will refuse to strip non-writable files,
while LLVM strip is happy to (attempt to) strip them.

PR:             294657
Reported by:    kib at FreeBSD.org
Reviewed by:    kib at FreeBSD.org
Phabricator:    D55509
MFC after:      8 days
DeltaFile
+6-0lang/gnat12/Makefile
+6-0lang/gnat13/Makefile
+6-0lang/gnat14/Makefile
+18-03 files

FreeNAS/freenas 55ba335src/freenas/usr/local/sbin disk_resize

NAS-140748 / disk_resize: increase NVMe delete-ns timeout and accept flexible device args (#18778)

## Summary
- Replace `nvme delete-ns` with `nvme admin-passthru` using a 21-minute
timeout to handle drives where namespace deletion can exceed the default
60s kernel admin timeout (nvme-cli's `-t` flag has a bug where
`delete-ns` silently ignores it)
- Accept `/dev/` paths and bare NVMe controller names (e.g. `nvme3`) in
addition to namespace devices, resolving to the single namespace
automatically

## Test plan
- [x] Run `disk_resize` on NVMe drive with data written to namespace,
verify delete-ns completes without controller reset
- [x] Run `disk_resize nvme3` (controller name), verify it resolves to
namespace and completes
- [x] Run `disk_resize /dev/nvme3n1` (absolute path), verify it strips
path and completes
- [x] Run `disk_resize` on controller with multiple namespaces, verify

    [8 lines not shown]
DeltaFile
+34-1src/freenas/usr/local/sbin/disk_resize
+34-11 files

LLVM/project 6fcc4d7clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticSemaKinds.td

Revert "[Clang] Diagnose UB and emit error when identifier has both internal and external linkage" (#193462)

Reverts llvm/llvm-project#192116

See comments at
https://github.com/llvm/llvm-project/pull/192116#pullrequestreview-4153002566
DeltaFile
+0-36clang/test/Sema/linkage-internal-extern.c
+0-19clang/test/Sema/linkage-internal-extern.cpp
+0-19clang/lib/Sema/SemaDecl.cpp
+6-4clang/test/C/C2y/n3410.c
+0-6clang/docs/ReleaseNotes.rst
+0-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+6-871 files not shown
+7-887 files

LLVM/project 17be5a7lldb/tools/debugserver/source RNBRemote.cpp RNBRemote.h

[debugserver][NFCI] Factor out logic handling breakpoint packets (#192912)

This creates a helper function that can be shared with the upcoming
MultiBreakpoint packet.

It is largely NFC with one logging exception: where we were previously
sending an "ILL_FORMED" error, we would identify the file/line in the
location where the error was emitted. This has been lost, however the
error messages are still unique enough that the line can be recovered
from the error message, and this is a principle we've been trying to
follow.

There was also a comment about gdb and refcounting of breakpoints. Such
comment was removed as it did not seem applicable to any line of code.
DeltaFile
+41-28lldb/tools/debugserver/source/RNBRemote.cpp
+24-0lldb/tools/debugserver/source/RNBRemote.h
+65-282 files

LLVM/project 5fc5c11clang-tools-extra/clang-tidy/readability IdentifierLengthCheck.cpp IdentifierLengthCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy][readability-identifier-length] Add a line count threshold (without std::transform_reduce) (#193276)

This PR is a new attempt at implementing the feature described in
#185318 after the rollback of #185319.
DeltaFile
+85-0clang-tools-extra/test/clang-tidy/checkers/readability/identifier-length-line-count-threshold.cpp
+57-1clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.cpp
+18-0clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
+5-0clang-tools-extra/docs/ReleaseNotes.rst
+2-0clang-tools-extra/clang-tidy/readability/IdentifierLengthCheck.h
+167-15 files

LLVM/project 6d097d2clang/tools/c-index-test CMakeLists.txt

[clang] Suppress glibc C11 extension warning in `c-index-test` (#193335)

`c-index-test.c` is still compiled with `-std=gnu89` on purpose. That acts
as a useful guard rail: it helps keep the file compatible with older C
dialects instead of silently picking up newer C features because Clang
defaults to a newer language mode.

Ubuntu 26.04 LTS updates glibc's `string.h` so `strchr`, `strrchr` and
`strstr` are routed through `_Generic`-based macros. When Clang compiles
`c-index-test.c` with `-std=gnu89` and `-pedantic`, that now triggers
`-Wc11-extensions` warnings even though the source itself is not using
C11 features.

Keep the gnu89 check in place and suppress this warning only for Clang
when building c-index-test.

Fixes #193356
DeltaFile
+6-0clang/tools/c-index-test/CMakeLists.txt
+6-01 files

NetBSD/src mJzjKNalibexec/httpd lua-bozo.c

   Fix double free of uri (later handled by bozo_clean_request())
VersionDeltaFile
1.16+1-2libexec/httpd/lua-bozo.c
+1-21 files

NetBSD/src 8RpgLzelibexec/httpd bozohttpd.c

   Fix use-after-free in the "http://" case
VersionDeltaFile
1.150+3-3libexec/httpd/bozohttpd.c
+3-31 files

LLVM/project 9486367clang/docs ReleaseNotes.rst, clang/include/clang/Basic DiagnosticSemaKinds.td

Revert "[Clang] Diagnose UB and emit error when identifier has both internal …"

This reverts commit 1e2175ec4df79de3c18c504dea0dcbaab4b38306.
DeltaFile
+0-36clang/test/Sema/linkage-internal-extern.c
+0-19clang/lib/Sema/SemaDecl.cpp
+0-19clang/test/Sema/linkage-internal-extern.cpp
+6-4clang/test/C/C2y/n3410.c
+0-6clang/docs/ReleaseNotes.rst
+0-3clang/include/clang/Basic/DiagnosticSemaKinds.td
+6-871 files not shown
+7-887 files

LLVM/project b2f3532utils/bazel/llvm-project-overlay/clang BUILD.bazel

Revert "[Bazel] Fixes 8e56a89" (#193459)

Reverts llvm/llvm-project#193450

Since original change was also reverted in
582958c4337f539e650096c0257a322315298e1a
DeltaFile
+1-4utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+1-41 files

LLVM/project c1cff89mlir/include/mlir/Conversion/LLVMCommon LowerFunctionDiscardablesToLLVM.h, mlir/include/mlir/Dialect/GPU/IR GPUOps.td

[mlir][GPU] Refactor GPUOps lowering (#188905)

This change promotes `gpu.func` / `gpu.launch` metadata that was
previously carried as discardable attributes into proper inherent ODS
fields (`kernel`, `workgroup_attributions`), renames the block-argument
helpers to avoid clashing with generated getters, and routes `func.func`
and `gpu.func` lowering through a shared helper that maps discardable
`llvm.*` attributes into `llvm.func` properties.

Downstream producers (Flang CUDA device func transform, kernel
outlining, sparse GPU codegen, XeGPU) set kernels via `setKernel(true)`
instead of manually attaching `gpu.kernel`.

Fixes #185174

Assisted-by: CLion code completion, GPT 5.3 - Codex
DeltaFile
+68-64mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
+23-81mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
+34-36mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
+60-0mlir/lib/Conversion/LLVMCommon/LowerFunctionDiscardablesToLLVM.cpp
+22-31mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
+40-0mlir/include/mlir/Conversion/LLVMCommon/LowerFunctionDiscardablesToLLVM.h
+247-2126 files not shown
+262-22212 files

LLVM/project b313bb7clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/test/CodeGen/AArch64 neon-intrinsics.c v8.2a-neon-intrinsics.c

[Clang][AArch64] Lower NEON fcvtz{u/s} intrinsics into fpto{u/s}i.sat (#191365)

They already produce identical assembly.
DeltaFile
+166-166clang/test/CodeGen/AArch64/neon-intrinsics.c
+19-26clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+22-22clang/test/CodeGen/AArch64/v8.2a-neon-intrinsics.c
+19-19clang/test/CodeGen/AArch64/neon-misc.c
+12-12clang/test/CodeGen/AArch64/neon-intrinsics-constrained.c
+12-6clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics-constrained.c
+250-2513 files not shown
+278-2659 files

LLVM/project a5f7f49mlir/lib/Dialect/Linalg/IR LinalgOps.cpp, mlir/test/Dialect/Linalg canonicalize.mlir

[mlir][linalg] Fix crash when folding tensor.cast into unpack using static packed shape for inner tiles (#188000)

This change fixes #187975 and #188405, a crash in Linalg tensor-cast
folding for pack/unpack when tile sizes are dynamic or otherwise not
provably constant.

Previously, canonicalization could reach getNewMixedTileSizes and
unconditionally access `getConstantIntValue(tile).value()`. For dynamic
tile operands, that value can be absent, causing
`std::bad_optional_access/assert` aborts.

When folding `tensor.cast` into `linalg.unpack` (and the same helper is
used for linalg.pack), mixed inner tile sizes are updated from the
refined packed tensor type. Every static trailing packed dimension gets
a matching static tile attribute, replacing SSA tile values and
overwriting tile constants that disagreed with that type.

Dynamic packed dimensions still keep the original tile operands.

Assisted-by: CLion code completion
DeltaFile
+79-0mlir/test/Dialect/Linalg/canonicalize.mlir
+6-19mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+85-192 files

LLVM/project 6ca00b1clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGen optsize-func-attr.cpp function-target-features.c

[CIR] Emit target-cpu, target-features, and tune-cpu on cir.func
DeltaFile
+81-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+32-0clang/test/CIR/CodeGenHIP/target-features.hip
+12-18clang/test/CIR/CodeGen/optsize-func-attr.cpp
+27-0clang/test/CIR/CodeGen/function-target-features.c
+8-8clang/test/CIR/CodeGen/misc-attrs.cpp
+13-0clang/test/CIR/CodeGen/tune-cpu.c
+173-2815 files not shown
+202-5421 files

LLVM/project 34a8d49utils/bazel/llvm-project-overlay/clang BUILD.bazel

[Bazel] Fixes 8e56a89 (#193450)

This fixes 8e56a89c8f28c2d8b1a952b0ee321c4953594b6b.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+4-1utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+4-11 files

OPNSense/core 39ef350src/opnsense/mvc/app/library/OPNsense/Auth Radius.php

system: style sweep wants to reorder this
DeltaFile
+8-4src/opnsense/mvc/app/library/OPNsense/Auth/Radius.php
+8-41 files

NetBSD/pkgsrc-wip 5b17fb4dnsdist Makefile COMMIT_MSG, dnsdist/files dnsdist.sh

net/dnsdist: Update to version 2.0.4
DeltaFile
+75-0dnsdist/Makefile
+29-0dnsdist/COMMIT_MSG
+28-0dnsdist/files/smf/manifest.xml
+24-0dnsdist/files/dnsdist.sh
+15-0dnsdist/patches/patch-configure
+6-0dnsdist/distinfo
+177-02 files not shown
+185-08 files

NetBSD/pkgsrc-wip d52dfcepowerdns-recursor distinfo cargo-depends.mk, powerdns-recursor/files pdns_recursor.sh

net/powerdns-recursor: Update to version 5.4.1
DeltaFile
+299-0powerdns-recursor/distinfo
+100-0powerdns-recursor/cargo-depends.mk
+51-0powerdns-recursor/Makefile
+30-0powerdns-recursor/files/smf/manifest.xml
+24-0powerdns-recursor/files/smf/pdns_recursor.sh
+19-0powerdns-recursor/files/pdns_recursor.sh
+523-03 files not shown
+543-09 files