LLVM/project 05ff170llvm/lib/Transforms/InstCombine InstCombineShifts.cpp InstCombineCompares.cpp, llvm/test/Transforms/InstCombine icmp-shl-add-to-add.ll apint-shift.ll

[InstCombine] Fix #163110: Support peeling off matching shifts from icmp operands via canEvaluateShifted (#165975)

Consider a pattern like `icmp (shl nsw X, L), (add nsw (shl nsw Y, L),
K)`. When the constant K is a multiple of 2^L, this can be simplified to
`icmp X, (add nsw Y, K >> L)`.
This patch extends canEvaluateShifted to support `Instruction::Add` and
updates its signature to accept `Instruction::BinaryOps` instead of a
boolean. This change allows the function to distinguish between LShr and
AShr requirements, ensuring that information is preserved according to
the signedness and overflow flags (nsw/nuw) of the operands.
The logic is integrated into `foldICmpCommutative` to enable peeling off
matching shifts from both sides of a comparison even when an offset is
present.

Fixes: #163110
DeltaFile
+311-0llvm/test/Transforms/InstCombine/icmp-shl-add-to-add.ll
+111-41llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+28-0llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+14-0llvm/lib/Transforms/InstCombine/InstCombineInternal.h
+3-3llvm/test/Transforms/InstCombine/apint-shift.ll
+1-1llvm/test/Transforms/InstCombine/icmp-select.ll
+468-456 files

FreeBSD/ports 3fa76f9multimedia/linux-rl9-ffmpeg distinfo Makefile

multimedia/linux-rl9-ffmpeg: upstream update (+)

5.1.7 => 5.1.8
DeltaFile
+7-7multimedia/linux-rl9-ffmpeg/distinfo
+2-2multimedia/linux-rl9-ffmpeg/Makefile
+9-92 files

LLVM/project 3b02210llvm/utils/gn/secondary/lldb/source/Host BUILD.gn

