LLVM/project fc5ca83mlir/include/mlir/Dialect/LLVMIR LLVMOps.td, mlir/lib/Dialect/LLVMIR/IR LLVMDialect.cpp

[mlir][LLVM] Add support for `ptrtoaddr` (#185104)

The `ptrtoaddr` op is akin to `ptrtoint` with some important
differences:
* It does not capture the provenance of the pointer, meaning a pointer
does not escape and subsequent `inttoptr` don't make a legal pointer.
LLVM can then assume the pointer never escaped, which helps alias
analysis.
* It does not support arbitrary integer types, but only exactly the
integer type that is equal in width to the pointer type as specified by
the data layout.

This PR adds the op the MLIR dialect and adds the corresponding
verification for the datalayout property.
DeltaFile
+44-0mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
+18-0mlir/test/Dialect/LLVMIR/invalid.mlir
+18-0mlir/test/Target/LLVMIR/llvmir.mlir
+16-0mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+6-1mlir/test/Target/LLVMIR/Import/instructions.ll
+4-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+106-16 files

LLVM/project 3a8eabebolt/include/bolt/Passes LongJmp.h, bolt/test/AArch64 compare-and-branch-reorder-blocks.S

[BOLT][AArch64] Support block reordering beyond 1KB for FEAT_CMPBR. (#185443)

Currently LongJmpPass::relaxLocalBranches bails early if the estimated
size of a binary function is less than 32KB assuming that the shortest
branches are 16 bits. Therefore the fixup value for the cold branch
target may go out of range if the function is larger than 1KB.

I am decreasing ShortestJumpSpan from 32KB to 1KB, since FEAT_CMPBR
branches are 11 bits.
DeltaFile
+17-6bolt/test/AArch64/compare-and-branch-reorder-blocks.S
+1-1bolt/include/bolt/Passes/LongJmp.h
+18-72 files

LLVM/project 753db4blibc/utils/hdrgen/tests/expected_output test_small_proxy.h

[libc] Fix hdrgen test test_small_proxy.h (#185890)

The expected output was outdated as it did not contain the macro
definitions.

This patch fixes the issue.
DeltaFile
+6-0libc/utils/hdrgen/tests/expected_output/test_small_proxy.h
+6-01 files

LLVM/project 6fc7b3fllvm/test/CodeGen/X86 2011-12-15-vec_shift.ll

[X86] 2011-12-15-vec_shift.ll - regenerate test checks (#186077)
DeltaFile
+58-10llvm/test/CodeGen/X86/2011-12-15-vec_shift.ll
+58-101 files

LLVM/project 85e542flibclc/clc/lib/generic/math clc_fdim.cl clc_fdim.inc

libclc: Improve fdim handling (#186085)

The maxnum is somewhat overconstraining. This gives slightly
better codegen and avoids the noise from the select and convert,
and saves the cost of materializing the nan literal.
DeltaFile
+2-8libclc/clc/lib/generic/math/clc_fdim.cl
+1-3libclc/clc/lib/generic/math/clc_fdim.inc
+3-112 files

LLVM/project ea86511libclc/clc/include/clc/math clc_nextup.h clc_nextdown.h, libclc/clc/lib/generic/math clc_nextafter.cl clc_nextafter.inc

libclc: Replace nextafter implementation (#186082)

Use a more straightforward version which allows
optimizations to delete the edge case checks, and also
codegens better. Implement in terms of new nextup and nextdown
helper functions, which are IEEE functions, and usable in other
functions.
DeltaFile
+7-72libclc/clc/lib/generic/math/clc_nextafter.cl
+18-0libclc/clc/include/clc/math/clc_nextup.h
+18-0libclc/clc/include/clc/math/clc_nextdown.h
+17-0libclc/clc/lib/generic/math/clc_nextafter.inc
+17-0libclc/clc/lib/generic/math/clc_nextdown.inc
+15-0libclc/clc/lib/generic/math/clc_nextdown.cl
+92-725 files not shown
+132-7211 files

LLVM/project 3c7f70blibclc/clc/lib/generic/math clc_fmod.cl

libclc: Replace fmod implementation with elementwise builtin (#186083)

This corresponds to frem, which for whatever reason is a first
class IR instruction. The backend has a heroic freestanding
implementation that should be nearly identical to what was here.
DeltaFile
+3-180libclc/clc/lib/generic/math/clc_fmod.cl
+3-1801 files

LLVM/project a5c35cblibclc/clc/include/clc/math clc_nextup.h clc_nextdown.h, libclc/clc/lib/generic/math clc_nextafter.cl clc_nextdown.inc

libclc: Replace nextafter implementation

Use a more straightforward version which allows
optimizations to delete the edge case checks, and also
codegens better. Implement in terms of new nextup and nextdown
helper functions, which are IEEE functions, and usable in other
functions.
DeltaFile
+7-72libclc/clc/lib/generic/math/clc_nextafter.cl
+18-0libclc/clc/include/clc/math/clc_nextup.h
+18-0libclc/clc/include/clc/math/clc_nextdown.h
+17-0libclc/clc/lib/generic/math/clc_nextdown.inc
+17-0libclc/clc/lib/generic/math/clc_nextafter.inc
+15-0libclc/clc/lib/generic/math/clc_nextdown.cl
+92-725 files not shown
+132-7211 files

FreeBSD/ports 213b265math/R-cran-units distinfo Makefile

math/R-cran-units: Update to 1.0-1

ChangeLog: https://cran.r-project.org/web/packages/units/news/news.html
DeltaFile
+3-3math/R-cran-units/distinfo
+2-2math/R-cran-units/Makefile
+5-52 files

LLVM/project 11ac230libclc/clc/lib/generic/math clc_fdim.cl clc_fdim.inc

libclc: Improve fdim handling

The maxnum is somewhat overconstraining. This gives slightly
better codegen and avoids the noise from the select and convert,
and saves the cost of materializing the nan literal.
DeltaFile
+2-8libclc/clc/lib/generic/math/clc_fdim.cl
+1-3libclc/clc/lib/generic/math/clc_fdim.inc
+3-112 files

LLVM/project c7dccd5clang/test/CodeGen arm-bf16-getset-intrinsics.c, clang/test/CodeGen/AArch64 bf16-getset-intrinsics.c

[Clang][AArch64] Remove duplicate CodeGen test for bf16 get/set intrinsics

The following test files contain identical test bodies (aside from the
RUN lines):

  * clang/test/CodeGen/AArch64/bf16-getset-intrinsics.c
  * clang/test/CodeGen/arm-bf16-getset-intrinsics.c

The differences in the RUN lines do not appear to be relevant for the
tested functionality. This change keeps a single test file and
simplifies its RUN lines to match the generic style used in
clang/test/CodeGen/AArch64/neon.

This also moves toward unifying and reusing RUN lines across tests.
DeltaFile
+0-175clang/test/CodeGen/arm-bf16-getset-intrinsics.c
+1-2clang/test/CodeGen/AArch64/bf16-getset-intrinsics.c
+1-1772 files

LLVM/project ab6bb1bcompiler-rt/lib/builtins/arm addsf3.S, compiler-rt/test/builtins/Unit addsf3_test.c

compiler-rt/arm: Check for overflow when adding float denorms (#185245)

When the sum of two sub-normal values is not also subnormal, we need to
set the exponent to one.

Test case:

static volatile float x = 0x1.362b4p-127;
static volatile float x2 = 0x1.362b4p-127 * 2;

int
main (void)
{
        printf("x %a x2 %a x + x %a\n", x, x2, x + x);
        return x2 == x + x ? 0 : 1;
}

Signed-off-by: Keith Packard <keithp at keithp.com>
DeltaFile
+96-0compiler-rt/test/builtins/Unit/addsf3_test.c
+9-0compiler-rt/lib/builtins/arm/addsf3.S
+105-02 files

FreeBSD/ports af6c87edevel/R-cran-listenv distinfo Makefile

devel/R-cran-listenv: Update to 0.10.1

ChangeLog: https://cran.r-project.org/web/packages/listenv/news/news.html
DeltaFile
+3-3devel/R-cran-listenv/distinfo
+1-1devel/R-cran-listenv/Makefile
+4-42 files

LLVM/project 9a8147bllvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 neon-abd.ll

Revert "[SDAG] (abs (add nsw a, -b)) -> (abds a, b)" (#17580) (#186068)

Reverts llvm/llvm-project#175801 while #185467 miscompilation is being investigated
DeltaFile
+0-54llvm/test/CodeGen/AArch64/neon-abd.ll
+3-36llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+3-902 files

LLVM/project c611f7dlibclc/clc/lib/generic/math clc_fmod.cl

libclc: Replace fmod implementation with elementwise builtin

This corresponds to frem, which for whatever reason is a first
class IR instruction. The backend has a heroic freestanding
implementation that should be nearly identical to what was here.
DeltaFile
+3-180libclc/clc/lib/generic/math/clc_fmod.cl
+3-1801 files

NetBSD/pkgsrc-wip 1312aafpy-copyparty TODO

py-copyparty: Add references to CVE-2026-3210[89]
DeltaFile
+1-1py-copyparty/TODO
+1-11 files

LLVM/project 1606180libclc/clc/include/clc/math clc_nextdown.h clc_nextup.h, libclc/clc/lib/generic/math clc_nextafter.cl clc_nextdown.inc

libclc: Replace nextafter implementation

Use a more straightforward version which allows
optimizations to delete the edge case checks, and also
codegens better. Implement in terms of new nextup and nextdown
helper functions, which are IEEE functions, and usable in other
functions.
DeltaFile
+7-72libclc/clc/lib/generic/math/clc_nextafter.cl
+19-0libclc/clc/include/clc/math/clc_nextdown.h
+19-0libclc/clc/include/clc/math/clc_nextup.h
+17-0libclc/clc/lib/generic/math/clc_nextdown.inc
+17-0libclc/clc/lib/generic/math/clc_nextafter.inc
+15-0libclc/clc/lib/generic/math/clc_nextup.inc
+94-725 files not shown
+134-7211 files

LLVM/project 9b6391fllvm/lib/Target/AArch64 SVEInstrFormats.td, llvm/test/CodeGen/AArch64 vector-extract-last-active.ll

[AArch64][SVE] Add unpacked fp ISel patterns for clastb (#185688)

Add support for selecting clastb for unpacked float, half, and
bfloat vectors.

Fixes #185670.
DeltaFile
+55-0llvm/test/CodeGen/AArch64/vector-extract-last-active.ll
+14-0llvm/lib/Target/AArch64/SVEInstrFormats.td
+69-02 files

LLVM/project c5eacacllvm/lib/Transforms/Vectorize VPlanConstruction.cpp, llvm/test/Transforms/LoopVectorize find-last.ll

[LV] Fix another invalidated iterator in handleFindLastReductions (#185712)

Just collect all the initial phis into a SmallVector first instead
of trying to avoid iterator invalidation in a changing vplan.

Fixes #185682.
DeltaFile
+40-0llvm/test/Transforms/LoopVectorize/find-last.ll
+12-6llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+52-62 files

FreeBSD/ports d4dad47net/libpfctl Makefile distinfo

net/libpfctl: add 14.4 version

PR:             293048
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 7f4afbdfcf9361fe29ca79793a30c68d7b49f5c9)
DeltaFile
+1-1net/libpfctl/Makefile
+2-0net/libpfctl/distinfo
+3-12 files

LLVM/project 87f8420clang/include/clang/CIR/Dialect/IR CIRDialect.td, clang/lib/CIR/CodeGen CIRGenAMDGPU.cpp CIRGenModule.cpp

[CIR][AMDGPU] Add module flags for AMDGPU target
DeltaFile
+41-0clang/lib/CIR/CodeGen/CIRGenAMDGPU.cpp
+30-0clang/test/CIR/CodeGenHIP/amdgpu-module-flags.hip
+22-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
+3-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-0clang/lib/CIR/CodeGen/CIRGenModule.h
+3-0clang/include/clang/CIR/Dialect/IR/CIRDialect.td
+102-11 files not shown
+103-17 files

LLVM/project 99b8be8llvm/include/llvm/BinaryFormat ELF.h, llvm/lib/Object ELFObjectFile.cpp

[AMDGPU] Use an X-macro to define ELF machine types and names. NFCI. (#185882)

This reduces the number of files that need to be touched when adding a
new CPU type.
DeltaFile
+86-89llvm/include/llvm/BinaryFormat/ELF.h
+5-168llvm/lib/Object/ELFObjectFile.cpp
+2-75llvm/tools/llvm-readobj/ELFDumper.cpp
+3-72llvm/lib/ObjectYAML/ELFYAML.cpp
+96-4044 files

LLVM/project a3eb8aalldb/unittests/DAP TestUtilities.h TestBase.h, lldb/unittests/TestingSupport TestUtilities.cpp TestUtilities.h

Revert "[lldb] Consolidating platform support checks in tests." (#186071)

Reverts llvm/llvm-project#184656

This PR broke linking on Windows and possibly elsewhere. There are at
least 2 possible fixes. Revert while we decide on a single solution.
DeltaFile
+0-69lldb/unittests/DAP/TestUtilities.h
+56-3lldb/unittests/DAP/TestBase.h
+42-17lldb/unittests/DAP/VariablesTest.cpp
+1-52lldb/unittests/TestingSupport/TestUtilities.cpp
+40-8lldb/unittests/DAP/TestBase.cpp
+0-15lldb/unittests/TestingSupport/TestUtilities.h
+139-1642 files not shown
+146-1718 files

OPNSense/plugins a4191cfmisc/theme-cicada Makefile

misc/theme-cicada: bump revision
DeltaFile
+1-0misc/theme-cicada/Makefile
+1-01 files

LLVM/project ef38d27clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVMIR.cpp

[CIR][NFC] Add amendOperation to CIRDialectLLVMIRTranslationInterface
DeltaFile
+29-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMIR.cpp
+29-01 files

NetBSD/pkgsrc 87dVSZxdoc CHANGES-2026

   Updated lang/nodejs, lang/nodejs22
VersionDeltaFile
1.1702+3-1doc/CHANGES-2026
+3-11 files

LLVM/project 1616fbalibcxx/include print, libcxx/include/__configuration availability.h

[libc++] Fix checks for terminal and flushes in std::print() (#70321)

The check whether a stream is associated with a terminal or not and the
flushing of the stream in `std::print()` is needed only on Windows.
Additionally, the correct flush should be used. When `std::print` is
called with a C stream, `std::fflush()` should be used. When it is
called with C++ `ostream`, `ostream::flush()` should be called.

Because POSIX does not have a separate Unicode API for terminal output,
checking for terminal (`isatty`) and flushing is not needed at all.
Moreover, `isatty` has noticeable performance cost.

See also https://wg21.link/LWG4044.

Fixes #70142
DeltaFile
+0-79libcxx/test/libcxx/input.output/iostream.format/print.fun/vprint_unicode_posix.pass.cpp
+15-30libcxx/include/print
+7-29libcxx/test/libcxx/input.output/iostream.format/print.fun/vprint_unicode_windows.pass.cpp
+29-6libcxx/test/libcxx/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/vprint_unicode.pass.cpp
+4-6libcxx/include/__ostream/print.h
+0-6libcxx/include/__configuration/availability.h
+55-1567 files not shown
+59-17313 files

NetBSD/pkgsrc LSLphwRlang/nodejs22 distinfo Makefile, lang/nodejs22/patches patch-configure

   nodejs22: updated to 22.22.1

   22.22.1 'Jod' (LTS)

   Notable Changes

   - build: test on Python 3.14 (Christian Clauss)
   - cli: mark --heapsnapshot-near-heap-limit as stable (Joyee Cheung)
   - crypto: update root certificates to NSS 3.119 (Node.js GitHub Bot)
   - crypto: update root certificates to NSS 3.117 (Node.js GitHub Bot)
   - doc: add avivkeller to collaborators (Aviv Keller)
   - doc: add gurgunday to collaborators (Gürgün Dayıoğlu)
   - meta: add Renegade334 to collaborators (Renegade334)
VersionDeltaFile
1.19+4-5lang/nodejs22/distinfo
1.21+2-2lang/nodejs22/Makefile
1.2+1-1lang/nodejs22/patches/patch-configure
+7-83 files

OpenBSD/ports cfUXsDolang/lucee/v6 distinfo Makefile

   MFC update to lucee-6.2.5.48
VersionDeltaFile
1.9.2.3+2-2lang/lucee/v6/distinfo
1.12.2.3+1-1lang/lucee/v6/Makefile
+3-32 files

LLVM/project 844ff05llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/AArch64 neon-abd.ll

Revert "[SDAG] (abs (add nsw a, -b)) -> (abds a, b) (#175801)"

This reverts commit fbda30607c5176f9e54ac86e75435cc57f322674.
DeltaFile
+0-54llvm/test/CodeGen/AArch64/neon-abd.ll
+3-36llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+3-902 files