LLVM/project c13a730llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 clmul-vector.ll combine-pclmul.ll

[X86] combinePCLMULQDQ - attempt to fold PCLMULQDQ(SHUFFLE(X),SHUFFLE(Y),C) -> PCLMULQDQ(X,Y,C') (#176932)

Peek through input shuffle operands and see if we can access the shuffle source directly with an adjusted PCLMULQDQ mask bit

Fixes #176880
DeltaFile
+130-176llvm/test/CodeGen/X86/clmul-vector.ll
+31-1llvm/lib/Target/X86/X86ISelLowering.cpp
+3-9llvm/test/CodeGen/X86/combine-pclmul.ll
+164-1863 files

OPNSense/core 3d701c9src/opnsense/mvc/app/models/OPNsense/Core InitialSetup.xml

wizard: default WAN setup to DHCP

1. Our config defaults are DHCP as well.
2. If WAN is disabled this causes a "/" to be filled, which can
   be deleted but even when disabled it wants a gateway.

On a related note it would be good if the wizard would refill from
the current configuration so people could safely skip over these parts.

(cherry picked from commit 4ed30a74d1e3b975a342d540b9d61c32746ae1f7)
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.xml
+2-21 files

OPNSense/core 7bd7245. plist, src/opnsense/mvc/app/models/OPNsense/Interfaces Settings.xml

interfaces: move migration prefix for new settings

Error: Call to a member function applyDefault() on null

(from the Bridge model)

(cherry picked from commit b439e6484f96ecd9e91bf56f5d19307333bc2982)
DeltaFile
+87-0src/opnsense/mvc/app/models/OPNsense/Interfaces/Migrations/SET1_0_0.php
+0-87src/opnsense/mvc/app/models/OPNsense/Interfaces/Migrations/M1_0_0.php
+1-1plist
+1-0src/opnsense/mvc/app/models/OPNsense/Interfaces/Settings.xml
+89-884 files

NetBSD/pkgsrc-wip 2f946daopenwv Makefile distinfo, openwv/patches patch-src_openwv.rs patch-src_config.rs

wip/openwv: Load .wvd from file

* Use patches from OpenBSD Ports.
DeltaFile
+34-0openwv/patches/patch-src_openwv.rs
+23-0openwv/patches/patch-src_config.rs
+7-2openwv/Makefile
+2-0openwv/distinfo
+2-0openwv/MESSAGE
+68-25 files

FreeBSD/src 0b2cf69sys/compat/linuxkpi/common/include/linux radix-tree.h, sys/compat/linuxkpi/common/src linux_radix.c

linuxkpi: Take const root in read-only radix tree functions

This is a preparation step for a future addition to this file. This is
also closer to what Linux does.

Reviewed by:    emaste
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit cf39b51d36d82214ebdfd03055d321ddd2d85274)
(cherry picked from commit c5445540995fd37c390ad371a2e95d300ee83988)
DeltaFile
+4-4sys/compat/linuxkpi/common/src/linux_radix.c
+2-2sys/compat/linuxkpi/common/include/linux/radix-tree.h
+6-62 files

LLVM/project 7a74e7fflang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP target-parameter-array.f90

