LLVM/project 4ab66e4llvm/utils/TableGen DAGISelMatcherOpt.cpp

[TableGen] Combine FactorNodes and FactorScope. NFC

These were separated in 31db7afacf4dae051fcd0da22e440813663b61f3
due to the complexity of the rebindable unique_ptr. With the
switch to MatcherList, the code is not as complicated.
DeltaFile
+19-22llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+19-221 files

FreeBSD/ports ba8b65emath/R-cran-igraph distinfo Makefile

math/R-cran-igraph: Update to 2.2.2

Reported by:    portscout
DeltaFile
+3-3math/R-cran-igraph/distinfo
+1-1math/R-cran-igraph/Makefile
+4-42 files

FreeBSD/ports 17f0fb1net-mgmt/thanos distinfo Makefile

net-mgmt/thanos: Update 0.40.1 => 0.41.0

Changelogs:
* https://github.com/thanos-io/thanos/releases/tag/v0.41.0
* https://github.com/thanos-io/thanos/compare/v0.40.1...v0.41.0

Approved by:    db@, yuri@ (Mentors, implicit)
DeltaFile
+5-5net-mgmt/thanos/distinfo
+4-4net-mgmt/thanos/Makefile
+9-92 files

NetBSD/pkgsrc-wip 56aa237freetds distinfo Makefile

Update freetds to 1.5.11
DeltaFile
+3-3freetds/distinfo
+1-1freetds/Makefile
+4-42 files

FreeBSD/ports 04470a1astro/gpsd Makefile, audio/py-essentia Makefile

misc: fix build with python 3.12

PR:             285957
DeltaFile
+3-1science/tweedledum/Makefile
+2-1math/gau2grid/Makefile
+2-1devel/py-ice/Makefile
+2-1math/py-pyaudi/Makefile
+2-0astro/gpsd/Makefile
+1-0audio/py-essentia/Makefile
+12-46 files not shown
+18-412 files

LLVM/project 8d971c0llvm/utils/TableGen DAGISelMatcherOpt.cpp DAGISelMatcher.h

Reapply "[TableGen] Introduce MatcherList to manage a linked list of Matchers. NFC (#177875)"

With fixes to the slice_after functions to avoid dereferencing the
before_begin() iterator. Deferencing the iterator casts a pointer
to the BeforeBegin object to Matcher*, but the BeforeBegin object
is not a Matcher. This caused a failure when built with gcc.

Original commit message:

The previous memory management involved passing around references to the
std::unique_ptr next pointer in each Matcher. Scopes and
SwitchOpcode/SwitchType did not use std::unique_ptr internally, but
would sometimes need to have the pointers to their children moved to
temporary std::unique_ptrs that may be modified and then put back into
the Scope/Switch. Other code used manual deletion.

This patch introduces a MatcherList object that encapsulates list
management and ownership. The interface is based on std::forward_list
using the libcxx implementation for reference.

    [15 lines not shown]
DeltaFile
+222-202llvm/utils/TableGen/DAGISelMatcherOpt.cpp
+251-59llvm/utils/TableGen/DAGISelMatcher.h
+53-59llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
+15-61llvm/utils/TableGen/DAGISelMatcher.cpp
+14-17llvm/utils/TableGen/DAGISelMatcherGen.cpp
+8-8llvm/utils/TableGen/DAGISelEmitter.cpp
+563-4066 files

NetBSD/pkgsrc-wip 9fd84e6cloudflare-speed-cli distinfo cargo-depends.mk

Update cloudflare-speed-cli to 0.6.2
DeltaFile
+231-198cloudflare-speed-cli/distinfo
+76-65cloudflare-speed-cli/cargo-depends.mk
+1-1cloudflare-speed-cli/Makefile
+308-2643 files

HardenedBSD/src b5fa384sys/dev/asmc asmcvar.h asmc.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+69-0sys/dev/asmc/asmcvar.h
+9-0sys/dev/asmc/asmc.c
+78-02 files

