LLVM/project 35a20d7llvm/lib/Target/SPIRV SPIRVInstructionSelector.cpp, llvm/test/CodeGen/SPIRV externally-initialized.ll

[SPIRV] Handle `externally_initialized` for AMDGCN flavoured SPIRV (#175277)

SPIR-V doesn't currently have a way to encode the `externally_initialized` LLVM concept. Unfortunately, certain HIP constructs (e.g. `__managed__` or `__constant__` variables) rely on it. Hence, this patch allows AMDGCN flavoured SPIR-V to encode `externally_initialized` via the `HostAccessINTEL` decoration, which approximates some of the semantics; the decoration is handled during reverse translation. It also appears that we never fully implemented the decoration, which I intend to handle in a subsequent, independent patch.
DeltaFile
+25-0llvm/test/CodeGen/SPIRV/externally-initialized.ll
+12-0llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+37-02 files

LLVM/project c33a555llvm/include/llvm/Support KnownFPClass.h, llvm/lib/Analysis ValueTracking.cpp

InstCombine: Handle fsub in SimplifyDemandedFPClass

alive2 fails on some of the tests, but this is due to existing
folds in instsimplify and https://github.com/AliveToolkit/alive2/issues/1273
DeltaFile
+55-73llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fsub.ll
+17-61llvm/lib/Analysis/ValueTracking.cpp
+21-0llvm/lib/Support/KnownFPClass.cpp
+11-4llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+5-0llvm/include/llvm/Support/KnownFPClass.h
+109-1385 files

LLVM/project 83c0c5bllvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp, llvm/test/Transforms/InstCombine simplify-demanded-fpclass-fmul.ll

InstCombine: Teach SimplifyDemandedFPClass to infer nnan and ninf on fmul
DeltaFile
+27-27llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
+12-1llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+39-282 files

LLVM/project e3ff10allvm/test/Transforms/InstCombine simplify-demanded-fpclass-fsub.ll

InstCombine: Add SimplifyDemandedFPClass fsub baseline tests
DeltaFile
+1,227-0llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fsub.ll
+1,227-01 files

LLVM/project d11ef6amlir/lib/Conversion/MemRefToSPIRV MemRefToSPIRV.cpp, mlir/test/Conversion/MemRefToSPIRV alloc.mlir

[mlir][spirv] Allow complex element types in memref allocation checks (#175836)

Support for complex types in SPIR-V was introduced in
97f3bb73a29a566e99e33ae4338c2c3d9957e561, and memref type conversion was
updated accordingly to include them. However, the element type precheck
used during memref alloc/dealloc pattern matching in the SPIR-V lowering
was not updated to recognize complex element types. This patch resolves
this inconsistency.

Fixes: https://github.com/iree-org/iree/issues/23117

---------

Signed-off-by: Eric Feng <Eric.Feng at amd.com>
DeltaFile
+26-0mlir/test/Conversion/MemRefToSPIRV/alloc.mlir
+4-2mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
+30-22 files

LLVM/project 870ffbd.github/workflows/containers/github-action-ci Dockerfile, .github/workflows/containers/github-action-ci-windows Dockerfile

[Github] Bump CI Container LLVM Version to 21.1.8

Update to the last release of v21.1.x to keep things up to date.
DeltaFile
+1-1.github/workflows/containers/github-action-ci-windows/Dockerfile
+1-1.github/workflows/containers/github-action-ci/Dockerfile
+2-22 files

LLVM/project a71a0c6llvm/include/llvm/CodeGen TargetLowering.h

[CodeGen] Remove legacy getTgtMemIntrinsic overload

It is now fully unused.

commit-id:028dd72d
DeltaFile
+1-19llvm/include/llvm/CodeGen/TargetLowering.h
+1-191 files

LLVM/project b585dcfllvm/lib/Target/AMDGPU SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU waitcnt-unscoped.ll llvm.amdgcn.load.to.lds.ll

[AMDGPU] Return two MMOs for load-to-lds and store-from-lds intrinsics

Accurately represent both the load and the store part of those
intrinsics.

The test changes seem to be mostly fairly insignificant changes caused by
subtly different scheduler behavior.

commit-id:0269189c
DeltaFile
+57-51llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+3-4llvm/test/CodeGen/AMDGPU/waitcnt-unscoped.ll
+2-4llvm/test/CodeGen/AMDGPU/llvm.amdgcn.load.to.lds.ll
+2-4llvm/test/CodeGen/AMDGPU/memory-legalizer-lds-dma-volatile-and-nontemporal.ll
+64-634 files

LLVM/project 963ecefllvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/lib/Target/AMDGPU SIISelLowering.cpp

[CodeGen] Refactor targets to override the new getTgtMemIntrinsic overload (NFC)

This is a fairly mechanical change. Instead of returning true/false,
we either keep the Infos vector empty or push one entry.

commit-id:c7770af6
DeltaFile
+99-53llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+78-59llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+40-21llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+36-22llvm/lib/Target/ARM/ARMISelLowering.cpp
+36-22llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+26-18llvm/lib/Target/X86/X86ISelLowering.cpp
+315-19516 files not shown
+397-26822 files

LLVM/project 2989300llvm/include/llvm/CodeGen SelectionDAGNodes.h TargetLowering.h, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

[CodeGen] Add getTgtMemIntrinsic overload for multiple memory operands (NFC)

There are target intrinsics that logically require two MMOs, such as
llvm.amdgcn.global.load.lds, which is a copy from global memory to LDS,
so there's both a load and a store to different addresses.

Add an overload of getTgtMemIntrinsic that produces intrinsic info in a
vector, and implement it in terms of the existing (now protected)
overload.

GlobalISel and SelectionDAG paths are updated to support multiple MMOs.
The main part of this change is supporting multiple MMOs in
MemIntrinsicNodes.

Converting the backends to using the new overload is a fairly mechanical step
that is done in a separate change in the hope that that allows reducing merging
pains during review and for downstreams. A later change will then enable
using multiple MMOs in AMDGPU.

commit-id:b4a924aa
DeltaFile
+83-32llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+64-25llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+38-29llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+19-28llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+20-3llvm/include/llvm/CodeGen/TargetLowering.h
+17-3llvm/include/llvm/CodeGen/SelectionDAG.h
+241-1203 files not shown
+251-1239 files

LLVM/project 94d0ab0llvm/lib/Target/AMDGPU SIInstructions.td

AMDGPU: Enable selection of strict_fp16_to_fp (#175834)

This avoids regressions when softPromoteHalfType is switched on.
DeltaFile
+4-4llvm/lib/Target/AMDGPU/SIInstructions.td
+4-41 files

NetBSD/src CvpfIjxexternal/bsd/blocklist/bin blocklistd.conf.5

   remove dup info
VersionDeltaFile
1.9+1-5external/bsd/blocklist/bin/blocklistd.conf.5
+1-51 files

OpenBSD/src E5zdKGUusr.sbin/rpki-client print.c extern.h

   Remove support for validating Geofeed data

   RPKI-based Geofeed authentication (RFC 9632) perhaps was a bit of a ruse
   to pass IESG review. Nobody is planning on using it. Time to take it
   behind the barn.

   OK tb@
VersionDeltaFile
1.73+1-53usr.sbin/rpki-client/print.c
1.269+1-28usr.sbin/rpki-client/extern.h
1.82+1-26usr.sbin/rpki-client/validate.c
1.75+4-21usr.sbin/rpki-client/filemode.c
1.210+4-7usr.sbin/rpki-client/cert.c
1.135+2-7usr.sbin/rpki-client/rpki-client.8
+13-1427 files not shown
+19-16113 files

FreeBSD/src e8348e2sys/net if_enc.c

enc: create an interface at SI_SUB_PROTO_IF stage

Creation of enc0 before SI_SUB_PROTO_MC mangles the MLD list as well as
encounters IGMP mutex not initialized yet.

Reported & tested by:   mjg

NB: the enc(4) is not a true interface indeed.  In a perfect world the
module shall not create a cloner, shall not enter if_attach(), shall not
trigger ifnet_arrival_event, neither shall have any protocol attached to
it. The enc0 exists for two purposes: 1) create a bpf(9) tap; 2) to allow
injection packets in the middle of ipsec(4) processing temporarily
rewriting m_pkthdr.rcvif to point at enc0.  While the problem 1 is already
solved with a recent divorce between bpf(9) and ifnet(9), the problem 2 is
harder to solve without breaking packet filter rules that use "via enc0".
DeltaFile
+1-1sys/net/if_enc.c
+1-11 files

LLVM/project 6e0ef1clldb/include/lldb/DataFormatters TypeSynthetic.h, lldb/source/DataFormatters TypeSynthetic.cpp

[lldb] Rename AutoPointer typedef to UniquePointer (NFC) (#175806)

DeltaFile
+9-8lldb/include/lldb/DataFormatters/TypeSynthetic.h
+1-1lldb/source/DataFormatters/TypeSynthetic.cpp
+10-92 files

OpenBSD/ports jV8pVo3x11/kde-applications/kpublictransport Makefile

   Add missing build dependency on Qt6Location

   Found by tb@ (Thanks)
VersionDeltaFile
1.6+3-2x11/kde-applications/kpublictransport/Makefile
+3-21 files

LLVM/project d69335bllvm/lib/IR AsmWriter.cpp, llvm/lib/Target/AArch64 AArch64TargetTransformInfo.cpp

[LLVM] Clean up code using [not_]equal_to (NFC) (#175824)

Use llvm::[not_]equal_to landed in d2a521750 ([ADT] Introduce
bind_{front,back}, [not_]equal_to, #175056) across LLVM for cleaner
code.
DeltaFile
+6-9llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+6-6llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+3-6llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+3-4llvm/lib/Target/X86/X86ISelLowering.cpp
+3-3llvm/lib/Transforms/Scalar/GVNHoist.cpp
+2-2llvm/lib/IR/AsmWriter.cpp
+23-3027 files not shown
+53-6633 files

LLVM/project ecf8211mlir/include/mlir/Dialect/GPU/IR GPUOps.td

[mlir][gpu] Guard negative workgroup_attributions in GPU ops (#174409)

DeltaFile
+12-2mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
+12-21 files

LLVM/project b864741clang/docs ReleaseNotes.rst, clang/include/clang/Options Options.td

Fix release notes and help text
DeltaFile
+1-1clang/include/clang/Options/Options.td
+2-0clang/docs/ReleaseNotes.rst
+3-12 files

FreeNAS/freenas 6b3327dsrc/freenas/usr/local/libexec ctdb_ha_reclock.py, src/middlewared/middlewared/etc_files/ctdb ctdb.conf.mako nodes.mako

NAS-139297 / 26.04 / Add clustered SMB state (#18017)

This commit adds working configuration for stateful SMB HA failover:

* reclock helper script - determines which node holds the cluster mutex
lock based on presence of data pool system dataset.

* ctdb-related etc files. We can hard-code the nodes config based on our
known HA nodes (this significantly eases past problems with gluster that
we saw with dynamic nodes and ctdb stability).

* smbd will remain stopped on standby controller until it becomes
  standby.

* keepalived will continue to manage virtual IPs

During failover events, ctdbd on the new active controller will grab the
cluster mutex after system dataset pool import and begin recovery
operation. Administrators will need to disabling stateful failover while

    [7 lines not shown]
DeltaFile
+107-0src/freenas/usr/local/libexec/ctdb_ha_reclock.py
+22-0src/middlewared/middlewared/etc_files/ctdb/ctdb.conf.mako
+11-0src/middlewared/middlewared/utils/ctdb.py
+11-0src/middlewared/middlewared/plugins/etc.py
+11-0src/middlewared/middlewared/etc_files/ctdb/nodes.mako
+5-3src/middlewared/middlewared/plugins/smb.py
+167-36 files not shown
+192-812 files

OpenBSD/ports 4N3u9IPproductivity/zim distinfo Makefile, productivity/zim/pkg PLIST

   productivity/zim: update to 0.76.3

   OK benno@
VersionDeltaFile
1.18+2-2productivity/zim/distinfo
1.42+1-2productivity/zim/Makefile
1.26+1-0productivity/zim/pkg/PLIST
+4-43 files

OpenBSD/ports TvkrhD4meta/tor-browser Makefile, www/tor-browser Makefile.inc

   Tor Browser: update to 15.0.4

   And MFC "add default meek bridges under new name"
   "repair font fingerprinting defense ifdef".
VersionDeltaFile
1.107.2.4+6-6www/tor-browser/browser/distinfo
1.178.2.5+2-5www/tor-browser/browser/Makefile
1.65.2.2+2-2www/tor-browser/noscript/Makefile
1.58.2.2+2-2www/tor-browser/noscript/distinfo
1.113.2.4+2-2meta/tor-browser/Makefile
1.110.2.4+1-1www/tor-browser/Makefile.inc
+15-181 files not shown
+15-187 files

LLVM/project 74f023dllvm/test/tools/llvm-cov branch-templates.test, llvm/tools/llvm-cov CoverageReport.cpp CodeCoverage.cpp

[llvm-cov] Add show-function-summary option in coverage report (#172980)

Adds a command line argument to llvm-cov to optionally disable the
function summary in the coverage report (but maintaining existing
behavior by keeping it enabled by default).
DeltaFile
+19-15llvm/tools/llvm-cov/CoverageReport.cpp
+7-0llvm/test/tools/llvm-cov/branch-templates.test
+5-0llvm/tools/llvm-cov/CodeCoverage.cpp
+1-0llvm/tools/llvm-cov/CoverageViewOptions.h
+32-154 files

OpenBSD/ports yEDOOQ4meta/tor-browser Makefile, www/tor-browser Makefile.inc

   Tor Browser: update to 15.0.4
VersionDeltaFile
1.112+6-6www/tor-browser/browser/distinfo
1.62+2-2www/tor-browser/noscript/distinfo
1.118+2-2meta/tor-browser/Makefile
1.187+1-2www/tor-browser/browser/Makefile
1.69+1-1www/tor-browser/noscript/Makefile
1.115+1-1www/tor-browser/Makefile.inc
+13-146 files

OpenBSD/ports HyfXniamultimedia/mlt7 Makefile

   Regen WANTLIB-gpl2, spotted by sthen
VersionDeltaFile
1.22+3-2multimedia/mlt7/Makefile
+3-21 files

FreeNAS/freenas 7e6e805src/freenas/usr/local/libexec ctdb_ha_reclock.py, src/middlewared/middlewared/etc_files/ctdb ctdb.conf.mako nodes.mako

Add clustered SMB state

This commit adds working configuration for stateful SMB HA failover:

* reclock helper script - determines which node holds the cluster
  mutex lock based on presence of data pool system dataset.

* ctdb-related etc files. We can hard-code the nodes config based
  on our known HA nodes (this significantly eases past problems with
  gluster that we saw with dynamic nodes and ctdb stability).

* smbd will remain stopped on standby controller until it becomes
  standby.

* keepalived will continue to manage virtual IPs
DeltaFile
+107-0src/freenas/usr/local/libexec/ctdb_ha_reclock.py
+22-0src/middlewared/middlewared/etc_files/ctdb/ctdb.conf.mako
+11-0src/middlewared/middlewared/plugins/etc.py
+11-0src/middlewared/middlewared/etc_files/ctdb/nodes.mako
+11-0src/middlewared/middlewared/utils/ctdb.py
+8-0src/middlewared/middlewared/plugins/service_/services/ctdb.py
+170-06 files not shown
+192-812 files

FreeNAS/freenas e2fd7d6src/freenas/usr/lib/netdata/python.d truenas_disk_temp.chart.py truenas_pool.chart.py, src/freenas/usr/lib/netdata/python.d/python_modules/bases/FrameworkServices TNSimpleService.py

NAS-139251 / 25.10.2 / Fix netdata plugin startup delay for disk temp and pool stats (by Qubad786) (#17994)

## Problem

Currently when netdata is restarted, for each plugin it gives data after
`2 * update every frequency` seconds. So for example, if a plugin data
is to be collected every 5 min, we get datapoints after 10 minutes which
is an unnecessary delay added by how netdata implements `SimpleService`.

## Solution

We have overridden default `SimpleService` to not sleep as soon as it
runs but rather collect data after initialization and then sleep. This
means that we now get data after every `update every frequency` which if
it is 5 min, we will get data after 5 min instead of 10.

The 5 min delay which we still see is because of how netdata dbengine
stores/aligns data and there is no good way around that as that logic
lives in core netdata.

    [5 lines not shown]
DeltaFile
+65-0src/freenas/usr/lib/netdata/python.d/python_modules/bases/FrameworkServices/TNSimpleService.py
+3-3src/freenas/usr/lib/netdata/python.d/truenas_disk_temp.chart.py
+3-3src/freenas/usr/lib/netdata/python.d/truenas_pool.chart.py
+71-63 files

OpenBSD/ports H5ucox0net/tdesktop distinfo Makefile

   update to tdesktop 6.4.2
VersionDeltaFile
1.152+2-2net/tdesktop/distinfo
1.205+1-1net/tdesktop/Makefile
+3-32 files

FreeNAS/freenas 7ba2604tests/api2 test_system_lifetime.py

NAS-139298 / 25.10.2 / Add 'limit' option to 'audit.query' call. (by mgrimesix) (#18019)

`audit.query` calls must include either a `count` or `limit` option,
else the test will fail.
Added the missing `limit` option for the `test_system_reboot` test in
`test_system_lifetime.py`

Original PR: https://github.com/truenas/middleware/pull/18018

Co-authored-by: Mark Grimes <mark.grimes at ixsystems.com>
DeltaFile
+1-0tests/api2/test_system_lifetime.py
+1-01 files

OpenBSD/ports O11QwuHwww/ada Makefile distinfo

   update to ada 3.4.1
VersionDeltaFile
1.13+2-2www/ada/Makefile
1.13+2-2www/ada/distinfo
+4-42 files