LLVM/project 1828356.ci premerge_advisor_explain.py, .github/workflows commit-create-issue.py

[Github] Fully remove use of login_or_token (#179258)

PyGithub deprecated this a while back. An earlier patch attempted to fix
all the deprecations, but it looks like my grep expression missed a
bunch of cases. This patch should catch the remaining ones (minus libc++
which have been split for review by libc++ maintainers).
DeltaFile
+18-10llvm/utils/git/github-automation.py
+3-1.ci/premerge_advisor_explain.py
+2-2llvm/utils/release/github-upload-release.py
+1-1llvm/utils/git/code-lint-helper.py
+1-1.github/workflows/commit-create-issue.py
+1-1llvm/utils/git/code-format-helper.py
+26-166 files

FreeBSD/ports 614cec6devel/kBuild Makefile distinfo, devel/kBuild/files patch-src_kmk_getopt.h patch-src_kmk_glob_fnmatch.c

devel/kBuild: Update 0.1.9998r3660 => 0.1.9998r3687, fix build with GCC 15

Commit log:
https://trac.netlabs.org/kbuild/changeset?reponame=&new=3687%40trunk&old=3660%40trunk

PR:     292692 292801
DeltaFile
+13-18devel/kBuild/Makefile
+11-0devel/kBuild/files/patch-src_kmk_getopt.h
+11-0devel/kBuild/files/patch-src_kmk_glob_fnmatch.c
+11-0devel/kBuild/files/patch-src_oldsed_lib_getopt.h
+3-3devel/kBuild/distinfo
+2-0devel/kBuild/pkg-plist
+51-216 files

FreeNAS/freenas 0fabf2esrc/middlewared/middlewared/alembic/versions/26.04 2026-02-02_17-14_nvmet_host_description.py, src/middlewared/middlewared/api/v26_04_0 nvmet_host.py

Add description field to nvmet host
DeltaFile
+26-0src/middlewared/middlewared/alembic/versions/26.04/2026-02-02_17-14_nvmet_host_description.py
+2-0src/middlewared/middlewared/api/v26_04_0/nvmet_host.py
+1-0src/middlewared/middlewared/plugins/nvmet/host.py
+29-03 files

LLVM/project fba111dmlir/lib/Dialect/GPU/Transforms PromoteShuffleToAMDGPU.cpp

[MLIR] Apply clang-tidy fixes for bugprone-argument-comment in PromoteShuffleToAMDGPU.cpp (NFC)
DeltaFile
+2-1mlir/lib/Dialect/GPU/Transforms/PromoteShuffleToAMDGPU.cpp
+2-11 files

LLVM/project ca63b01mlir/include/mlir/Dialect/SPIRV/IR SPIRVTypes.h

[NFC][mlir][SPIRV] Fix mix up in comments (#179285)

DeltaFile
+2-2mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTypes.h
+2-21 files

LLVM/project 32ccf4ellvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Move ldexp KnownFPClass handling to support (#179235)

Will enable code sharing with SImplifyDemandedFPClass, SelectionDAG
and GlobalISel.
DeltaFile
+9-48llvm/lib/Analysis/ValueTracking.cpp
+48-0llvm/lib/Support/KnownFPClass.cpp
+6-0llvm/include/llvm/Support/KnownFPClass.h
+63-483 files

LLVM/project 85c96fflldb/include/lldb/Core Module.h, lldb/source/Core Module.cpp

[lldb][NFC] Remove unused method Module::SetUUID (#178803)

DeltaFile
+0-10lldb/source/Core/Module.cpp
+0-2lldb/include/lldb/Core/Module.h
+0-122 files

LLVM/project a1b0504lldb/tools/lldb-dap/Handler StepOutRequestHandler.cpp StepInRequestHandler.cpp

[lldb-dap] Check the process state before thread or frame validation. (#179202)

We are sending an invalid thread error on a valid thread because the
process is not in a stopped state.
Send a `notStoppedError` so the client can retry at a later state after
we have sent a stopped event.

This can happen when debugging a large binary and the user spams the
step over button.
DeltaFile
+4-4lldb/tools/lldb-dap/Handler/StepOutRequestHandler.cpp
+3-3lldb/tools/lldb-dap/Handler/StepInRequestHandler.cpp
+6-0lldb/tools/lldb-dap/Handler/StepInTargetsRequestHandler.cpp
+3-3lldb/tools/lldb-dap/Handler/NextRequestHandler.cpp
+5-0lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp
+21-105 files

LLVM/project 5fbf411clang/lib/StaticAnalyzer/Core RegionStore.cpp, clang/test/Analysis uninit-vals.cpp

[analyzer] Fix crash when copying uninitialized data in function named "swap" (#178923)

So the RegionStore has some assumptions, namely that the
core.unitialized.Assign checker is enabled and detects copying Undefined
(read of uninitialized data) before the Store is instructed to model
this.

As it turns out, there is a little hack in the
UndefinedAssignmentChecker:
```c++
void UndefinedAssignmentChecker::checkBind(SVal location, SVal val,
                                           const Stmt *StoreE, bool AtDeclInit,
                                           CheckerContext &C) const {
  if (!val.isUndef())
    return;

  // Do not report assignments of uninitialized values inside swap functions.
  // This should allow to swap partially uninitialized structs
  if (const FunctionDecl *EnclosingFunctionDecl =

    [20 lines not shown]
DeltaFile
+18-0clang/test/Analysis/uninit-vals.cpp
+1-4clang/lib/StaticAnalyzer/Core/RegionStore.cpp
+19-42 files

OpenZFS/src 13601e2scripts objtool-wrapper.in

Linux 6.19: handle --werror with CONFIG_OBJTOOL_WERROR=y

Linux upstream commit 56754f0f46f6: "objtool: Rename
--Werror to --werror" did just that, so we should check for
either "--Werror" or "--werror", else the build will fail

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Attila Fülöp <attila at fueloep.org>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: John Cabaj <john.cabaj at canonical.com>
Closes #18152
DeltaFile
+2-2scripts/objtool-wrapper.in
+2-21 files

LLVM/project 37b56e7.github/workflows prune-unused-branches.py prune-branches.yml

[Github] Make prune-unused-branches workflow prune branches (#178769)

This adds in the final piece to the workflow to actually delete unused
user branches. For now this is limited to my branches so we can validate
this a little more in the production environment before starting to
delete all branches.
DeltaFile
+21-0.github/workflows/prune-unused-branches.py
+2-0.github/workflows/prune-branches.yml
+23-02 files

FreeBSD/ports ad610cfaudio/rubberband/files patch-src_common_mathmisc.h

audio/rubberband: fix build with libc++ 21

With libc++ 21 audio/rubberband fails to build, with errors similar to:

    In file included from ../src/common/mathmisc.cpp:24:
    ../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you mean 'std::size_t'?
       58 | size_t roundUp(size_t value); // to nearest power of two
          | ^~~~~~
          | std::size_t
    /usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared here
       20 | using size_t = decltype(sizeof(int));
          |       ^

This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.

PR:             292868
Approved by:    acm (maintainer)

    [3 lines not shown]
DeltaFile
+10-0audio/rubberband/files/patch-src_common_mathmisc.h
+10-01 files

FreeBSD/ports 78992d8audio/rubberband/files patch-src_common_mathmisc.h

audio/rubberband: fix build with libc++ 21

With libc++ 21 audio/rubberband fails to build, with errors similar to:

    In file included from ../src/common/mathmisc.cpp:24:
    ../src/common/mathmisc.h:58:1: error: unknown type name 'size_t'; did you mean 'std::size_t'?
       58 | size_t roundUp(size_t value); // to nearest power of two
          | ^~~~~~
          | std::size_t
    /usr/include/c++/v1/__cstddef/size_t.h:20:7: note: 'std::size_t' declared here
       20 | using size_t = decltype(sizeof(int));
          |       ^

This is because mathmisc.h depended on <stddef.h> being transitively
included, which is no longer the case. Add #include <stddef.h> to fix
the problem.

PR:             292868
Approved by:    acm (maintainer)
MFH:            2026Q1
DeltaFile
+10-0audio/rubberband/files/patch-src_common_mathmisc.h
+10-01 files

LLVM/project 8d188d6llvm/include/llvm/Support KnownFPClass.h KnownBits.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Move powi logic to KnownFPClass

This case is kind of ugly because we still need to look at the
known bits to short circuit the source check
DeltaFile
+22-0llvm/lib/Support/KnownFPClass.cpp
+5-16llvm/lib/Analysis/ValueTracking.cpp
+4-0llvm/include/llvm/Support/KnownFPClass.h
+3-0llvm/include/llvm/Support/KnownBits.h
+34-164 files

LLVM/project 63c1615llvm/test/Transforms/SLPVectorizer/X86 shl-to-add-transformation.ll

[SLP][NFC]Add a case for missed shl-to-add transformation, NFC
DeltaFile
+76-0llvm/test/Transforms/SLPVectorizer/X86/shl-to-add-transformation.ll
+76-01 files

LLVM/project d757adfllvm/utils/TableGen RegisterBankEmitter.cpp

[NFC][TableGen] Adopt `IfDefEmitter` in `RegBankEmitter` (#179014)

- Adopt IfDefEmitter in RegBankEmitter.
- Remove `const` for `StringRef` args.
DeltaFile
+49-56llvm/utils/TableGen/RegisterBankEmitter.cpp
+49-561 files

LLVM/project 2a384a2clang/lib/StaticAnalyzer/Core RegionStore.cpp, clang/test/Analysis store-union-aggregates.c

[analyzer] Avoid overwriting the default binding of union aggregates in incomplete array initializers (#178694)

Preserve existing default bindings in setImplicitDefaultValue to avoid
incorrectly overwriting the probably more accurate default binding when
initializing array elements with union members.

You can read the comments in the store-union-aggregates.c, but here's
what really matters:

We eventually bind the union field, using the "bindAggregate", which
just translates to a default binding at offset 0, binding
"compoundVal{&Element{global_buf}}".

So we will have a default binding at offset 0, by the time we realize
that the second element of the array "buffers" didn't have an explicit
initializer spelled, thus we want to default bind zero in
"setImplicitDefaultValue".

This effectively replaces our original default binding with an incorrect

    [14 lines not shown]
DeltaFile
+35-0clang/test/Analysis/store-union-aggregates.c
+8-0clang/lib/StaticAnalyzer/Core/RegionStore.cpp
+43-02 files

FreeBSD/ports dcdd548devel/llvm-cheri distinfo Makefile.snapshot

devel/llvm-cheri: new snapshot

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm-cheri/distinfo
+2-2devel/llvm-cheri/Makefile.snapshot
+5-52 files

FreeBSD/ports 75ec43cdevel/llvm-morello distinfo Makefile.snapshot

devel/llvm-morello: new snapshot

Includes a fix for a bug (padding of globals in hybrid mode) that
prevented compiling a working FreeBSD aarch64 system.

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm-morello/distinfo
+2-2devel/llvm-morello/Makefile.snapshot
+5-52 files

FreeBSD/ports 7c32287devel/llvm22 distinfo Makefile

devel/llvm22: 22.1.0 RC2

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm22/distinfo
+1-1devel/llvm22/Makefile
+4-42 files

FreeNAS/freenas 37f4fc5src/middlewared/middlewared/plugins/service_/services base.py

NAS-139574 / 26.0.0-BETA.1 / Fix systemd unit stop for non-service units (socket, target, timer) (#18135)

This commit fixes an issue where stopping non-service systemd units
(e.g., docker.socket) would generate repeated errors because the code
was attempting to query the MainPID property from the
org.freedesktop.systemd1.Service D-Bus interface. Non-service units like
sockets, targets, and timers don't have this interface - they use their
own unit-specific interfaces (e.g., org.freedesktop.systemd1.Socket).

The fix adds a check to only query MainPID for .service units, and
relies solely on ActiveState for determining when non-service units have
stopped.
DeltaFile
+29-14src/middlewared/middlewared/plugins/service_/services/base.py
+29-141 files

FreeBSD/ports 8fd03ddgraphics/gegl Makefile, x11/babl Makefile

graphics/gegl: disable relocatable

On discussing with upstream, "relocatable" does not mean ELF
relocation. Currently enabling the feature causes GIMP and other
consumers build and runtime failures.

While here, update comment in x11/babl due to similar architecture.

Reported by: Tatsuki Makino
DeltaFile
+4-2graphics/gegl/Makefile
+1-1x11/babl/Makefile
+5-32 files

LLVM/project 91c4decllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-rounding-intrinsics.ll simplify-demanded-fpclass-fma.ll

InstCombine: Fix SimplifyDemandedFPClass bug with known-snan sources (#179244)

If the result can be a qnan, the source can be a signaling nan.
DeltaFile
+21-5llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+14-7llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-rounding-intrinsics.ll
+10-5llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fma.ll
+6-3llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+4-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
+4-2llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fdiv.ll
+59-248 files not shown
+76-3314 files

FreeBSD/ports 0e43143. UPDATING, www/bluefish distinfo pkg-plist

www/bluefish: Update to 2.4.0

ChangeLog: https://sourceforge.net/p/bluefish/code/HEAD/tree/tags/bluefish_2_4_0/ChangeLog
DeltaFile
+11-0UPDATING
+3-3www/bluefish/distinfo
+5-0www/bluefish/pkg-plist
+1-1www/bluefish/Makefile
+20-44 files

LLVM/project 23821a4mlir/include/mlir/Dialect/Utils ReshapeOpsUtils.h, mlir/test/Dialect/Tensor canonicalize.mlir

[mlir][Utils] Add overflow<nsw> flags to dimension calculations in ReshapeOpsUtils (#178766)

This follows the convention that `tensor/memref` indexing calculations
generally should never signed overflow:

-
[ArithIndexingBuilder](https://github.com/llvm/llvm-project/blob/1ae93c634a16adc0eff8d5693496425cc4725033/mlir/include/mlir/Dialect/Arith/Utils/Utils.h#L123-L125)
- [Affine
lowering](https://github.com/llvm/llvm-project/blob/1ae93c634a16adc0eff8d5693496425cc4725033/mlir/lib/Dialect/Affine/Utils/Utils.cpp#L68-L70)
 
It also enables CSE to properly merge duplicate dimension computations.

Signed-off-by: Yu-Zhewen <zhewenyu at amd.com>
DeltaFile
+4-2mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
+1-1mlir/test/Dialect/Tensor/canonicalize.mlir
+5-32 files

NetBSD/src XY9wsRXsys/dev/pci if_rgereg.h if_rge.c

   Pull up following revision(s) (requested by pgoyette in ticket #1232):

        sys/dev/pci/if_rgereg.h: revision 1.18
        sys/dev/pci/if_rge.c: revision 1.47

   Catch up with upstream (OpenBSD)

            Add support for RTL8125D revision 0x6890000
VersionDeltaFile
1.6.4.4+642-4sys/dev/pci/if_rgereg.h
1.24.4.8+140-29sys/dev/pci/if_rge.c
+782-332 files

LLVM/project e2b7cbfmlir/include/mlir/Dialect/Vector/Transforms LoweringPatterns.h, mlir/lib/Dialect/Affine/Transforms SuperVectorize.cpp

Fix outdated docs with vector.reduce instead of vector.reduction (#178111)

There is no existing `vector.reduce` op in the vector dialect, but
multiple doc strings reference it. This change updates those instances
to the correct `vector.reduction` op.
DeltaFile
+2-2mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp
+2-2mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
+1-1mlir/include/mlir/Dialect/Vector/Transforms/LoweringPatterns.h
+5-53 files

NetBSD/src yDM1jbosys/dev/pci if_rgereg.h if_rge.c

   Pull up following revision(s) (requested by pgoyette in ticket #172):

        sys/dev/pci/if_rgereg.h: revision 1.18
        sys/dev/pci/if_rge.c: revision 1.47

   Catch up with upstream (OpenBSD)

            Add support for RTL8125D revision 0x6890000
VersionDeltaFile
1.9.2.2+642-4sys/dev/pci/if_rgereg.h
1.34.2.2+140-29sys/dev/pci/if_rge.c
+782-332 files

NetBSD/src M8ml6Rwsys/arch/arm/imx imxwdogreg.h

   s/^/*/
VersionDeltaFile
1.5+1-1sys/arch/arm/imx/imxwdogreg.h
+1-11 files

LLVM/project 1f80be4llvm/include/llvm/Support KnownFPClass.h KnownBits.h, llvm/lib/Analysis ValueTracking.cpp

ValueTracking: Move powi logic to KnownFPClass

This case is kind of ugly because we still need to look at the
known bits to short circuit the source check
DeltaFile
+22-0llvm/lib/Support/KnownFPClass.cpp
+5-16llvm/lib/Analysis/ValueTracking.cpp
+4-0llvm/include/llvm/Support/KnownFPClass.h
+3-0llvm/include/llvm/Support/KnownBits.h
+34-164 files