[flang][OpenMP] Fix mapping of constant arrays. (#176763)

The compiler skips mapping of named constants (parameters) to OpenMP
target regions under the assumption that constants don't need to be
mapped. This assumption is not valid when array is accessed inside with
dynamic index. The problem can be seen with the following code:

```
module fir_lowering_check
  implicit none

    integer, parameter :: dp = selected_real_kind(15, 307)
    real(dp), parameter :: arrays(2) = (/ 0.0, 0.0 /)

contains

subroutine test(hold)

        integer, intent(in) :: hold

    [27 lines not shown]
DeltaFile
+131-0offload/test/offloading/fortran/target-parameter-array.f90
+89-0flang/test/Lower/OpenMP/target-parameter-array.f90
+78-2flang/lib/Lower/OpenMP/OpenMP.cpp
+298-23 files

LLVM/project 10aca26llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sme-new-za-zt0-no-tail-call.ll

[AArch64][SME] Disable tail calls in new ZA/ZT0 functions (#177152)

Allowing this can result in invalid tail calls to shared ZA functions.

It may be possible to limit this to the case where the caller is private
ZA and the callee shares ZA, but for now it is generally disabled.
DeltaFile
+78-0llvm/test/CodeGen/AArch64/sme-new-za-zt0-no-tail-call.ll
+2-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+80-12 files

FreeBSD/ports 1629640audio/py-pyradio distinfo Makefile

audio/py-pyradio: Update to 0.9.3.11.25

ChangeLog:      https://github.com/coderholic/pyradio/releases/tag/0.9.3.11.25
Reported by:    Spiros Georgaras <notifications at github.com>
DeltaFile
+3-3audio/py-pyradio/distinfo
+1-1audio/py-pyradio/Makefile
+4-42 files

LLVM/project 0d49b98llvm/test/Transforms/GVN merge-nofpclass.ll, llvm/test/Transforms/GVN/PRE load-metadata.ll

Handle in more transforms, fix docs
DeltaFile
+70-0llvm/test/Transforms/InstCombine/loadstore-metadata.ll
+45-0llvm/test/Transforms/GVN/PRE/load-metadata.ll
+44-0llvm/test/Transforms/SimplifyCFG/hoist-with-metadata.ll
+38-0llvm/test/Transforms/GVN/merge-nofpclass.ll
+12-22llvm/test/Verifier/nofpclass-metadata.ll
+32-0llvm/test/Transforms/GVNHoist/hoist-md.ll
+241-2210 files not shown
+353-3916 files

OPNSense/core 4ed30a7src/opnsense/mvc/app/models/OPNsense/Core InitialSetup.xml

wizard: default WAN setup to DHCP

1. Our config defaults are DHCP as well.
2. If WAN is disabled this causes a "/" to be filled, which can
   be deleted but even when disabled it wants a gateway.

On a related note it would be good if the wizard would refill from
the current configuration so people could safely skip over these parts.
DeltaFile
+2-2src/opnsense/mvc/app/models/OPNsense/Core/InitialSetup.xml
+2-21 files

FreeBSD/ports 95582a2misc/p5-Business-ISBN-Data distinfo Makefile

misc/p5-Business-ISBN-Data: update to 20260120.001
DeltaFile
+3-3misc/p5-Business-ISBN-Data/distinfo
+1-1misc/p5-Business-ISBN-Data/Makefile
+4-42 files

LLVM/project e593fb1bolt/include/bolt/Core MCPlusBuilder.h, bolt/lib/Target/AArch64 AArch64MCPlusBuilder.cpp

[BOLT][BTI] Patch ignored functions in place when targeting them with
indirect branches

When applying BTI fixups to indirect branch targets, ignored functions are
considered a special case:
- these hold no instructions,
- have no CFG,
- and are not emitted in the new text section.

The solution is to patch the entry points in the original location.

If such a situation occurs in a binary, recompilation using the
-fpatchable-function-entry flag is required. This will place a nop at all
function starts, which BOLT can use to patch the original section.

Without the extra nop, BOLT cannot safely patch the original .text section.

An alternative solution could be to also ignore the function from which
the stub starts. This has not been tried as LongJmp pass - where most

    [3 lines not shown]
DeltaFile
+45-16bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+39-0bolt/test/AArch64/long-jmp-bti-ignored-nop.s
+2-4bolt/test/AArch64/long-jmp-bti-ignored.s
+5-0bolt/include/bolt/Core/MCPlusBuilder.h
+91-204 files

LLVM/project df063cbllvm/docs/CommandGuide llvm-dwarfdump.rst, llvm/test/tools/llvm-dwarfdump/X86 coverage.test

[llvm-dwarfdump][LineCov 1/3] Add variable coverage metrics (#176725)

Patch 1 of 3 to add to llvm-dwarfdump the ability to measure DWARF
coverage of local variables in terms of source lines, as discussed in
[this
RFC](https://discourse.llvm.org/t/rfc-debug-info-coverage-tool-v2/83266).

This patch adds the basic variable coverage implementation. By default,
inlined instances are shown separately (displaying the full inlining
chain). Alternatively, a combined view that averages across all inlined
instances can be returned using `--combine-instances`.

In this patch, we simply print a count of source lines over which each
variable is covered. Later patches in the series will add the comparison
against a baseline.

Example output:
```
$ llvm-dwarfdump --show-variable-coverage somefile

    [16 lines not shown]
DeltaFile
+241-0llvm/tools/llvm-dwarfdump/Coverage.cpp
+180-0llvm/test/tools/llvm-dwarfdump/X86/Inputs/coverage.ll
+148-0llvm/test/tools/llvm-dwarfdump/X86/Inputs/coverage-opt.ll
+39-0llvm/docs/CommandGuide/llvm-dwarfdump.rst
+26-0llvm/test/tools/llvm-dwarfdump/X86/coverage.test
+20-1llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+654-12 files not shown
+657-18 files

LLVM/project 3edfa9emlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

Remove unused function
DeltaFile
+0-14mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-141 files

LLVM/project d3cebffflang/test/Integration/OpenMP target-nesting-in-host-ops.f90, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[MLIR][OpenMP] Simplify OpenMP device codegen

After removing host operations from the device MLIR module, it is no longer
necessary to provide special codegen logic to prevent these operations from
causing compiler crashes or miscompilations.

This patch removes these now unnecessary code paths to simplify codegen logic.
Some MLIR tests are now replaced with Flang tests, since the responsibility of
dealing with host operations has been moved earlier in the compilation flow.

MLIR tests holding target device modules are updated to no longer include now
unsupported host operations.
DeltaFile
+159-267mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-160mlir/test/Target/LLVMIR/openmp-target-nesting-in-host-ops.mlir
+87-0flang/test/Integration/OpenMP/target-nesting-in-host-ops.f90
+24-37mlir/test/Target/LLVMIR/omptarget-memcpy-align-metadata.mlir
+45-0mlir/test/Target/LLVMIR/openmp-llvm-invalid.mlir
+0-43mlir/test/Target/LLVMIR/omptarget-target-inside-task.mlir
+315-5077 files not shown
+424-61213 files

LLVM/project b169e63mlir/test/Target/LLVMIR omptarget-declare-target-to-device.mlir

Update target device test
DeltaFile
+7-11mlir/test/Target/LLVMIR/omptarget-declare-target-to-device.mlir
+7-111 files

LLVM/project c283c44flang/test/Integration/OpenMP target-use-device-nested.f90, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Make omp.target[_{enter,exit}]_data and omp.target_update host-only ops
DeltaFile
+46-0flang/test/Integration/OpenMP/target-use-device-nested.f90
+0-46mlir/test/Target/LLVMIR/openmp-target-use-device-nested.mlir
+10-24mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-21llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+0-11llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+56-1025 files

LLVM/project e807c6fllvm/lib/CodeGen/SelectionDAG SelectionDAG.cpp, llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

[AArch64] Fold sext-in-reg for predicate -> fixed-length conversions. (#176883)

DeltaFile
+35-59llvm/test/CodeGen/AArch64/alias_mask.ll
+12-15llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
+19-0llvm/test/CodeGen/AArch64/fold-sext-in-reg-predicate-fixed-length.ll
+12-4llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+11-5llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+15-1llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
+104-846 files

LLVM/project 90b94f1bolt/include/bolt/Core MCPlusBuilder.h, bolt/lib/Passes LongJmp.cpp Hugify.cpp

[BOLT][BTI] Refactor: move applyBTIFixup under MCPlusBuilder

applyBTIFixup is checking the "type" of target functions of short/long
stubs, and applies BTI fixup at these targets.
While previously it was only used in LongJmp pass, this refactor allows
this function to be called from other passes inserting indirect
branches, such as:
- Hugify,
- PatchEntries.

As different passes have different information about their targets (e.g.
target BasicBlock, target Symbol, target Function), specialized versions
are created (applyBTIFixupToSymbol, applyBTIFixupToTarget), and each calls
applyBTIFixupCommon, which implements the original logic from before.
DeltaFile
+63-0bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+5-55bolt/lib/Passes/LongJmp.cpp
+39-0bolt/test/AArch64/patch-entries-bti.s
+30-0bolt/test/runtime/AArch64/hugify-bti.c
+15-0bolt/include/bolt/Core/MCPlusBuilder.h
+5-2bolt/lib/Passes/Hugify.cpp
+157-571 files not shown
+160-577 files

LLVM/project ae35b38llvm/test/TableGen directive1.td directive2.td, llvm/utils/TableGen/Basic DirectiveEmitter.cpp

Revert "[TableGen] Emit constexpr versions of some directive/clause functions (#176253)"

This reverts commit cf68af690ba7f98943e5f0f5cb39a91868d62098.

It increased the compilation time for a number of clang source files.
See comments in https://github.com/llvm/llvm-project/pull/176253 for
more information.
DeltaFile
+40-109llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
+25-56llvm/test/TableGen/directive1.td
+25-56llvm/test/TableGen/directive2.td
+90-2213 files

OPNSense/core b439e64. plist, src/opnsense/mvc/app/models/OPNsense/Interfaces Settings.xml

interfaces: move migration prefix for new settings

Error: Call to a member function applyDefault() on null

(from the Bridge model)
DeltaFile
+0-87src/opnsense/mvc/app/models/OPNsense/Interfaces/Migrations/M1_0_0.php
+87-0src/opnsense/mvc/app/models/OPNsense/Interfaces/Migrations/SET1_0_0.php
+1-1plist
+1-0src/opnsense/mvc/app/models/OPNsense/Interfaces/Settings.xml
+89-884 files

HardenedBSD/ports 466d4b8comms/java-simple-serial-connector Makefile, devel/arduino18 Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+11-11mail/hydroxide/files/modules.txt
+7-7editors/zed/files/patch-Cargo.lock
+8-6devel/arduino18/Makefile
+5-5security/netbird/distinfo
+4-5comms/java-simple-serial-connector/Makefile
+3-3mail/hydroxide/distinfo
+38-3723 files not shown
+79-7229 files

LLVM/project 7e1696fclang/lib/AST/ByteCode InterpFrame.cpp

[clang][bytecode][NFC] Use a ListSeparator to print backtraces (#177148)

DeltaFile
+2-2clang/lib/AST/ByteCode/InterpFrame.cpp
+2-21 files

LLVM/project 77e08b4clang Maintainers.rst

Replace Erich Keane as Attributes maintainer (#177005)

During the Clang maintainers list refresh, Erich mentioned he would like
me to resume ownership of Clang attributes due to time constraints.
He'll continue to help out as he can but this frees him up for other
efforts. Thank you for your help in this role!
DeltaFile
+2-2clang/Maintainers.rst
+2-21 files

LLVM/project 2719056clang/include/clang/Analysis/Scalable/TUSummary ExtractorRegistry.h, clang/lib/Analysis/Scalable/TUSummary ExtractorRegistry.cpp

[clang][ssaf] Fix instantiations of `Registry<TUSummaryExtractor, TUSummaryBuilder &>` (#176730)

This patch fixes the incorrect explicit instantiation
declaration/definition added in #173290, and adds checks to prevent
similar errors.

MinGW/Cygwin with `-DCLANG_LINK_CLANG_DYLIB=ON` require proper
declarations of the template instantiations to share data symbols across
DLL boundaries.
DeltaFile
+18-0llvm/include/llvm/Support/Registry.h
+4-1clang/lib/Analysis/Scalable/TUSummary/ExtractorRegistry.cpp
+1-1clang/include/clang/Analysis/Scalable/TUSummary/ExtractorRegistry.h
+23-23 files

LLVM/project d82cdb5flang/lib/Optimizer/OpenMP FunctionFiltering.cpp

Formatting
DeltaFile
+2-2flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp
+2-21 files

LLVM/project b184f92mlir/test/Target/LLVMIR omptarget-declare-target-to-device.mlir

Update target device test
DeltaFile
+7-11mlir/test/Target/LLVMIR/omptarget-declare-target-to-device.mlir
+7-111 files

LLVM/project 6bd883bflang/test/Integration/OpenMP target-use-device-nested.f90, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

Make omp.target[_{enter,exit}]_data and omp.target_update host-only ops
DeltaFile
+46-0flang/test/Integration/OpenMP/target-use-device-nested.f90
+0-46mlir/test/Target/LLVMIR/openmp-target-use-device-nested.mlir
+10-24mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-21llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+0-11llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+56-1025 files

LLVM/project 85c0b56flang/test/Integration/OpenMP target-nesting-in-host-ops.f90, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[MLIR][OpenMP] Simplify OpenMP device codegen

After removing host operations from the device MLIR module, it is no longer
necessary to provide special codegen logic to prevent these operations from
causing compiler crashes or miscompilations.

This patch removes these now unnecessary code paths to simplify codegen logic.
Some MLIR tests are now replaced with Flang tests, since the responsibility of
dealing with host operations has been moved earlier in the compilation flow.

MLIR tests holding target device modules are updated to no longer include now
unsupported host operations.
DeltaFile
+159-267mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+0-160mlir/test/Target/LLVMIR/openmp-target-nesting-in-host-ops.mlir
+87-0flang/test/Integration/OpenMP/target-nesting-in-host-ops.f90
+24-37mlir/test/Target/LLVMIR/omptarget-memcpy-align-metadata.mlir
+45-0mlir/test/Target/LLVMIR/openmp-llvm-invalid.mlir
+0-43mlir/test/Target/LLVMIR/omptarget-target-inside-task.mlir
+315-5077 files not shown
+424-61213 files

FreeBSD/src fab0a83sys/netinet ip_output.c

tcp: fix checksum calculation bug

The new function in_delayed_cksum_o() was introduced to compute
the checksum in the case the mbuf chain does not start with the
IP header. The offset of the IP header is specified by the
parameter iph_offset.
If iph_offset was positive, the function computed an incorrect
checksum.

Reviewed by:            sobomax, tuexen
Fixes:                  5feb38e37847 ("netinet: provide "at offset" variant of the in_delayed_cksum() API")
Differential Revision:  https://reviews.freebsd.org/D54269

(cherry picked from commit c8b3b605ae854ead6c8804e0400d80cb8fa73fdf)
DeltaFile
+2-2sys/netinet/ip_output.c
+2-21 files