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

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

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

FreeBSD/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

FreeBSD/ports 0835351devel/electron38 distinfo Makefile.version, devel/electron38/files/packagejsons yarn.lock

devel/electron38: Update to 38.8.2

Changelog:
- https://github.com/electron/electron/releases/tag/v38.8.1
- https://github.com/electron/electron/releases/tag/v38.8.2

Reported by:    GitHub (watch releases)
DeltaFile
+0-21devel/electron38/files/packagejsons/yarn.lock
+5-5devel/electron38/distinfo
+0-2devel/electron38/files/packagejsons/spec/package.json
+1-1devel/electron38/Makefile.version
+6-294 files

FreeBSD/ports cda2539www/filebrowser-quantum distinfo Makefile

www/filebrowser-quantum: Update to 1.1.2-stable

ChangeLog: https://github.com/gtsteffaniak/filebrowser/releases/tag/v1.1.2-stable
DeltaFile
+7-7www/filebrowser-quantum/distinfo
+2-3www/filebrowser-quantum/Makefile
+9-102 files

FreeBSD/ports 3ae96d1multimedia/supersonic distinfo Makefile

multimedia/supersonic: Update to 0.20.1

ChangeLog: https://github.com/dweymouth/supersonic/releases/tag/v0.20.1
DeltaFile
+5-5multimedia/supersonic/distinfo
+1-2multimedia/supersonic/Makefile
+6-72 files

FreeBSD/ports 1139615devel/py-odoo-addon-openupgrade-scripts16 distinfo Makefile

devel/py-odoo-addon-openupgrade-scripts16: Update to 16.0.1.0.5.12
DeltaFile
+3-3devel/py-odoo-addon-openupgrade-scripts16/distinfo
+1-1devel/py-odoo-addon-openupgrade-scripts16/Makefile
+4-42 files

FreeBSD/ports 16c3f80www/filebrowser distinfo Makefile

www/filebrowser: Update to 2.58.0

ChangeLogs:
https://github.com/filebrowser/filebrowser/compare/v2.55.0...v2.58.0
DeltaFile
+7-7www/filebrowser/distinfo
+4-5www/filebrowser/Makefile
+11-122 files

OpenBSD/ports m8BOyyzdevel/py-jupyter_server_terminals distinfo Makefile, devel/py-jupyter_server_terminals/patches patch-pyproject_toml

   update py-jupyter_server_terminals to 0.5.4
VersionDeltaFile
1.2+2-2devel/py-jupyter_server_terminals/distinfo
1.3+1-2devel/py-jupyter_server_terminals/Makefile
1.2+1-1devel/py-jupyter_server_terminals/patches/patch-pyproject_toml
+4-53 files

LLVM/project 2dd94a4llvm/test/CodeGen/RISCV/GlobalISel bitmanip.ll, llvm/test/CodeGen/RISCV/GlobalISel/legalizer legalize-cttz-rv64.mir legalize-cttz-rv32.mir