[gn] fix mistake from 88f6b181b6ab2 (#190601)
DeltaFile
+1-1llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
+1-11 files

LLVM/project 4539d71llvm/lib/Target/AMDGPU AMDGPUResourceUsageAnalysis.cpp, llvm/test/CodeGen/AMDGPU resource-usage-asan-O0.ll

[AMDGPU] Preserve assumed stack size for ASan-instrumented functions at -O0
DeltaFile
+29-0llvm/test/CodeGen/AMDGPU/resource-usage-asan-O0.ll
+18-4llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
+47-42 files

NetBSD/pkgsrc-wip 0128edf. Makefile, wtype Makefile distinfo

wtype: new package
DeltaFile
+19-0wtype/Makefile
+5-0wtype/distinfo
+3-0wtype/PLIST
+2-0wtype/DESCR
+1-0Makefile
+30-05 files

FreeBSD/ports d21c8c4security/keepassxc Makefile distinfo

security/keepassxc: Update to 2.7.12

While here, pet port{lint,clippy,fmt}.

PR:             293860
DeltaFile
+6-12security/keepassxc/Makefile
+3-3security/keepassxc/distinfo
+1-0security/keepassxc/pkg-plist
+10-153 files

FreeNAS/freenas 020e372src/middlewared/middlewared/plugins/enclosure_ nvme2.py

NAS-140418 / 25.10.2.2 / fix R50BM rear nvme mapping (variants) (by yocalebo) (#18652)

## Summary

The R50BM rear NVMe enclosure mapping was broken because slot identity
was derived from `/sys/bus/pci/slots/` physical slot names, which shift
depending on what other PCI devices are present in the root port
complex.

## Root Cause

The four rear NVMe drives on the R50BM sit behind a PLX PEX 9733 PCIe
switch, which connects to the CPU via a root port at `b2:00.0`. The
R50BM's CPU SLOT 3 shares this same root port complex. When a card (e.g.
a second SAS HBA) is installed in SLOT 3, the kernel assigns it a sysfs
physical slot entry (`0-1`), which pushes all NVMe physical slot numbers
up by one:

| Configuration | NVMe sysfs slots |

    [49 lines not shown]
DeltaFile
+83-11src/middlewared/middlewared/plugins/enclosure_/nvme2.py
+83-111 files

FreeNAS/freenas 4a7b5dfsrc/middlewared/middlewared/plugins/enclosure_ nvme2.py

NAS-140418 / 26.0.0-BETA.1 / fix R50BM rear nvme mapping (variants) (by yocalebo) (#18653)

## Summary

The R50BM rear NVMe enclosure mapping was broken because slot identity
was derived from `/sys/bus/pci/slots/` physical slot names, which shift
depending on what other PCI devices are present in the root port
complex.

## Root Cause

The four rear NVMe drives on the R50BM sit behind a PLX PEX 9733 PCIe
switch, which connects to the CPU via a root port at `b2:00.0`. The
R50BM's CPU SLOT 3 shares this same root port complex. When a card (e.g.
a second SAS HBA) is installed in SLOT 3, the kernel assigns it a sysfs
physical slot entry (`0-1`), which pushes all NVMe physical slot numbers
up by one:

| Configuration | NVMe sysfs slots |

    [49 lines not shown]
DeltaFile
+83-11src/middlewared/middlewared/plugins/enclosure_/nvme2.py
+83-111 files

LLVM/project ded8e89llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-multi-static-dynamic-indirect-access-asan.ll amdgpu-sw-lower-lds-static-dynamic-indirect-access-asan.ll

[AMDGPU] Use ASan callback functions instead of inline checks in SW lower LDS pass
DeltaFile
+31-157llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-multi-static-dynamic-indirect-access-asan.ll
+8-119llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-dynamic-indirect-access-asan.ll
+6-117llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-dynamic-indirect-access-asan.ll
+3-118llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-lds-test-atomicrmw-asan.ll
+7-98llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-indirect-access-asan.ll
+4-89llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-dynamic-lds-test-asan.ll
+59-6987 files not shown
+121-96913 files

NetBSD/pkgsrc ueSRMQEgraphics/MesaLib PLIST Makefile

   MesaLib: put three files back to PLIST.glx like before

   In the hope it fixes the macOS build
VersionDeltaFile
1.53+4-4graphics/MesaLib/PLIST
1.220+2-5graphics/MesaLib/Makefile
+6-92 files

OpenBSD/src pcdOVljshare/man/man4/man4.riscv64 smtiic.4 Makefile

   smtiic(4)
VersionDeltaFile
1.1+47-0share/man/man4/man4.riscv64/smtiic.4
1.15+2-2share/man/man4/man4.riscv64/Makefile
+49-22 files

OpenBSD/src 27UXKW0share/man/man4/man4.riscv64 smtclock.4 Makefile

   smtclock(4)
VersionDeltaFile
1.1+42-0share/man/man4/man4.riscv64/smtclock.4
1.14+2-2share/man/man4/man4.riscv64/Makefile
+44-22 files

OpenBSD/src hzG2URfshare/man/man4/man4.riscv64 stfclock.4

   Fix pasto.
VersionDeltaFile
1.3+3-3share/man/man4/man4.riscv64/stfclock.4
+3-31 files

OPNSense/core 1216d60. plist, src/opnsense/mvc/app/controllers/OPNsense/Base ControllerBase.php

mvc: MenuSystem - add JavaScript wrapper, POC code for https://github.com/opnsense/core/pull/10086

Although this isn't a full implementation yet, it can help callers that need to access the menu system.
In the long run it might be practical if this class would also construct the menu system, so we can add some flexibility there.
DeltaFile
+63-0src/opnsense/www/js/opnsense_menusystem.js
+2-0src/opnsense/mvc/app/controllers/OPNsense/Base/ControllerBase.php
+1-0plist
+66-03 files

OpenBSD/src 7ont8hhsys/arch/riscv64/conf files.riscv64 RAMDISK, sys/arch/riscv64/dev smtiic.c smtclock.c

   Add smtiic(4), a driver for the I2C controller found on the SpacemiT K1
   SoC.  This is a close relative of mviic(4), but the register layout
   changed and some bits moved within the registers.

   ok jca@
VersionDeltaFile
1.1+324-0sys/arch/riscv64/dev/smtiic.c
1.2+104-1sys/arch/riscv64/dev/smtclock.c
1.35+6-1sys/arch/riscv64/conf/files.riscv64
1.52+3-1sys/arch/riscv64/conf/RAMDISK
1.60+3-1sys/arch/riscv64/conf/GENERIC
+440-45 files

OpenBSD/src 4orGLjUsys/dev/fdt com_fdt.c, sys/dev/ic com.c comvar.h

   Bring back the PXA2X0 variant; it resurfaced in the SpacemiT K1 SoC.
   Incorporate a fix inspired by NetBSD to keep the console enabled when
   userland closes the device.
VersionDeltaFile
1.181+26-2sys/dev/ic/com.c
1.10+6-1sys/dev/fdt/com_fdt.c
1.62+2-1sys/dev/ic/comvar.h
+34-43 files

NetBSD/pkgsrc-wip 7b2040b. Makefile, lswt COMMIT_MSG

wlsunset: new package
DeltaFile
+18-0wlsunset/Makefile
+0-6lswt/COMMIT_MSG
+5-0wlsunset/distinfo
+3-0wlsunset/PLIST
+2-0wlsunset/DESCR
+1-0Makefile
+29-66 files

NetBSD/pkgsrc-wip f10d35dlswt Makefile distinfo, lswt/patches patch-lswt.c patch-Makefile

lswt: new package
DeltaFile
+26-0lswt/Makefile
+24-0lswt/patches/patch-lswt.c
+17-0lswt/patches/patch-Makefile
+7-0lswt/distinfo
+6-0lswt/COMMIT_MSG
+4-0lswt/DESCR
+84-02 files not shown
+89-08 files

OpenBSD/ports zeL0UnQwayland/kanshi Makefile, wayland/kanshi/pkg PLIST

   Enable ipc support now that there is a vali port. with volker@
VersionDeltaFile
1.2+3-3wayland/kanshi/Makefile
1.2+2-0wayland/kanshi/pkg/PLIST
+5-32 files

OpenBSD/ports 2uftdrJdevel Makefile

   +aml +vali
VersionDeltaFile
1.2578+2-0devel/Makefile
+2-01 files

OpenBSD/ports UdKwBMFdevel/vali Makefile distinfo, devel/vali/pkg DESCR PLIST

   Initial revision
VersionDeltaFile
1.1+25-0devel/vali/Makefile
1.1+12-0devel/vali/pkg/DESCR
1.1+4-0devel/vali/pkg/PLIST
1.1+2-0devel/vali/distinfo
1.1.1.1+0-0devel/vali/pkg/DESCR
1.1.1.1+0-0devel/vali/distinfo
+43-02 files not shown
+43-08 files

OpenBSD/ports LFYTpTqcad/prusaslicer Makefile, cad/prusaslicer/patches patch-src_libslic3r_CutSurface_cpp patch-tests_libslic3r_test_emboss_cpp

   cad/prusaslicer: patch to build with newer math/cgal versions

   Initial diff by me, tweaked by Renato Aguiar (maintainer) and ok landry@
VersionDeltaFile
1.1+187-0cad/prusaslicer/patches/patch-src_libslic3r_CutSurface_cpp
1.6+40-16cad/prusaslicer/patches/patch-tests_libslic3r_test_emboss_cpp
1.31+12-12cad/prusaslicer/Makefile
+239-283 files

FreeBSD/ports dbf8692x11/foot distinfo Makefile

x11/foot: update to 1.26.1

Changes:        https://codeberg.org/dnkl/foot/releases/tag/1.26.0
Changes:        https://codeberg.org/dnkl/foot/releases/tag/1.26.1
Reported by:    Repology
DeltaFile
+3-3x11/foot/distinfo
+1-1x11/foot/Makefile
+4-42 files

LLVM/project 64a0bd1llvm/lib/Transforms/Vectorize LoopVectorize.cpp LoopVectorizationPlanner.h

[LV] Return best VPlan together with VF from computeBestVF (NFC). (#190385)

computeBestVF iterates over all VPlans and picks the VF of the most
profitable VPlan. This VPlan is later needed for execution and
additional checks. Instead of retrieving it multiple times later, just
directly return it from computeBestVF.

This removes some redundant lookups.

PR: https://github.com/llvm/llvm-project/pull/190385
DeltaFile
+33-29llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+8-6llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+41-352 files

OpenBSD/ports gIuCnkbdevel/aml Makefile distinfo, devel/aml/pkg DESCR PLIST

   Initial revision
VersionDeltaFile
1.1+22-0devel/aml/pkg/DESCR
1.1+21-0devel/aml/Makefile
1.1+4-0devel/aml/pkg/PLIST
1.1+2-0devel/aml/distinfo
1.1.1.1+0-0devel/aml/pkg/DESCR
1.1.1.1+0-0devel/aml/Makefile
+49-02 files not shown
+49-08 files

OpenBSD/ports eTYHgigdevel/lua-language-server distinfo Makefile

   Update lua-language-server 3.17.0 -> 3.18.0
   Changelog: https://github.com/LuaLS/lua-language-server/blob/master/changelog.md
   Diff from Laurent Cheylus, thanks!
VersionDeltaFile
1.6+2-2devel/lua-language-server/distinfo
1.8+1-1devel/lua-language-server/Makefile
+3-32 files

FreeBSD/ports a311cefx11-wm/hyprland distinfo Makefile

x11-wm/hyprland: Update to 0.54.3

Changelog: https://github.com/hyprwm/Hyprland/releases/tag/v0.54.3

Reported by:    GitHub (watch releases)
DeltaFile
+3-3x11-wm/hyprland/distinfo
+1-2x11-wm/hyprland/Makefile
+4-52 files

FreeBSD/src 5c36d1bsys/dev/sound/usb uaudio_pcm.c uaudio.c

snd_uaudio: Retire sndcard_func usage

This is effectively a no-op, as it does not make use of the
sndcard_func->varinfo field, so eventually ua_probe() always succeeds.

Also change ua_probe()'s value to 0. There is no need to return
BUS_PROBE_DEFAULT, because snd_uaudio() attaches the sound(4)'s children
with bus_attach_children().

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D56160

(cherry picked from commit 0efd33382504d3172734fa21325fcabef9c7f063)
DeltaFile
+1-12sys/dev/sound/usb/uaudio_pcm.c
+0-5sys/dev/sound/usb/uaudio.c
+1-172 files

OpenBSD/src JL586Lousr.sbin/relayd parse.y

   relayd: support TLS with multiple listeners

   Fix a bug in relay_inherit() which runs only
   relay_load_certfiles(conf, rb, NULL) unconditionally which isn't
   alligned with logic in parser when it parses relay block, where multiple
   certificates are load as relay_load_certfiles(conf, rb, NULL) only if
   here no tlscerts (for default host) and otherwise it loads keypairs.

   OK: rsadowski@
VersionDeltaFile
1.262+11-2usr.sbin/relayd/parse.y
+11-21 files

OpenBSD/ports 5n1ZhkFnet/bird/3 distinfo Makefile

   update to bird-3.2.1
VersionDeltaFile
1.9+4-4net/bird/3/distinfo
1.9+1-1net/bird/3/Makefile
+5-52 files