LLVM/project 48d0dc8 — lld/test/ELF mips-npic-call-pic.s, llvm/lib/Target/Mips Mips32r6InstrInfo.td

[Mips] Fix MipsJmpLink and MipsTailCall to use compact branch instructions on MIPS32/64 R6 (#232578)

On MIPS32/64 R6, `-mcompact-branches=always` should emit the `BALC`
instruction for MipsJmpLink instead of `JAL`. Currently LLVM emits `JAL`
regardless of the option, while GCC correctly emits `BALC`.

This patch adds R6-specific pseudo instructions `JAL_R6` and
`TAILCALL_R6` that expand to `BALC` and `BC`, and selects them when
`UseCompactBranches` is enabled. The `JAL` and `TAILCALL` patterns are
restricted to pre-R6 targets, and a `NotUseCompactBranches` predicate is
added to keep `JAL` and `TAILCALL` available on R6 when compact branches
are disabled.

Fix #165634.
DeltaFile
+118-59llvm/test/CodeGen/Mips/fp-intrinsics.ll
+48-24lld/test/ELF/mips-npic-call-pic.s
+38-0llvm/lib/Target/Mips/Mips32r6InstrInfo.td
+8-8llvm/test/CodeGen/Mips/rint-r6-features.ll
+4-8llvm/test/CodeGen/Mips/rint-r6.ll
+6-6llvm/test/CodeGen/Mips/word-normalization.ll
+222-10512 files not shown
+256-14218 files

FreeBSD/ports 906b54b — graphics/py-pillow Makefile distinfo

graphics/py-pillow: Update to 13.0.0

Changelog:      https://pillow.readthedocs.io/en/stable/releasenotes/13.0.0.html

PR:             300087
Tested by:      Local exp-run
Security:       b9a3fd21-d2af-11f1-bae2-3497f65b111b
With hat:       ports-secteam
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3graphics/py-pillow/distinfo
+1-1graphics/py-pillow/Makefile
+4-42 files

LLVM/project 9404393 — llvm/lib/Target/NVPTX NVPTXIntrinsics.td, llvm/test/CodeGen/NVPTX fp-fma-f32x2.ll

[clang][NVPTX][MLIR][NVVM] Add overloaded fma intrinsics (#232672)

This change adds the following overloaded `fma` intrinsics with
NVPTX codegen:

- `llvm.nvvm.fma`
- `llvm.nvvm.fma.ftz`
- `llvm.nvvm.fma.sat`
- `llvm.nvvm.fma.ftz.sat`
- `llvm.nvvm.fma.relu`
- `llvm.nvvm.fma.ftz.relu`

The rounding mode is passed in as an `i32` immediate operand.

Auto-upgrades the older non-overloaded intrinsics (including the
legacy variants that used integer storage types for the bf16
operands) to the new ones, and updates clang builtins, CIR codegen,
and MLIR NVVM ops to lower to the new intrinsics. The
`llvm.nvvm.fma.rn.oob{.relu}` intrinsics are left unchanged.

    [21 lines not shown]
DeltaFile
+0-414llvm/test/Transforms/InstSimplify/const-fold-nvvm-mul.ll
+236-108llvm/test/Transforms/InstSimplify/const-fold-nvvm-fma.ll
+0-342llvm/test/Transforms/InstSimplify/const-fold-nvvm-add.ll
+108-180mlir/test/Target/LLVMIR/nvvm/fma/fma_vector.mlir
+133-0llvm/test/CodeGen/NVPTX/fp-fma-f32x2.ll
+69-59llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
+546-1,10331 files not shown
+1,511-1,74137 files

LLVM/project e7f357e — mlir/lib/Target/SPIRV/Deserialization Deserializer.cpp, mlir/test/Target/SPIRV selection-entry-block.spvasm

[mlir][SPIR-V] Fix deserializer crash on entry block selection header (#237137)

Split the entry block when it also starts a selection, since it cannot
move into the region
DeltaFile
+56-0mlir/test/Target/SPIRV/selection-entry-block.spvasm
+3-2mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp
+59-22 files

OPNSense/core 17f99ed — src/etc/inc system.inc, src/opnsense/scripts/system sysctl.py

system: invalidate sysctl cache on apply; closes #11109

As mentioned in 41ab7fb9f57 this fixes the glaring issue of the
sysctl cache being stuck while trying to avoid reloads during
normal operation.  The performance hit is solely in the apply
path with is already slow, but now at least syncs up with the
system each time which also means there is no more boot race.
DeltaFile
+5-1src/opnsense/scripts/system/sysctl.py
+2-2src/opnsense/service/conf/actions.d/actions_system.conf
+2-0src/etc/inc/system.inc
+9-33 files

LLVM/project a9aaf38 — llvm/lib/Target/SPIRV SPIRVPostLegalizer.cpp SPIRVLegalizerInfo.cpp, llvm/test/CodeGen/SPIRV/instructions float-casts.ll

[SPIR-V] Legalize fptosi/fptoui to i1 (#236941)

Widen the result to i32 since i1 maps to OpTypeBool
DeltaFile
+31-0llvm/test/CodeGen/SPIRV/instructions/float-casts.ll
+4-1llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
+2-0llvm/lib/Target/SPIRV/SPIRVPostLegalizer.cpp
+37-13 files

LLVM/project e3c417d — mlir/lib/Conversion/ComplexToSPIRV ComplexToSPIRV.cpp

[mlir][SPIR-V] Extract complex abs and zero-check helpers in ComplexToSPIRV (NFC) (#236851)

Move the overflow safe magnitude and zero check out of SignOpPattern so
other lowerings can reuse them

Required for other ops lowering (e.g. sqrt/rsqrt)
DeltaFile
+27-15mlir/lib/Conversion/ComplexToSPIRV/ComplexToSPIRV.cpp
+27-151 files

LLVM/project 3ffeb0e — lldb/docs/resources lldbdap-extensions.md, lldb/test/API/tools/lldb-dap/stackTrace TestDAP_stackTrace.py

[lldb-dap] Report the language of compile units (#235995)

Add language to the CompileUnit type in the compileUnits response, with
its version where known, for example c11 or c++17. Clients can use it
instead of guessing a frame's language from its file extension. It is
omitted when the language is unknown.

rdar://190656790
DeltaFile
+8-2lldb/tools/lldb-dap/Handler/CompileUnitsRequestHandler.cpp
+6-0lldb/docs/resources/lldbdap-extensions.md
+3-2lldb/unittests/DAP/ProtocolRequestsTest.cpp
+3-1lldb/test/API/tools/lldb-dap/stackTrace/TestDAP_stackTrace.py
+4-0lldb/tools/lldb-dap/Protocol/ProtocolTypes.h
+2-0lldb/tools/lldb-dap/Protocol/ProtocolTypes.cpp
+26-52 files not shown
+28-58 files

LLVM/project 3a60e72 — lldb/docs/resources lldbdap-extensions.md, lldb/test/API/tools/lldb-dap/languageSpecificData TestDAP_languageSpecificData.py

[lldb-dap] Report a frame's language specific data (#235984)

Add $__lldb_languageSpecificData to StackFrame, passing through what the
frame's language runtime reports about the frame, such as the
Objective-C runtime version.

rdar://190656849
DeltaFile
+30-0lldb/test/API/tools/lldb-dap/languageSpecificData/TestDAP_languageSpecificData.py
+17-0lldb/unittests/DAP/ProtocolTypesTest.cpp
+14-0lldb/tools/lldb-dap/ProtocolUtils.cpp
+8-0lldb/docs/resources/lldbdap-extensions.md
+5-0lldb/tools/lldb-dap/ProtocolUtils.h
+5-0lldb/tools/lldb-dap/Protocol/ProtocolTypes.h
+79-05 files not shown
+93-011 files

LLVM/project 39d9ba7 — llvm/include/llvm/ADT AddressRanges.h

[ADT] Qualify AddressRange in AddressRangesBase::find. NFC

With `-fdelayed-template-parsing` (the default for clang targeting the
MSVC ABI), `find` is parsed at the end of the TU, where `llvm-profgen`
makes `llvm::sampleprof::AddressRange` visible in `namespace llvm`.
Qualify with `llvm::` to avoid the ambiguity.

```
AddressRanges.h:101:42: error: reference to 'AddressRange' is ambiguous
note: candidate found by name lookup is 'llvm::AddressRange'
note: candidate found by name lookup is 'llvm::sampleprof::AddressRange'
```
DeltaFile
+4-3llvm/include/llvm/ADT/AddressRanges.h
+4-31 files

FreeNAS/freenas e5f89e5 — tests/api2 test_apps.py

Fix apps test on enterprise HA systems

## Problem
`test_app_with_unusable_metadata_is_reported_and_deletable` asserted that `app.available` lists the community app it installs. `app.available` only reports preferred trains, and applying a license on an HA system narrows those to the enterprise train, so the assertion failed there even though nothing was broken.

## Solution
Assert that `app.available` returns a non-zero count instead. This still exercises the full listing path over the broken app without depending on which trains are preferred.
DeltaFile
+3-2tests/api2/test_apps.py
+3-21 files

FreeBSD/src 0974ef0 — sys/dev/virtio/network if_vtnet.c

vtnet: honor the advertised MTU limit on attach

When VIRTIO_NET_F_MTU is negotiated, virtio_net_config.mtu specifies
the maximum MTU the driver may use. vtnet_ioctl_mtu() enforces this
limit for subsequent MTU changes, but ether_ifattach() unconditionally
initializes the interface MTU to ETHERMTU (1500).

So a device advertising a maximum below 1500 starts with an MTU above
its limit. So make sure to set the initial MTU no larger than
vtnet_max_mtu. That is, for vtnet_max_mtu less than 1500
interface MTU will be set to this value, otherwise the current behaviour
is preserved, MTU will be set to 1500.

Reviewed by:    kfv, tuexen
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D60980
DeltaFile
+2-0sys/dev/virtio/network/if_vtnet.c
+2-01 files

FreeNAS/freenas a6b02dc — tests/api2 test_apps.py

Fix apps test on enterprise HA systems

## Problem
`test_app_with_unusable_metadata_is_reported_and_deletable` asserted that `app.available` lists the community app it installs. `app.available` only reports preferred trains, and applying a license on an HA system narrows those to the enterprise train, so the assertion failed there even though nothing was broken.

## Solution
Assert that `app.available` returns a non-zero count instead. This still exercises the full listing path over the broken app without depending on which trains are preferred.
DeltaFile
+5-2tests/api2/test_apps.py
+5-21 files

OPNSense/src 0bf105d — sys/dev/axgbe xgbe-dev.c if_axgbe_pci.c

axgbe: fix receive buffers without split-header mode
DeltaFile
+34-15sys/dev/axgbe/xgbe-txrx.c
+21-3sys/dev/axgbe/if_axgbe_pci.c
+9-5sys/dev/axgbe/xgbe-dev.c
+64-233 files

LLVM/project 3558b25 — llvm/include/llvm/CodeGen TargetLowering.h, llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

Revert "[DAGCombiner] Don't always spill widened dynamic insertelt chains via stack" (#237145)

Reverts llvm/llvm-project#232086. The new test
insertelt-dynamic-chain-widen.ll is failing on several Buildbots.

Relates to #232235.
DeltaFile
+0-282llvm/test/CodeGen/AMDGPU/insertelt-dynamic-chain-widen.ll
+4-12llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+0-12llvm/include/llvm/CodeGen/TargetLowering.h
+4-3063 files

FreeBSD/ports 0132b1d — cad/pcb-rnd Makefile pkg-plist, cad/pcb-rnd/files patch-src__plugins_io__diptrace_io__diptrace.pup patch-scconfig_plugins.h

cad/pcb-rnd: Update 3.1.8 => 3.1.9
DeltaFile
+10-0cad/pcb-rnd/files/patch-scconfig_plugins.h
+9-0cad/pcb-rnd/files/patch-src__plugins_io__diptrace_io__diptrace.pup
+3-3cad/pcb-rnd/distinfo
+1-1cad/pcb-rnd/Makefile
+2-0cad/pcb-rnd/pkg-plist
+25-45 files

FreeBSD/ports c38d6f0 — misc/py-safetensors Makefile

misc/py-safetensors: Make the PyTorch dependency optional

Upstream has torch as an extra (safetensors[torch]); the core library has no
mandatory dependencies.  The port pulled py-pytorch unconditionally, for
every consumer, including those that only use the numpy path.

PR:             300030
Approved by:    yuri (maintainer)
Sponsored by:   Netzkommune GmbH
DeltaFile
+9-4misc/py-safetensors/Makefile
+9-41 files

FreeBSD/ports 1a4aaf9 — misc/py-diffusers Makefile

misc/py-diffusers: Add the missing PyTorch dependency

diffusers needs torch and had no dependency of its own; it took it from the
unconditional one in misc/py-safetensors, which is about to go away.

PR:             300030
Approved by:    yuri (maintainer)
Sponsored by:   Netzkommune GmbH
DeltaFile
+2-1misc/py-diffusers/Makefile
+2-11 files

FreeBSD/ports 72cd0c0 — devel/libvirt Makefile distinfo

devel/libvirt: update to 12.8.0

Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 5c9aa1fb7dadfa879dbac9793760ee4b7335527c)
DeltaFile
+3-3devel/libvirt/distinfo
+2-3devel/libvirt/Makefile
+5-62 files

LLVM/project e3add74 — mlir/include/mlir/Dialect/ArmSVE/IR ArmSVE.td, mlir/test/Dialect/ArmSVE legalize-for-llvm.mlir invalid.mlir

[mlir][ArmNeon/ArmSVE] Reorganise .td and test files (NFC) (#236797)

Group related operation definitions and tests, and add comments to make
the organisation clearer and more consistent.

* Group DOT definitions and tests together.
* Group MMLA definitions and tests together.
* Clearly separate regular operations from intrinsic operations in
ArmSVE.td.
* Move tests that exercise scalable vectors without SVE-specific
operations
  from mlir/test/Target/LLVMIR/arme-sve.mlir to
  mlir/test/Target/LLVMIR/scalable-vectors.mlir.
* Add TODOs identifying potentially redundant tests for future removal.

This organisation should simplify maintenance and make it clearer where
new definitions and tests belong.
DeltaFile
+125-63mlir/include/mlir/Dialect/ArmSVE/IR/ArmSVE.td
+49-132mlir/test/Target/LLVMIR/arm-sve.mlir
+84-74mlir/test/Dialect/ArmSVE/invalid.mlir
+126-0mlir/test/Target/LLVMIR/scalable-vectors.mlir
+60-14mlir/test/Dialect/ArmSVE/legalize-for-llvm.mlir
+31-19mlir/test/Target/LLVMIR/arm-neon.mlir
+475-3022 files not shown
+512-3078 files

LLVM/project 2964bb5 — llvm/lib/Transforms/Vectorize LoopVectorize.cpp VPlanConstruction.cpp, llvm/test/Transforms/LoopVectorize early_exit_with_stores.ll

[VPlan] Allow early exit loops with side effects by masking in the vector loop.

Rename UncountableExitStyle::ReadOnly to MaskedHandleExitInVectorLoop and
use it for early exit loops with stores, when every store comes after all
the early exits. Each early exiting block branches to the latch on the
lanes from the first exiting one on, so the stores after it are masked off
for them, and values from the skipped blocks are poison on those edges.

Loops fall back to MaskedHandleExitInScalarLoop if a store is in the latch,
a store isn't properly dominated by every early exiting block, the latch's
exit condition uses a value from a block the exits can skip, or a load
might fault.
DeltaFile
+76-96llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+100-24llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+6-4llvm/lib/Transforms/Vectorize/VPlan.h
+3-2llvm/unittests/Transforms/Vectorize/VPlanVerifierTest.cpp
+3-1llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+2-1llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+190-1286 files

LLVM/project 0ffa268 — llvm/test/Transforms/LoopVectorize early_exit_with_stores.ll

Precommit tests
DeltaFile
+372-0llvm/test/Transforms/LoopVectorize/early_exit_with_stores.ll
+372-01 files

LLVM/project faac4cb — llvm/lib/Transforms/Vectorize VPlanVerifier.cpp VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize predicated-single-exit.ll predicated-early-exits-interleave.ll

[VPlan] Preserve SSA in early exit loops

MaskedCond is used to logically-and the condition to early exit with the current block in-mask. However because we use it in the latch block where the condition isn't defined on all paths, we have to workaround it not being in SSA in the verifier.

This fixes this by using reconstructSSA added in #212209 to preserve SSA in both the exit conditions and live outs in the exit blocks. It also means we get the right exit condition without MaskedCond and allows us to remove the MaskedCond exceptions in the verifier. MaskedCond is still kept since a followup PR will still use it.

One subtle point is that we need to freeze any branch conditions. Any lanes after and including the early exiting lane might contain poison and we can have branches on those poison lanes that didn't we didn't previously branch on in the scalar loop.

There's no miscompile on main today because we coincidentally don't keep SSA so exit conditions are read directly without being polluted by poison stemming from a branch past the early exit. But in this PR the exit conditions are polluted and we can end up with poison in the condition operand of a select, which causes an undefined result for AnyOf even if it freezes its operand. The poison in the branch will also cause problems in future if we decide to preserve uniform control flow and emit branches instead of blends. The exit_cond_merged_after_poison_branch test illustrates this.
DeltaFile
+155-36llvm/test/Transforms/LoopVectorize/predicated-multiple-exits.ll
+24-16llvm/test/Transforms/LoopVectorize/predicated-early-exits-interleave.ll
+26-5llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-18llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
+12-6llvm/test/Transforms/LoopVectorize/predicated-single-exit.ll
+218-815 files

NetBSD/src zTGXACK — doc CHANGES-11.1

   Fix entry for ticket #562
VersionDeltaFile
1.1.2.35+148-146doc/CHANGES-11.1
+148-1461 files

NetBSD/pkgsrc-wip 7562b83 — ndp-proxy-go TODO

ndp-proxy-go: remove TODO
DeltaFile
+0-1ndp-proxy-go/TODO
+0-11 files

NetBSD/src 6k9du0C — external/mit/xorg/lib/brotli brotli.mk brotli-rename.mk

   Pull up following revision(s) (requested by mrg in ticket #562):

        external/mit/xorg/lib/brotli/brotli.mk: revision 1.2
        external/mit/xorg/lib/brotli/brotli-rename.mk: revision 1.2

   add new decoder sources and symbols for the renamer.
VersionDeltaFile
1.1.4.1+15-1external/mit/xorg/lib/brotli/brotli-rename.mk
1.1.4.1+2-1external/mit/xorg/lib/brotli/brotli.mk
+17-22 files

NetBSD/pkgsrc-wip cda1d5c — ndp-proxy-go Makefile COMMIT_MSG

ndp-proxy-go: optimalization
DeltaFile
+21-6ndp-proxy-go/DESCR
+23-0ndp-proxy-go/COMMIT_MSG
+0-1ndp-proxy-go/Makefile
+44-73 files

LLVM/project 5ca186d — llvm/include/llvm/BinaryFormat ELF.def

update comment to point to current gABI website+repo

Created using spr 2.0.0-beta.2
DeltaFile
+3-3llvm/include/llvm/BinaryFormat/ELF.def
+3-31 files

FreeNAS/freenas bf80f94 — src/middlewared/middlewared/plugins truesearch.py, src/middlewared/middlewared/plugins/webshare utils.py fs_attachment_delegate.py

NAS-144936 / 28.0.0-BETA.1 / Convert `sharing.webshare` to new style (#20075)
DeltaFile
+15-182src/middlewared/middlewared/plugins/webshare/sharing.py
+128-0src/middlewared/middlewared/plugins/webshare/sharing_validate.py
+95-0src/middlewared/middlewared/plugins/webshare/sharing_crud.py
+29-0src/middlewared/middlewared/plugins/webshare/fs_attachment_delegate.py
+2-4src/middlewared/middlewared/plugins/truesearch.py
+6-0src/middlewared/middlewared/plugins/webshare/utils.py
+275-1861 files not shown
+276-1877 files

FreeNAS/freenas 497012d — tests/api2 test_zfs_resource_snapshot_clone.py

Unskip `test_zfs_resource_snapshot_clone_zvol`

(cherry picked from commit 804490db98d9e0f8bfb70ae6c4ea8c127c1cfe0a)
DeltaFile
+1-3tests/api2/test_zfs_resource_snapshot_clone.py
+1-31 files