LLVM/project 7fcc12coffload/test lit.cfg, offload/test/mapping firstprivate_aligned.cpp

Reapply [Offload][lit] Link against SPIR-V DeviceRTL if present (#180231)

I'll merge this at the same time as some llvm-zorg changes that start
building the DeviceRTL.

We only see one new test passing because everything still fails because
of the issue described in
https://github.com/llvm/llvm-project/pull/178980

Once a fix for that issue is merged we will see many new passes.
DeltaFile
+3-2offload/test/lit.cfg
+0-1offload/test/mapping/firstprivate_aligned.cpp
+3-32 files

LLVM/project e6a72a1llvm/lib/Target/RISCV RISCVISelLowering.cpp RISCVISelDAGToDAG.cpp, llvm/test/CodeGen/RISCV rv32p.ll

[RISCV] Combine ADDD+WMULSU to WMACCSU (#180454)

Extend the existing combineADDDToWMACC DAG combine to also match
RISCVISD::WMULSU and produce RISCVISD::WMACCSU. This is similar to
how ADDD+UMUL_LOHI is combined to WMACCU and ADDD+SMUL_LOHI is
combined to WMACC.

This patch was generated by AI, but I reviewed it.
DeltaFile
+28-12llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+28-0llvm/test/CodeGen/RISCV/rv32p.ll
+16-3llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+1-0llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+73-154 files

LLVM/project e6c73eblibcxx/docs CodingGuidelines.rst

[libc++][docs] Update `[[nodiscard]]` coding guidelines (#178384)

as requested in
https://github.com/llvm/llvm-project/pull/176936#pullrequestreview-3706775444

Clarifies when not to apply `[[nodiscard]]`.


https://libcxx.llvm.org/CodingGuidelines.html#apply-nodiscard-where-relevant

---------

Co-authored-by: Nikolas Klauser <nikolasklauser at berlin.de>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+4-1libcxx/docs/CodingGuidelines.rst
+4-11 files

FreeBSD/src d4d735bsys/netinet sctp_cc_functions.c

sctp: Use __sdt_used for variables only used by SDT probes

Previously this used a home-rolled version.

Reviewed by:    tuexen, imp, markj
Differential Revision:  https://reviews.freebsd.org/D55165
DeltaFile
+9-15sys/netinet/sctp_cc_functions.c
+9-151 files

FreeBSD/src 83e5b79sys/fs/ext2fs ext2_extents.c

ext2fs: Use __sdt_used for variables only used by SDT probes

Reviewed by:    imp, markj
Differential Revision:  https://reviews.freebsd.org/D55164
DeltaFile
+1-5sys/fs/ext2fs/ext2_extents.c
+1-51 files

FreeBSD/src 3f18463sys/dev/sdhci sdhci_fdt_rockchip.c

sdhci_fdt_rockchip: Don't return 0 from probe routine

The only write to the softc is a no-op (softcs are initialized to all
zeroes), so remove that and just use BUS_PROBE_DEFAULT.

Reviewed by:    bnovkov
Differential Revision:  https://reviews.freebsd.org/D55159
DeltaFile
+1-4sys/dev/sdhci/sdhci_fdt_rockchip.c
+1-41 files

FreeBSD/src efdd30csys/dev/sdhci sdhci_fdt_rockchip.c

sdhci_fdt_rockchip: Move ofw_bus_status_okay check

This fixes a warning from GCC:

sys/dev/sdhci/sdhci_fdt_rockchip.c: In function 'sdhci_fdt_rockchip_probe':
sys/dev/sdhci/sdhci_fdt_rockchip.c:120:14: error: statement will never be executed [-Werror=switch-unreachable]
  120 |         if (!ofw_bus_status_okay(dev))
      |              ^~~~~~~~~~~~~~~~~~~~~~~~

Reviewed by:    bnovkov, imp, emaste
Differential Revision:  https://reviews.freebsd.org/D55158
DeltaFile
+2-1sys/dev/sdhci/sdhci_fdt_rockchip.c
+2-11 files

FreeBSD/src ee73475lib/clang/libclang Makefile, lib/clang/liblldb Makefile

llvm: Link private LLVM libraries against compiler_rt for aarch64

This is required for GCC which uses libcalls for outlined atomics.

Reviewed by:    dim
Differential Revision:  https://reviews.freebsd.org/D55157
DeltaFile
+4-0lib/clang/libclang/Makefile
+4-0lib/clang/liblldb/Makefile
+4-0lib/clang/libllvm/Makefile
+12-03 files

FreeBSD/src 244f498lib/libmd/aarch64 md5block.S

libmd aarch64: Use ands instead of bics to round down the length

GNU as does not accept bics with two register operands but instead
requires three register operands.  However, clang assembles the bics
instruction to ands anyway, so just use ands directly.

Reviewed by:    fuz
Differential Revision:  https://reviews.freebsd.org/D55155
DeltaFile
+1-1lib/libmd/aarch64/md5block.S
+1-11 files

FreeBSD/ports 91f70d7x11/tint Makefile distinfo, x11/tint/files patch-src_util_gradient.h

x11/tint: Update 16.7 => 17.0.2, unbreak on 16

* Upstream changes are mostly bugfixes. See CHANGELOG for details:
  https://gitlab.com/o9000/tint2/-/blob/17.0.2/ChangeLog
* tint2conf was ported to GTK 3.0. Update dependencies accordingly.
* Unbreak build on 16.0-CURRENT.
* Replace PORTVERSION with DISTVERSION.
* Remove unnecessary dependencies from LIB_DEPENDS.
* Switch to bzip2 tarball.
* Use default GL_TAGNAME instead of hash.
* Fix warnings from portclippy.

PR:             293022
MFH:            2026Q1
(cherry picked from commit a6cf5e4cc913b5340cd555d484a5e9fe8fd0ab77)
DeltaFile
+6-11x11/tint/Makefile
+15-0x11/tint/files/patch-src_util_gradient.h
+3-3x11/tint/distinfo
+24-143 files

FreeBSD/ports 5dd2565devel/R-cran-Rdpack distinfo Makefile

devel/R-cran-Rdpack: Update to 2.6.6

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

LLVM/project 0e4f54ellvm .clang-format

Remove stray change
DeltaFile
+1-1llvm/.clang-format
+1-11 files

LLVM/project 47fb7cdllvm/utils/gn/secondary/llvm/lib/TargetParser BUILD.gn

[gn build] Port da0ad392ffc6
DeltaFile
+1-0llvm/utils/gn/secondary/llvm/lib/TargetParser/BUILD.gn
+1-01 files

LLVM/project a911fc1llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-shuffle-combining-avx512f.ll

[X86] Fold expand(splat,passthrough,mask) -> select(splat,passthrough,mask) (#180238)

If all elements of the expansion vector are already splatted in place then we can use a vselect directly
DeltaFile
+9-12llvm/test/CodeGen/X86/vector-shuffle-combining-avx512f.ll
+4-0llvm/lib/Target/X86/X86ISelLowering.cpp
+13-122 files

FreeBSD/ports a6cf5e4x11/tint Makefile distinfo, x11/tint/files patch-src_util_gradient.h

x11/tint: Update 16.7 => 17.0.2, unbreak on 16

* Upstream changes are mostly bugfixes. See CHANGELOG for details:
  https://gitlab.com/o9000/tint2/-/blob/17.0.2/ChangeLog
* tint2conf was ported to GTK 3.0. Update dependencies accordingly.
* Unbreak build on 16.0-CURRENT.
* Replace PORTVERSION with DISTVERSION.
* Remove unnecessary dependencies from LIB_DEPENDS.
* Switch to bzip2 tarball.
* Use default GL_TAGNAME instead of hash.
* Fix warnings from portclippy.

PR:             293022
MFH:            2026Q1
DeltaFile
+6-11x11/tint/Makefile
+15-0x11/tint/files/patch-src_util_gradient.h
+3-3x11/tint/distinfo
+24-143 files

FreeBSD/doc d792747website/content/en/releases/12.0R hardware.adoc, website/content/en/releases/12.1R hardware.adoc

12.x and 13.0 release note: Correct for Intel wireless cards use iwm(4)

PR:             257361
Reviewed by:    fernape
Differential Revision:  https://reviews.freebsd.org/D42775
DeltaFile
+1-1website/content/en/releases/12.0R/hardware.adoc
+1-1website/content/en/releases/12.1R/hardware.adoc
+1-1website/content/en/releases/12.2R/hardware.adoc
+1-1website/content/en/releases/12.3R/hardware.adoc
+1-1website/content/en/releases/12.4R/hardware.adoc
+1-1website/content/en/releases/13.0R/hardware.adoc
+6-66 files

LLVM/project deae092llvm/lib/Target/AMDGPU AMDGPULibCalls.cpp, llvm/test/CodeGen/AMDGPU amdgpu-simplify-libcall-pow.ll amdgpu-simplify-libcall-powr.ll

AMDGPU: Libcall expand fast pow/powr/pown/rootn for float case

This is to eliminate the special case global unsafe math options
in these functions from the library. The core operation only
uses about 4 instructions, and then there's an additional prolog
and/or epilog to fixup special cases.

I have an alternative patch which implements this by using separate
entrypoints in the library, and having the pass replace the calls
instead of this full handling. However, given the unfortunate state
of library development, it requires a full year to make cross project
changes. This is the most expedient path to deleting the control library;
in the future we can do libcall emission when compiler has the real
ability to properly emit new calls.

This is mostly a direct port of these functions:
https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/ocml/src/powF_base.h

I used copilot to do the heavy lifting on the drudgery of writing out

    [22 lines not shown]
DeltaFile
+1,038-56llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow.ll
+737-92llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-powr.ll
+326-36llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-rootn.ll
+285-3llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+77-8llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pown.ll
+45-4llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-codegen.ll
+2,508-1991 files not shown
+2,523-2027 files

LLVM/project 0a74066llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine minimumnum.ll maximumnum.ll

[InstCombine] Support minimumnum/maximumnum (#180529)

Support minimumnum/maximumnum intrinsics in various existing
minnum/maxnum/minimum/maximum folds.

The test coverage has been copied from minnum/maxnum.

Proofs: https://alive2.llvm.org/ce/z/YMlLwO
Proofs that time out: https://alive2.llvm.org/ce/z/dJN8wj
DeltaFile
+447-0llvm/test/Transforms/InstCombine/minimumnum.ll
+379-0llvm/test/Transforms/InstCombine/maximumnum.ll
+18-2llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+844-23 files

FreeBSD/src ec5d466sys/arm/allwinner aw_mmc.c aw_mmc.h

aw_mmc: Reset card

On H616 (and I think H6, but this isn't verified) we need to reset the
card to have a functioning device.

With this commit all my pending patches for H616 are in tree. We run
well on my test device (Orange Pi Zero3), however there is an
uninvestigated issue with ethernet and graphics are an open question.

Reviewed by:    manu, adrian
MFC After:      1 week
Relnotes:       yes
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55097
DeltaFile
+8-0sys/arm/allwinner/aw_mmc.c
+4-0sys/arm/allwinner/aw_mmc.h
+12-02 files

LLVM/project 091972cllvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp, llvm/test/CodeGen/SPIRV/pointers sgep-array.ll sgep-vector.ll

[SPIR-V] initial support for @llvm.structured.gep (#178668)

This commit adds initial support to lower the intrinsinc
`@llvm.structured.gep` into proper SPIR-V.
For now, the backend continues to support both GEP formats. We might
want to revisit this at some point for the logical part.
DeltaFile
+141-0llvm/test/CodeGen/SPIRV/pointers/sgep-array.ll
+86-0llvm/test/CodeGen/SPIRV/pointers/sgep-vector.ll
+57-18llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+47-0llvm/test/CodeGen/SPIRV/pointers/sgep-dynamic-index.ll
+39-0llvm/test/CodeGen/SPIRV/pointers/sgep-class.ll
+36-0llvm/test/CodeGen/SPIRV/pointers/sgep-struct.ll
+406-183 files not shown
+479-189 files

FreeBSD/src 97beb0c. CONTRIBUTING.md

CONTRIBUTING.md: Clarify GitHub pull requests

Make the guidelines more prescriptive (while remaining clear that Pull
Requests are merely one, not-preferred method for submitting changes).

Reviewed by:    imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55089
DeltaFile
+85-54CONTRIBUTING.md
+85-541 files

FreeBSD/doc ceeca62website/data/ru/news news.toml

website: update ru/news

(14.4-BETA1 announcement)
DeltaFile
+5-0website/data/ru/news/news.toml
+5-01 files

LLVM/project ab2e10dllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-atomicrmw-fadd.mir fp-atomics-gfx942.ll

[AMDGPU] Add legalization rules for G_ATOMICRMW_FADD (#175257)

G_ATOMICRMW_FADD is supported on flat, global and local address spaces
for S32, S64 and V2S16 values.
DeltaFile
+259-4llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-atomicrmw-fadd.mir
+147-31llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx942.ll
+66-0llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-atomicrmw-fadd.v2f16.mir
+22-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+2-3llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.f32.ll
+2-3llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.v2f16-no-rtn.ll
+498-413 files not shown
+501-469 files

OPNSense/core 62806dbsrc/opnsense/mvc/app/controllers/OPNsense/Base ApiMutableModelControllerBase.php, src/opnsense/mvc/app/views/OPNsense/IDS index.volt

bootgrid: batch toggle-selection action by default, cleanup IDS front-end
DeltaFile
+3-104src/opnsense/mvc/app/views/OPNsense/IDS/index.volt
+28-23src/opnsense/mvc/app/controllers/OPNsense/Base/ApiMutableModelControllerBase.php
+21-22src/opnsense/www/js/opnsense_bootgrid.js
+52-1493 files

LLVM/project 84f4b1ellvm/lib/Analysis VectorUtils.cpp, llvm/lib/Transforms/Vectorize VPlanRecipes.cpp

Reland "[LoopVectorize] Support vectorization of overflow intrinsics" (#180526)

Enables support for marking overflow intrinsics `uadd`, `sadd`, `usub`,
`ssub`, `umul` and `smul` as trivially vectorizable.

Fixes #174617

---

This patch is a reland of #174835.

Reverts #179819
DeltaFile
+469-1llvm/test/Transforms/LoopVectorize/multiple-result-intrinsics.ll
+73-1llvm/test/Transforms/LoopVectorize/AArch64/multiple-result-intrinsics.ll
+18-15llvm/test/Transforms/LoopVectorize/struct-return.ll
+6-9llvm/lib/Analysis/VectorUtils.cpp
+6-1llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+572-275 files

FreeBSD/doc 79d8fb3documentation/content/en/articles/gjournal-desktop _index.adoc

update translation of articles/gjournal-desktop to Russian

Reviewed by: marck, ziaee
Approved by: marck
Differential Revision: https://reviews.freebsd.org/D54904
DeltaFile
+633-175documentation/content/en/articles/gjournal-desktop/_index.adoc
+633-1751 files

LLVM/project 94971b7llvm/include/llvm/CodeGen Register.h

[CodeGen][NFC] Update a comment. (#180531)

Since a register can represent a negative frame index, remove
"non-negative" from the comment.
DeltaFile
+1-1llvm/include/llvm/CodeGen/Register.h
+1-11 files

LLVM/project 9069164clang/test/DebugInfo/CXX ctor-homing-local-type.cpp, llvm/lib/IR DIBuilder.cpp

[llvm][DebugInfo] Avoid attaching retained nodes to unrelated subprograms in DIBuilder (#180294)

Fix a regression introduced by
https://github.com/llvm/llvm-project/pull/165032, where DIBuilder could
attach local metadata nodes to the wrong subprogram during finalization.

DIBuilder records freshly created local variables, labels, and types in
`DIBuilder::SubprogramTrackedNodes`, and later attaches them to their
parent subprogram's retainedNodes in `finalizeSubprogram()`.

However, a temporary local type created via
`createReplaceableCompositeType()` may later be replaced by a type with
a different scope.
DIBuilder does not currently verify that the scopes of the original and
replacement types match.

As a result, local types can be incorrectly attached to the
retainedNodes of an unrelated subprogram. This issue is observable in
clang with limited debug info mode (see

    [5 lines not shown]
DeltaFile
+47-0llvm/unittests/IR/IRBuilderTest.cpp
+37-0clang/test/DebugInfo/CXX/ctor-homing-local-type.cpp
+17-4llvm/lib/IR/DIBuilder.cpp
+101-43 files

OpenBSD/ports 7XtOR2Mtextproc/goldendict-ng Makefile

   use textproc/tomlplusplus with -DUSE_SYSTEM_TOML=ON

   ok sthen@
VersionDeltaFile
1.7+4-0textproc/goldendict-ng/Makefile
+4-01 files

LLVM/project 2e21673flang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Semantics/OpenMP allocate_do1.f90 allocate_do.f90

[OpenMP][flang] Enabling support for Allocate clause in DO construct (#180172)

Fixes [#179425](https://github.com/llvm/llvm-project/issues/179425).

Allocate clause is allowed inside DO and parallel DO constructs as per
[13.6.2](https://www.openmp.org/wp-content/uploads/OpenMP-API-Specification-6-0.pdf)
but flang seemed to throw diagnostic against the same. This patch
enables initial support for allocate clause in DO construct.
DeltaFile
+49-0flang/test/Semantics/OpenMP/allocate_do1.f90
+45-0flang/test/Semantics/OpenMP/allocate_do.f90
+1-2flang/lib/Lower/OpenMP/OpenMP.cpp
+2-0llvm/include/llvm/Frontend/OpenMP/OMP.td
+97-24 files