HardenedBSD/src f39e730lib/libc/net sockatmark.3, sbin/setkey setkey.8

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+8-7sbin/setkey/setkey.8
+1-1lib/libc/net/sockatmark.3
+9-82 files

NetBSD/src vmwBZIysys/arch/hppa/dev gftfb.c

   Trailing whitespace
VersionDeltaFile
1.37+5-5sys/arch/hppa/dev/gftfb.c
+5-51 files

HardenedBSD/ports 544f8d1devel/electron38 distinfo, devel/electron38/files/packagejsons yarn.lock

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-21devel/electron38/files/packagejsons/yarn.lock
+8-8misc/freebsd-release-manifests/pkg-plist
+7-7www/filebrowser/distinfo
+7-7www/filebrowser-quantum/distinfo
+5-5multimedia/supersonic/distinfo
+5-5devel/electron38/distinfo
+32-5326 files not shown
+109-13432 files

LLVM/project 104e82blld/ELF/Arch PPC64.cpp

[ELF,PPC64] Inline toAddr16Rel and TLS remapping into the main relocate switch

Delete the toAddr16Rel helper and the GOT_TLS-to-GOT16 remapping switch,
inlining their val adjustments as fallthrough cases in the main switch.
This reduces relocate() from 4 switches on type to 2 (TLS relaxation
pre-switch with early returns, and the unified write switch).
DeltaFile
+114-131lld/ELF/Arch/PPC64.cpp
+114-1311 files

NetBSD/src glmARorsys/arch/hppa/dev gftfb.c

   catch up with hyperfb:
   - track writes to SBA/DBA/BAboth
   - use BINC writes to draw anti-aliased characters instead of direct fb access
   - some magic number reduction
VersionDeltaFile
1.36+154-78sys/arch/hppa/dev/gftfb.c
+154-781 files

LLVM/project b33350fllvm/include/llvm/ADT RadixTree.h

[ADT] Fix RadixTree singular iterator use in findOrCreate (#181510)

The root node's Key is initialized with default-constructed (singular)
iterators. When findOrCreate calls llvm::mismatch(Key, Curr->Key) on the
first loop iteration where Curr is the root, these singular iterators
are passed to std::mismatch. _GLIBCXX_DEBUG correctly rejects them as
not forming a valid iterator range.

Skip the mismatch when Curr is the root node since its key is
conceptually empty, making the mismatch a no-op.

Fixes a test failure in ADTTests/RadixTreeTypeTest introduced by
5fda2a5d9c1a ("[NFC][ADT] Add RadixTree (#164524)").
DeltaFile
+14-9llvm/include/llvm/ADT/RadixTree.h
+14-91 files

LLVM/project 02429c4llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[LV] Fix strict weak ordering violation in handleUncountableEarlyExits sort (#181462)

The sort comparator used VPDT.dominates() which returns true for
dominates(A, A), violating the irreflexivity requirement of strict weak
ordering. With _GLIBCXX_DEBUG enabled (LLVM_ENABLE_EXPENSIVE_CHECKS=ON),
std::sort validates this property and aborts:

Error: comparison doesn't meet irreflexive requirements, assert(!(a <
a)).

Use properlyDominates() instead, which correctly returns false for equal
inputs while preserving the intended dominance-based ordering.

