LLVM/project 695e1ballvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.global.store.async.from.lds.ll

AMDGPU/GlobalISel: RegBankLegalize rules for async LDS stores (#192717)
DeltaFile
+5-1llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.store.async.from.lds.ll
+6-22 files

LLVM/project da663a1llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.cvt.scalef32.sr.pk.ll

[AMDGPU][GlobalIsel] Add regbank support for cvt_scalef32_sr_pk_f6_f116/32  intrinsics (#192745)

This patch adds register bank legalization rules for
cvt_scalef32_sr_pk_f6_f116/32 intrinsics in the AMDGPU GlobalISel
pipeline.
DeltaFile
+184-326llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.scalef32.sr.pk.ll
+15-2llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+14-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+5-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
+218-3284 files

LLVM/project ddd92c7llvm/lib/Target/AMDGPU AMDGPUMCResourceInfo.cpp AMDGPUResourceUsageAnalysis.cpp, llvm/test/CodeGen/AMDGPU object-linking-local-resources.ll lds-link-time-codegen-indirect.ll

[AMDGPU] Report only local per-function resource usage when object linking is enabled

With object linking the linker aggregates resource usage across TUs via
`.amdgpu.info`, so compile-time pessimism and call-graph propagation duplicate
the linker's work or pollute its inputs.

In this mode, skip the per-callsite conservative bumps in
`AMDGPUResourceUsageAnalysis` and assign each resource symbol in
`AMDGPUMCResourceInfo` a concrete local constant instead of building call-graph
max/or expressions.
DeltaFile
+104-0llvm/test/CodeGen/AMDGPU/object-linking-local-resources.ll
+26-8llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp
+10-1llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
+4-0llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.h
+1-1llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-indirect.ll
+145-105 files

LLVM/project 2ac38e9llvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+198-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+159-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+116-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+111-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+110-0llvm/docs/AMDGPUUsage.rst
+83-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+777-211 files not shown
+1,190-1417 files

LLVM/project 5cda8d9llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU lds-link-time-codegen.ll lds-link-time-codegen-named-barrier.ll

[AMDGPU] Emit the relocation symbol for LDS and named barrier when object linking is enabled (#192380)
DeltaFile
+50-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+35-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-named-barrier.ll
+12-3llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+12-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+109-34 files

FreeNAS/freenas 76bcd68src/middlewared/middlewared/api/v27_0_0 app.py

Fix integration tests
DeltaFile
+7-7src/middlewared/middlewared/api/v27_0_0/app.py
+7-71 files

LLVM/project 699b6bdllvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp RISCVTargetTransformInfo.h, llvm/test/Analysis/CostModel/RISCV arith-int.ll

[RISCV] Cost UDIV/UREM by a constant power of 2 as a SHL/AND in getArithmeticInstrCost() (#179570)

Similar to behavior in X86 and AArch64.

---------

Co-authored-by: Ryan Buchner <rbuchner at qti.qualcomm.com>
Co-authored-by: Luke Lau <luke_lau at icloud.com>
DeltaFile
+40-0llvm/test/Analysis/CostModel/RISCV/arith-int.ll
+28-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+5-0llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+73-03 files

LLVM/project 24154a5lld/test/COFF lto-libcall-archive-bitcode.test, lld/test/ELF/lto libcall-archive-bitcode.test

Revert "Reland "[LTO][LLD] Prevent invalid LTO libfunc transforms (#164916)"" (#192741)

Reverts llvm/llvm-project#190642

A bisect shows this as the change leading to the link failure at
https://g-issues.fuchsia.dev/issues/503377901
DeltaFile
+19-52llvm/lib/LTO/LTO.cpp
+0-56lld/test/wasm/lto/libcall-archive-bitcode.ll
+0-54lld/test/ELF/lto/libcall-archive-bitcode.test
+0-51lld/test/COFF/lto-libcall-archive-bitcode.test
+0-35llvm/test/LTO/Resolution/X86/libcall-in-thin-link.ll
+7-27llvm/lib/LTO/LTOBackend.cpp
+26-27519 files not shown
+52-48825 files

LLVM/project 12a9996clang-tools-extra/clang-tidy/bugprone UseAfterMoveCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Prevent false-positive in presence of derived-to-base cast in bugprone.use-after-move (#189638)

The following scenario is quite common, but was reported as a
use-after-move:

```cpp
struct Base {
  Base(Base&&);
};

struct C : Base {
    int field;
    C(C&& c) :
      Base(std::move(c)),  // << only moves through the base type
      field(c.field) // << this is a valid use-after-move
      {}
};
```

Fix this by checking field origin when the moved value is immediately
cast to base.
DeltaFile
+56-39clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
+38-0clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move-derived-to-base.cpp
+3-0clang-tools-extra/docs/ReleaseNotes.rst
+97-393 files

OpenBSD/ports DHlViipsysutils/moor distinfo Makefile

   sysutils/moor: Update to 2.12.1

   From Maintainer Lydia Sobot, thanks
VersionDeltaFile
1.5+2-2sysutils/moor/distinfo
1.5+1-1sysutils/moor/Makefile
+3-32 files

LLVM/project 913141ellvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp AArch64LegalizerInfo.h, llvm/test/CodeGen/AArch64 vec-combine-compare-to-bitmask.ll arm64-zip.ll

[AArch64][GlobalISel] Fix nonterminating legalization for <8 x s4> vectors. (#192747)

G_CONCAT_VECTORS with <16 x s4> sources hits the bitcast legalization
path, which round-trips through scalar types (e.g. s32) and regenerates
<8 x s4> vectors via G_UNMERGE_VALUES and G_BUILD_VECTOR. The
G_BUILD_VECTOR is then widened to <8 x s8> (via .minScalarOrElt(0, s8)),
producing G_ANYEXT/G_TRUNC artifact pairs. The artifact combiner folds
these pairs away, restoring the original <8 x s4> types, which feeds
back into G_CONCAT_VECTORS again.

This change:
 * Adds .minScalarOrElt(1, s8) to the G_ICMP rules to ensure operand
vector elements are at least s8. This causes <16 x s4> operands to be
widened
to <16 x s8>, and the result type follows via minScalarEltSameAs.

* Add custom legalization for G_CONCAT_VECTORS when element size < 8.
The custom handler widens source operands via G_ANYEXT (e.g.
<8 x s4> -> <8 x s8>), concats the widened vectors (producing a

    [6 lines not shown]
DeltaFile
+143-43llvm/test/CodeGen/AArch64/vec-combine-compare-to-bitmask.ll
+137-40llvm/test/CodeGen/AArch64/arm64-zip.ll
+35-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+2-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
+0-1llvm/test/CodeGen/AArch64/dup.ll
+317-845 files

FreeBSD/ports f49610csecurity/nss distinfo Makefile, security/nss/files patch-lib_softoken_pkcs11c.c

security/nss: update to 3.123

Announcement:
  https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/AW6VHkn6E0o

Patch patch-lib_softoken_pkcs11c.c was dropped - it is unclear if it
was still relevant. The last discussion of the problem this patch was
supposed to fix happened >15 years ago, and nothing came out of that.

(cherry picked from commit 0b2981009eb14e4e1dbc699c4ea866bdab995bac)
DeltaFile
+0-22security/nss/files/patch-lib_softoken_pkcs11c.c
+3-3security/nss/distinfo
+1-1security/nss/Makefile
+4-263 files

FreeBSD/ports 0b29810security/nss distinfo Makefile, security/nss/files patch-lib_softoken_pkcs11c.c

security/nss: update to 3.123

Announcement:
  https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/AW6VHkn6E0o

Patch patch-lib_softoken_pkcs11c.c was dropped - it is unclear if it
was still relevant. The last discussion of the problem this patch was
supposed to fix happened >15 years ago, and nothing came out of that.
DeltaFile
+0-22security/nss/files/patch-lib_softoken_pkcs11c.c
+3-3security/nss/distinfo
+1-1security/nss/Makefile
+4-263 files

FreeBSD/ports af1bd58graphics/py-opencv-python-headless/files patch-opencv_modules_core_include_opencv2_core_vsx__utils.hpp

graphics/py-opencv-python-headless: fix build on powerpc64le

Import patch from graphics/opencv to fix build.
DeltaFile
+22-0graphics/py-opencv-python-headless/files/patch-opencv_modules_core_include_opencv2_core_vsx__utils.hpp
+22-01 files

LLVM/project 8298ddalld/test/COFF lto-libcall-archive-bitcode.test, lld/test/ELF/lto libcall-archive-bitcode.test

Revert "Reland "[LTO][LLD] Prevent invalid LTO libfunc transforms (#164916)" …"

This reverts commit fecf609998340a5a2c27346468beba67e58afcc2.
DeltaFile
+19-52llvm/lib/LTO/LTO.cpp
+0-56lld/test/wasm/lto/libcall-archive-bitcode.ll
+0-54lld/test/ELF/lto/libcall-archive-bitcode.test
+0-51lld/test/COFF/lto-libcall-archive-bitcode.test
+0-35llvm/test/LTO/Resolution/X86/libcall-in-thin-link.ll
+7-27llvm/lib/LTO/LTOBackend.cpp
+26-27519 files not shown
+52-48825 files

LLVM/project bfdf30aflang/include/flang/Optimizer/Support InternalNames.h, flang/lib/Optimizer/Support InternalNames.cpp

[flang] NameUniquer helper for detecting module-scope data (#192733)

Add NameUniquer::isModuleScopeDataUniquedName to detect uniqued names
for module-scope data (variables, named constants, and common blocks),
excluding procedures and other prefixed symbols.
DeltaFile
+23-0flang/lib/Optimizer/Support/InternalNames.cpp
+5-0flang/include/flang/Optimizer/Support/InternalNames.h
+28-02 files

NetBSD/pkgsrc-wip e2eab8axrdp TODO

xrdp: Add recent CVEs
DeltaFile
+2-1xrdp/TODO
+2-11 files

NetBSD/pkgsrc-wip 62a2ca4serendipity TODO

serendipity: Add recent CVEs
DeltaFile
+1-1serendipity/TODO
+1-11 files

NetBSD/pkgsrc-wip 40ad7a3py-keras TODO

py-keras: Add recent CVEs
DeltaFile
+1-1py-keras/TODO
+1-11 files

NetBSD/pkgsrc-wip 059599cowntone TODO

owntone: Add recent CVEs
DeltaFile
+2-2owntone/TODO
+2-21 files

LLVM/project efbd4e5llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir

Rebase

Created using spr 1.3.7
DeltaFile
+275,101-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir
+144,679-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir
+57,682-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir
+41,844-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir
+40,613-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir
+37,209-0llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills3.mir
+597,128-03,178 files not shown
+1,049,146-83,5933,184 files

NetBSD/pkgsrc-wip c93729bnix TODO

nix: Add recent CVEs
DeltaFile
+3-0nix/TODO
+3-01 files

NetBSD/pkgsrc-wip df0e5ddminio TODO

minio: Add recent CVEs
DeltaFile
+1-1minio/TODO
+1-11 files

LLVM/project 8758917flang/include/flang/Optimizer/Transforms Passes.td, flang/lib/Optimizer/Transforms/CUDA CUFDeviceGlobal.cpp

[flang][cuda] Add option to preserve global with no use for debug info (#192731)
DeltaFile
+18-10flang/lib/Optimizer/Transforms/CUDA/CUFDeviceGlobal.cpp
+26-0flang/test/Fir/CUDA/cuda-device-global-preserve.f90
+5-0flang/include/flang/Optimizer/Transforms/Passes.td
+0-1flang/test/Fir/CUDA/cuda-device-global.f90
+49-114 files

NetBSD/pkgsrc-wip 9ecc757kibana TODO

kibana: Add recent CVEs
DeltaFile
+3-2kibana/TODO
+3-21 files

NetBSD/pkgsrc-wip b840e5fkamailio TODO

kamailio: Add recent CVEs
DeltaFile
+3-0kamailio/TODO
+3-01 files

NetBSD/pkgsrc-wip 6819edffirebird TODO

firebird: Add recent CVEs
DeltaFile
+9-0firebird/TODO
+9-01 files

LLVM/project ce1631allvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/test/Transforms/InstCombine fold-vp-load.ll

[InstCombine] Fold bitcast into vp.load (#192173)

Similar to normal loads, we should be able to fold bitcast into
`vp.load` if (1) mask is all-ones (2) either the new vector type has a
larger known minimum length than that of the original vector, or you
need to make sure the original EVL can be exact divided by the
decreasing factor (of the known minimum length).

This patch adds such folding pattern, though it only support cases where
the new vector type has a larger known minimum length.
DeltaFile
+73-0llvm/test/Transforms/InstCombine/fold-vp-load.ll
+41-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+114-02 files

Linux/linux ba314ed. MAINTAINERS, arch/arm/configs u8500_defconfig

Merge tag 'hwlock-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux

Pull hwspinlock updates from Bjorn Andersson:
 "Remove the unused u8500 hardware spinlock driver, and clean out the
  hwspinlock_pdata struct as this was the last user of the struct"

* tag 'hwlock-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
  hwspinlock: remove now unused pdata from header file
  hwspinlock: u8500: delete driver
DeltaFile
+0-155drivers/hwspinlock/u8500_hsem.c
+0-28include/linux/hwspinlock.h
+0-10drivers/hwspinlock/Kconfig
+0-1MAINTAINERS
+0-1arch/arm/configs/u8500_defconfig
+0-1drivers/hwspinlock/Makefile
+0-1966 files

Linux/linux 3d2d10edrivers/rpmsg virtio_rpmsg_bus.c qcom_glink_native.c, drivers/soc/qcom apr.c

Merge tag 'rpmsg-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux

Pull rpmsg updates from Bjorn Andersson:
 "Mark 'data' argument in rpmsg_send() const, and perculate to related
  drivers. Replace deprecated class_destroy() with class_unregister()"

* tag 'rpmsg-v7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux:
  media: platform: mtk-mdp3: Constify buffer passed to mdp_vpu_sendmsg()
  ASoC: qcom: Constify GPR packet being send over GPR interface
  rpmsg: Constify buffer passed to send API
  remoteproc: mtk_scp: Constify buffer passed to scp_send_ipi()
  remoteproc: mtk_scp_ipi: Constify buffer passed to scp_ipi_send()
  drivers: rpmsg: class_destroy() is deprecated
DeltaFile
+13-11drivers/rpmsg/virtio_rpmsg_bus.c
+9-8include/linux/rpmsg.h
+8-5drivers/rpmsg/qcom_glink_native.c
+6-6drivers/rpmsg/rpmsg_core.c
+6-4drivers/rpmsg/qcom_smd.c
+4-4drivers/soc/qcom/apr.c
+46-3812 files not shown
+67-5818 files