[GlobalISel] Optimize CTPOP lowering to match SelDAG (#181499)

Prevent multiplication when only having 16 bits.
DeltaFile
+18-46llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll
+12-12llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir
+12-12llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv32.mir
+12-12llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir
+10-10llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir
+10-10llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv32.mir
+74-1024 files not shown
+103-12910 files

FreeBSD/src e8dbf2bkernel t_time_arith.c, lib/libc/gen t_ctype.c t_arc4random.c

Add files missed in 56a7ce8416d181a2060d7a42

Skip usr.bin/diff3 tests as these contain text that gets misinterpreted
as merge conflict markers and blocks push with the relevant pre-receive
hook.

PR:     293186
DeltaFile
+1,543-0lib/libpthread/t_cancellation.c
+1,236-0lib/libc/gen/t_ctype.c
+1,224-0kernel/t_time_arith.c
+887-0lib/libm/t_next.c
+739-0usr.bin/xlint/lint1/init_c99.c
+670-0lib/libc/gen/t_arc4random.c
+6,299-0321 files not shown
+29,404-0327 files

LLVM/project 35e0470lld/ELF InputFiles.h, lld/ELF/Arch PPC64.cpp

[ELF,PPC64] Scope checkPPC64TLSRelax to section and simplify TLS markers

checkPPC64TLSRelax detects TLS GD/LD without TLSGD/TLSLD markers
(generated from old IBM XL) and disables TLS optimization. Previously it
set a per-file flag (ppc64DisableTLSRelax). Now scope it in the section
being scanned.

In addition, simplify the R_PPC64_TLSGD/R_PPC64_TLSLD marker handling:
the redundant `sym.setFlags(NEEDS_TLSIE)` is unnecessary as the
preceding GOT_TLSGD relocation already sets it.
DeltaFile
+16-25lld/ELF/Arch/PPC64.cpp
+0-4lld/ELF/InputFiles.h
+1-1lld/test/ELF/ppc64-tls-missing-gdld.s
+17-303 files

LLVM/project cfe1b46llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/RISCV/rvv fixed-vectors-vaaddu.ll

[DAGCombiner] Fold trunc(build_vector(ext(x), ext(x)) -> build_vector(x,x) (#179857)

The original implementation performed the transformation when
isTruncateFree was true:
 truncate(build_vector(x, x)) -> build_vector(truncate(x), truncate(x)).
    
In some cases, x comes from an ext, try to pre-truncate build_vectors
source operands
 when the source operands of build_vectors comes from an ext.
    
 Testcase from: https://gcc.godbolt.org/z/bbxbYK7dh
DeltaFile
+39-0llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vaaddu.ll
+8-7llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+47-72 files

FreeBSD/src 56a7ce8lib/libc/gen t_fpclassify.c, lib/libc/sys t_poll.c

Sync NetBSD/tests with upstream

Obtained from:  https://github.com/NetBSD/src (9c6226debedf)
DeltaFile
+71-7,358usr.bin/netpgpverify/t_netpgpverify.sh
+1,776-83lib/libc/sys/t_poll.c
+1,564-86lib/libutil/t_snprintb.c
+638-728lib/libm/t_log.c
+1,103-72lib/libc/gen/t_fpclassify.c
+446-446usr.bin/xlint/lint1/msg_247_portable_int.c
+5,598-8,773606 files not shown
+23,664-18,503612 files

FreeBSD/src 90d79ddsys/dev/asmc asmcvar.h asmc.c

asmc: Add MacPro3,1 temperature sensor support

Test and verified with Sonicblue7

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D54952
DeltaFile
+69-0sys/dev/asmc/asmcvar.h
+9-0sys/dev/asmc/asmc.c
+78-02 files

LLVM/project 5a6f504libc/shared/math bf16add.h, libc/src/__support/math bf16add.h CMakeLists.txt

[libc][math] Refactor bf16add to header only (#181392)

Resolves #181016
Part of #147386
DeltaFile
+26-0libc/src/__support/math/bf16add.h
+23-0libc/shared/math/bf16add.h
+15-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+10-0libc/src/__support/math/CMakeLists.txt
+2-5libc/src/math/generic/bf16add.cpp
+1-5libc/src/math/generic/CMakeLists.txt
+77-103 files not shown
+80-109 files

LLVM/project a4cb2b0libc/shared/math tanhf16.h, libc/src/__support/math tanhf16.h CMakeLists.txt

[libc][math] Refactor tanhf16 implementation to header-only in src/__support/math folder. (#178645)

Part of https://github.com/llvm/llvm-project/issues/147386
closed https://github.com/llvm/llvm-project/issues/178492
DeltaFile
+166-0libc/src/__support/math/tanhf16.h
+2-138libc/src/math/generic/tanhf16.cpp
+29-0libc/shared/math/tanhf16.h
+22-0libc/src/__support/math/CMakeLists.txt
+20-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1-12libc/src/math/generic/CMakeLists.txt
+240-1513 files not shown
+243-1519 files

FreeBSD/doc c6abbedwebsite/data/en/news news.toml

14.4: Announce BETA2

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+5-0website/data/en/news/news.toml
+5-01 files