This fixes a crash introduced by ede1a9626b89 ("[LV] Vectorize early
exit loops with multiple exits.").
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-11 files

LLVM/project 5548b24clang-tools-extra/clang-tidy/readability NonConstParameterCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Fix false positive for generic lambda parameters in readability-non-const-parameter (#179051)

Fixes #177354

### Summary
The `readability-non-const-parameter` check produces false positives on
generic lambda parameters, not fully resolved by #177345.

### Problem
Generic lambdas with explicit template parameters create dependent
contexts that cannot be analyzed at parse time:

```cpp
auto lambda = []<typename T>(int *p) {
  T x(*p);   // No longer warns
};
```
DeltaFile
+14-5clang-tools-extra/clang-tidy/readability/NonConstParameterCheck.cpp
+9-0clang-tools-extra/test/clang-tidy/checkers/readability/non-const-parameter.cpp
+2-1clang-tools-extra/docs/ReleaseNotes.rst
+25-63 files

LLVM/project a99b791clang/test/CIR/CodeGen builtin-floating-point.c, clang/test/OpenMP task_codegen.cpp threadprivate_codegen.cpp

Merge branch 'main' into users/c8ef/atomic_minmax
DeltaFile
+5,835-5,584llvm/test/tools/llvm-dwarfdump/X86/simplified-template-names.s
+3,458-2,041clang/test/OpenMP/task_codegen.cpp
+2,140-2,140clang/test/OpenMP/threadprivate_codegen.cpp
+1,560-1,560llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-fp.s
+80-2,209llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-loops-large-matrixes.ll
+2,212-0clang/test/CIR/CodeGen/builtin-floating-point.c
+15,285-13,5342,949 files not shown
+164,139-75,7532,955 files

LLVM/project 1df8f7elibcxx/docs/ReleaseNotes 23.rst

Update release notes for implemented papers

Updated release notes to reflect the implementation of ranges features from P2440R1 and P2322R6.
DeltaFile
+0-1libcxx/docs/ReleaseNotes/23.rst
+0-11 files

LLVM/project 9d5fee8clang/test/OpenMP task_codegen.cpp threadprivate_codegen.cpp, libc/src/__support/wctype wctype_classification_utils.cpp

Merge branch 'main' into users/c8ef/fold_left_first
DeltaFile
+5,835-5,584llvm/test/tools/llvm-dwarfdump/X86/simplified-template-names.s
+5,528-5,528llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
+4,314-4,314llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
+3,458-2,041clang/test/OpenMP/task_codegen.cpp
+2,140-2,140clang/test/OpenMP/threadprivate_codegen.cpp
+3,681-0libc/src/__support/wctype/wctype_classification_utils.cpp
+24,956-19,6073,835 files not shown
+220,837-100,0563,841 files

LLVM/project 45bee6emlir/include/mlir/Bindings/Python IRInterfaces.h, mlir/lib/Bindings/Python IRInterfaces.h DialectTransform.cpp

[mlir][Python] fix IRInterfaces.h (#181522)

https://github.com/llvm/llvm-project/pull/176920 added `IRInterfaces.h`
but didn't include it in either the list of [installed
headers](https://github.com/llvm/llvm-project/blob/a1d7cda1d7ca4983e02727f589952b02626d2dc8/mlir/python/CMakeLists.txt#L557)
or `mlir/Bindings/Python`. This breaks downstreams. So just move the
header to `mlir/Bindings/Python`
DeltaFile
+0-152mlir/lib/Bindings/Python/IRInterfaces.h
+146-0mlir/include/mlir/Bindings/Python/IRInterfaces.h
+1-1mlir/lib/Bindings/Python/DialectTransform.cpp
+1-1mlir/lib/Bindings/Python/IRInterfaces.cpp
+148-1544 files

FreeBSD/doc cfa5e52website/content/en/releases/14.4R relnotes.adoc

14.4/relnotes: initial informaton added (65 entries)

Reviewed by: cperciva, ziaee
Approved by: ziaee
Differential Revision: https://reviews.freebsd.org/D55285
DeltaFile
+244-0website/content/en/releases/14.4R/relnotes.adoc
+244-01 files

LLVM/project 1391fe5mlir/include/mlir/Bindings/Python IRInterfaces.h

move comments
DeltaFile
+10-16mlir/include/mlir/Bindings/Python/IRInterfaces.h
+10-161 files

LLVM/project 9cf307bmlir/include/mlir/Bindings/Python IRInterfaces.h, mlir/lib/Bindings/Python IRInterfaces.h IRInterfaces.cpp

[mlir][Python] fix IRInterfaces.h
DeltaFile
+152-0mlir/include/mlir/Bindings/Python/IRInterfaces.h
+0-152mlir/lib/Bindings/Python/IRInterfaces.h
+1-1mlir/lib/Bindings/Python/IRInterfaces.cpp
+1-1mlir/lib/Bindings/Python/DialectTransform.cpp
+154-1544 files

LLVM/project 208bab7llvm/docs ReleaseNotes.md, llvm/lib/Analysis BranchProbabilityInfo.cpp

[RFC][IR] Remove `Constant::isZeroValue`

`Constant::isZeroValue` currently behaves same as `Constant::isNullValue` for
all types except floating-point, where it additionally returns true for negative
zero (`-0.0`). However, in practice, almost all callers operate on
integer/pointer types where the two are equivalent, and the few FP-relevant
callers have no meaningful dependence on the `-0.0` behavior.

This PR removes `isZeroValue` to eliminate the confusing API surface. All
callers are changed to `isNullValue` with no test failures.

`isZeroValue` will be reintroduced in a future change with clearer semantics:
when null pointers may have non-zero bit patterns, `isZeroValue` will check for
bitwise-all-zeros, while `isNullValue` will check for the semantic null (which
may be non-zero).
DeltaFile
+1-17llvm/lib/IR/Constants.cpp
+9-9llvm/unittests/Analysis/ValueLatticeTest.cpp
+3-3llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+6-0llvm/docs/ReleaseNotes.md
+2-3llvm/lib/Analysis/BranchProbabilityInfo.cpp
+2-2llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+23-3430 files not shown
+60-7436 files

HardenedBSD/src 7786840lib/libc/net sockatmark.3

lib/libc/net/sockatmark.3: fix groff mdoc warning

PR:     293072

(cherry picked from commit 10fde719587c22085c95759a242e9c51d249d024)
DeltaFile
+1-1lib/libc/net/sockatmark.3
+1-11 files

FreeBSD/src 7786840lib/libc/net sockatmark.3

lib/libc/net/sockatmark.3: fix groff mdoc warning

PR:     293072

(cherry picked from commit 10fde719587c22085c95759a242e9c51d249d024)
DeltaFile
+1-1lib/libc/net/sockatmark.3
+1-11 files

HardenedBSD/src c838c3fsbin/setkey setkey.8

sbin/setkey/setkey.8: cleanup groff mdoc warnings

PR:     293072

(cherry picked from commit c67d8acca30e9f96f0a56f197003d0a4c663a060)
DeltaFile
+8-7sbin/setkey/setkey.8
+8-71 files

FreeBSD/src c838c3fsbin/setkey setkey.8

sbin/setkey/setkey.8: cleanup groff mdoc warnings

PR:     293072

(cherry picked from commit c67d8acca30e9f96f0a56f197003d0a4c663a060)
DeltaFile
+8-7sbin/setkey/setkey.8
+8-71 files

LLVM/project 08c5c0dclang-tools-extra/clang-tidy/modernize PassByValueCheck.cpp PassByValueCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add IgnoreMacros option to modernize-pass-by-value (#181465)

Part of #156153
DeltaFile
+24-0clang-tools-extra/test/clang-tidy/checkers/modernize/pass-by-value-ignore-macros.cpp
+6-1clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
+5-0clang-tools-extra/docs/clang-tidy/checks/modernize/pass-by-value.rst
+4-0clang-tools-extra/docs/ReleaseNotes.rst
+1-0clang-tools-extra/clang-tidy/modernize/PassByValueCheck.h
+40-15 files

HardenedBSD/ports d42969dgraphics/drawio Makefile, textproc/logseq Makefile

*/*: Bump port revision after electron38 update (0835351b43a4)
DeltaFile
+1-1textproc/logseq/Makefile
+1-0graphics/drawio/Makefile
+2-12 files