LLVM/project 9832d83llvm/lib/Transforms/Vectorize SLPVectorizer.cpp

[SLP][NFC]Fix a warning for unused variable in release builds, NFC



Reviewers: 

Pull Request: https://github.com/llvm/llvm-project/pull/224315
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+1-11 files

LLVM/project 8278827llvm/unittests/ExecutionEngine/Orc SPSProxySpecTest.cpp

[ORC] Fix testcase after SymbolNameSpec migration. (#224302)

Interface names were migrated to SymbolNameSpec in 6136762db198, but
some names in testcases were missed, triggering build failures on MSVC
bots (see https://lab.llvm.org/buildbot/#/builders/2/builds/62444)

Update interface names in SPSProxySpecTest.cpp to SymbolNameSpecs.
DeltaFile
+4-2llvm/unittests/ExecutionEngine/Orc/SPSProxySpecTest.cpp
+4-21 files

LLVM/project eebda15lldb/source/Plugins/Process/gdb-remote GDBRemoteCommunicationServerLLGS.h GDBRemoteCommunicationServerLLGS.cpp

[lldb] Guarded GDBRemoteCommunicationServerLLGS::m_saved_registers_map (#219431)

m_saved_registers_map and m_next_saved_registers_id were guarded by a
dedicated std::mutex. This replaces the manual locking logic with
`Guarded`.

This also fixes the missing lock in the Handle_QSaveRegisterState
assert which was previously a race condition.
DeltaFile
+9-10lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+8-3lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
+17-132 files

FreeBSD/ports 646ae6etextproc/moor Makefile distinfo

textproc/moor: Update 2.19.1 => 2.19.2

Changelog:
https://github.com/walles/moor/releases/tag/v2.19.2
Commit log:
https://github.com/walles/moor/compare/v2.19.1...v2.19.2

Reported by:    portscout
Approved by:    osa, vvd (Mentors, implicit)
DeltaFile
+5-5textproc/moor/distinfo
+1-1textproc/moor/Makefile
+6-62 files

LLVM/project 8947724clang/test/CodeGen/WebAssembly exception-model-flag.c, clang/test/CodeGenCXX wasm-eh.cpp

WebAssembly: Remove -wasm-enable-eh cl::opt in favor of -exception-model=wasm

The -wasm-enable-eh backend flag was redundant with -exception-model=wasm:
every caller paired the two, and the model already carries the intent.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+5-21llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+0-16clang/test/CodeGen/WebAssembly/exception-model-flag.c
+6-6llvm/test/CodeGen/WebAssembly/eh-lsda.ll
+6-6clang/test/CodeGenCXX/wasm-eh.cpp
+5-5llvm/test/CodeGen/WebAssembly/exception.ll
+5-5llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
+27-5922 files not shown
+65-10128 files

LLVM/project a610b7fclang/test/CodeGen/WebAssembly target-abi-module-flag.c, llvm/lib/Target/WebAssembly WebAssemblyTargetMachine.h WebAssemblySubtarget.cpp

WebAssembly: Respect target-abi module flag

Previously this relied on the TargetABI MCOptions field and ignored
the IR flag.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+11-6llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+17-0llvm/test/CodeGen/WebAssembly/multivalue-module-abi.ll
+14-0clang/test/CodeGen/WebAssembly/target-abi-module-flag.c
+7-1llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
+2-5llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h
+4-3llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
+55-154 files not shown
+64-2310 files

FreeBSD/ports e727b1aarchivers/plakar Makefile distinfo

archivers/plakar: update to 1.1.6

PR:             298516
Reported by:    roberto
Approved by:    Clément Martin <twisla at twis.la> (maintainer)
DeltaFile
+5-5archivers/plakar/distinfo
+1-2archivers/plakar/Makefile
+6-72 files

LLVM/project e98ab4alld/MachO Driver.h Driver.cpp, lld/test/MachO reproduce.s reproduce-search-paths.s

[lld][MachO] Fix --reproduce paths for non-global symbol lists and SDK libraries/frameworks (#223687)

`--reproduce` currently has two path-rewriting problems:
1. Non-global symbol lists are included in the archive, but their paths
in the response file are not
     relativized.
2. SDK roots and library/framework search paths are relativized
independently. Since the driver does not
reroot relative search paths, replay can fail to find libraries or
frameworks inside the SDK.
  
This patch fixes both by relativizing non-global symbol-list paths and
resolving SDK prefixes before
  relativizing library/framework search paths.

---------

Co-authored-by: Vy Nguyen <1762963+oontvoo at users.noreply.github.com>
DeltaFile
+48-0lld/test/MachO/reproduce-search-paths.s
+28-0lld/MachO/DriverUtils.cpp
+4-17lld/MachO/Driver.cpp
+8-2lld/test/MachO/reproduce.s
+4-0lld/MachO/Driver.h
+92-195 files

FreeBSD/ports 5fc80fesecurity/ssh-tools pkg-plist distinfo

security/ssh-tools: Update to 1.9

Perl and Go utilities can be added later as needed.

Sponsored by:   fme AG
DeltaFile
+9-9security/ssh-tools/Makefile
+3-5security/ssh-tools/distinfo
+1-0security/ssh-tools/pkg-plist
+13-143 files

FreeBSD/doc 000366awebsite/content/en/cgi ports.cgi

ports.cgi: clarify the Packages link documentation
DeltaFile
+1-1website/content/en/cgi/ports.cgi
+1-11 files

FreeBSD/doc d0e0aa1website/content/en/cgi ports.cgi

ports.cgi: merge the update section into the intro top
DeltaFile
+5-17website/content/en/cgi/ports.cgi
+5-171 files

FreeBSD/doc e74bd71website/content/en/cgi ports.cgi

ports.cgi: simplify the list of external documentation links
DeltaFile
+3-11website/content/en/cgi/ports.cgi
+3-111 files

FreeBSD/doc 4d122fdwebsite/content/en/cgi ports.cgi

ports.cgi: put the copyright block last

legal, rarely needed
DeltaFile
+7-6website/content/en/cgi/ports.cgi
+7-61 files

LLVM/project 5b5247cllvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/SLPVectorizer/AArch64 splat-gather-subtree-inst-count.ll

[SLP]Drop auxiliary subtrees to pass the VF=2 instruction-count veto

The veto rejected the whole VF=2 tree when an optional splat gather
root or gathered loads subtree tipped the vector instruction count
over the scalar count. Drop the reused auxiliary subtrees while the
tree exceeds the budget; the surviving gathers re-materialize their
scalars.

Assisted-by: Cursor

Reviewers: bababuck, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/224108
DeltaFile
+110-21llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+10-11llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-inst-count.ll
+120-322 files

LLVM/project 3d2e5b5llvm/lib/Target/WebAssembly WebAssemblySubtarget.h WebAssemblyTargetMachine.h

WebAssembly: Partially clean up subtarget construction

There should be just one getSubtargetImpl(Function&) override like every
other target, but this is relying on the global subtarget. Remove the
argumentless form since it's unnecessary.
WebAssemblyCoalesceFeaturesAndStripAtomics doesn't really need to construct
a full new subtarget for its purpose and can directly take the global subtarget
feature bits. This pass is also doing quite a lot of other bad things, like
mutating the TargetMachine.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+12-15llvm/lib/Target/WebAssembly/WebAssemblyCoalesceFeaturesAndStripAtomics.cpp
+4-12llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+3-3llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
+2-3llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h
+2-3llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
+2-2llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
+25-386 files

FreeBSD/ports 619c0c6devel/py-setuptools44 Makefile, mail/mailman Makefile

*/*: Deprecate python2 consumers

lang/python2 and lang/python27 have been deprecated since 2020-01-01 and their
EXPIRATION_DATE of 2020-12-31 passed nearly six years.

Set the same expiration date on the remaining python:2.7 consumers so that
python2 and python27 can be removed on 2026-11-01

The date was chosen to fall after the 2026Q4 branch is created, so that the
removal happens on main only and the quarterly branch keeps python2 for its
full lifetime.

Approved by:    portmgr
DeltaFile
+3-0www/moinmoin/Makefile
+3-0mail/mailman/Makefile
+3-0devel/py-setuptools44/Makefile
+9-03 files

LLVM/project 4da3844libc/src/__support/OSUtil/linux/syscall_wrappers CMakeLists.txt fchmodat.h, libc/src/sys/stat/linux CMakeLists.txt fchmodat.cpp

[libc] Add support for SYS_fchmodat2 in fchmodat (#223997)

### Summary
Linux kernel 6.6 introduced the `SYS_fchmodat2` system call, which
accepts a 4th `flags` argument (`int fchmodat2(int dirfd, const char
*pathname, mode_t mode, unsigned int flags)`). This allows flags like
`AT_SYMLINK_NOFOLLOW` and `AT_EMPTY_PATH` to be passed directly to the
kernel.

Following the discussion on #223165, this patch adds support for
`SYS_fchmodat2` in `fchmodat`, while providing fallbacks when
`SYS_fchmodat2` is not supported.

Fixes #223953

Formatted using Gemini.

---------

Co-authored-by: Pavel Labath <pavel at labath.sk>
DeltaFile
+38-7libc/test/src/sys/stat/fchmodat_test.cpp
+12-6libc/src/__support/OSUtil/linux/syscall_wrappers/fchmodat.h
+1-6libc/src/sys/stat/linux/fchmodat.cpp
+3-2libc/src/__support/OSUtil/linux/syscall_wrappers/CMakeLists.txt
+0-1libc/src/sys/stat/linux/CMakeLists.txt
+54-225 files

FreeNAS/freenas 407169csrc/middlewared/middlewared/plugins/zfs resource_create.py create_rules.py, tests/api2 test_zfs_resource_create.py

`check_parent_is_filesystem` so that `test_zfs_resource_create_under_a_volume_parent_is_rejected` does not depend on tiering
DeltaFile
+18-9tests/api2/test_zfs_resource_create.py
+18-0src/middlewared/middlewared/plugins/zfs/create_rules.py
+2-0src/middlewared/middlewared/plugins/zfs/resource_create.py
+38-93 files

FreeNAS/freenas c4e58f8tests/api2 test_zfs_resource_unlocked_zvols_fast.py test_zfs_resource_destroy.py

ZFS tests
DeltaFile
+129-149tests/api2/test_zfs_resource_create.py
+174-0tests/api2/test_zfs_resource_mount_unmount.py
+172-1tests/api2/test_zfs_resource_snapshot_count.py
+170-1tests/api2/test_zfs_resource_query.py
+150-1tests/api2/test_zfs_resource_destroy.py
+127-0tests/api2/test_zfs_resource_unlocked_zvols_fast.py
+922-1528 files not shown
+1,367-15414 files

NetBSD/pkgsrc-wip 80310a9chromium COMMIT_MSG distinfo, chromium/patches patch-third__party_blink_renderer_core_exported_web__view__impl.cc patch-content_browser_web__contents_web__contents__impl.cc

chromium: update to 153.0.8010.47
DeltaFile
+1,666-1,669chromium/distinfo
+46-1chromium/COMMIT_MSG
+22-4chromium/patches/patch-third__party_blink_renderer_platform_runtime__enabled__features.json5
+5-5chromium/patches/patch-chrome_browser_ui_browser__actions.cc
+4-4chromium/patches/patch-third__party_blink_renderer_core_exported_web__view__impl.cc
+4-4chromium/patches/patch-content_browser_web__contents_web__contents__impl.cc
+1,747-1,6871,662 files not shown
+3,423-3,3591,668 files

FreeNAS/freenas 3c109b9src/middlewared/middlewared/plugins/iscsi_ lio.py

Update how we tell LIO that an extent has resized.
DeltaFile
+2-2src/middlewared/middlewared/plugins/iscsi_/lio.py
+2-21 files

FreeNAS/freenas 153ad56src/middlewared/middlewared/api/v27_0_0 iscsi_global.py

Allow iSCSI mode=2
DeltaFile
+1-1src/middlewared/middlewared/api/v27_0_0/iscsi_global.py
+1-11 files

LLVM/project c7816d6clang/test/OffloadTools/clang-linker-wrapper linker-wrapper-image.c linker-wrapper-host-datalayout.c, clang/tools/clang-linker-wrapper ClangLinkerWrapper.cpp

clang-linker-wrapper: Set the host DataLayout on the offload wrapper module (#224280)

The offload wrapper module was created with only a target triple, and
the datalayout wasn't set until later, where it was copied from the
TargetMachine, after the wrapping code already ran.

The wrapping code did query the datalayout for the pointer size, so this
was broken for host and devices with different pointer sizes. queries the 
DataLayout (e.g. the size_t / intptr type via getSizeTTy), so on a
host whose pointer size differs from the default layout (e.g. a 32-bit
host) it used the wrong integer width for image offsets.

This removes a use of TargetMachine::createDataLayout, which I am trying
to remove.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+27-0clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper-host-datalayout.c
+4-5clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+4-4clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper-image.c
+35-93 files

FreeNAS/freenas 6505dbesrc/middlewared/middlewared/plugins/iscsi_ alua.py extents.py, src/middlewared/middlewared/utils/lio config.py

Add middleware support for LIO ALUA HA

Wire up the middleware side of LIO ALUA high-availability: load
lio_ha.ko with per-node addresses on service start, manage ALUA
state across failover events, clean up STANDBY configfs on pool
export, and add pre-flight validation that targets have static
initiator ACLs before ALUA can be enabled.

For each target, create a portal-less phantom TPG carrying the peer
node's controller group so that a single RTPG response from any
connected port lists both ALUA groups.  Write tpgt_N/rtpi explicitly
before enable so that relative target port IDs in RTPG match the
tag formula (portal.tag on Node A, portal.tag + 32000 on Node B)
rather than being auto-assigned sequentially by the kernel.

ALUA group states are driven by role and ha_state:

  MASTER  + synced        local=OPTIMIZED     remote=NONOPTIMIZED
  MASTER  + connected     local=OPTIMIZED     remote=TRANSITIONING

    [4 lines not shown]
DeltaFile
+537-135src/middlewared/middlewared/utils/lio/config.py
+214-2src/middlewared/middlewared/plugins/iscsi_/lio.py
+87-71src/middlewared/middlewared/plugins/iscsi_/fs_attachment_delegate.py
+89-58src/middlewared/middlewared/plugins/iscsi_/target_to_extent.py
+59-47src/middlewared/middlewared/plugins/iscsi_/extents.py
+62-9src/middlewared/middlewared/plugins/iscsi_/alua.py
+1,048-3228 files not shown
+1,232-37114 files

FreeBSD/ports e0156efwww/py-grafana-dashboard-manager Makefile distinfo

www/py-grafana-dashboard-manager: Update to 0.2.10.92469056881

Sponsored by:   fme AG
DeltaFile
+3-3www/py-grafana-dashboard-manager/distinfo
+2-2www/py-grafana-dashboard-manager/Makefile
+5-52 files

LLVM/project 46ff6b5llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/lib/Transforms/Vectorize/SLPVectorizer SLPUtils.h SLPCostAnalysis.cpp

[SLP]Model or-reduction of masked shifted lanes as a bitfield pack

An or reduction of and(shl(x, s), m) lanes that each cover a disjoint
contiguous byte field of the result is a repacking of the per-lane field
contents, not a shift and reduce. Prove the fields disjoint from the
per-lane possibly-set bits (a saturating numeric upper bound combined with
known bits), then emit the pack as a trunc, an optional per-lane lshr, a
byte shuffle and a bitcast. A plain byte reversal becomes a bswap, an
identity byte order needs no shuffle, and byte-zext lanes compact for free.

Fixes #175446

Assisted-by: Cursor

Reviewers: bababuck

Pull Request: https://github.com/llvm/llvm-project/pull/219731
DeltaFile
+301-40llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+138-97llvm/test/Transforms/PhaseOrdering/X86/avg.ll
+152-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.cpp
+68-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPCostAnalysis.cpp
+28-24llvm/test/Transforms/SLPVectorizer/X86/pr48879-sroa.ll
+42-0llvm/lib/Transforms/Vectorize/SLPVectorizer/SLPUtils.h
+729-1616 files not shown
+766-19012 files

FreeBSD/ports e96db81accessibility/sctd Makefile

accessibility/sctd: Return to pool
DeltaFile
+1-1accessibility/sctd/Makefile
+1-11 files

LLVM/project a47fe60llvm/lib/Target/RISCV RISCVTargetTransformInfo.cpp, llvm/test/Analysis/CostModel/RISCV vp-intrinsics.ll

[RISCV] Account for VL toggle cost when splitting VP memory intrinsics (#223992)

Not an alternative to #222836 since this doesn't handle all cases, but
something we should do anyway in the TTI to be accurate.

For vp.load/vp.gather/vp.strided.load and their store counterparts, when
they're split they introduce extra vl toggles which involve computation
on the evl, e.g.

      vsetvli a2, zero, e8, mf4, ta, ma
      vmv1r.v v8, v0
      csrr a2, vlenb
      srli a3, a2, 3
      vslidedown.vx v0, v0, a3
      sub a3, a1, a2
      sltu a4, a1, a3
      addi a4, a4, -1
      slli a5, a2, 3
      and a3, a4, a3

    [12 lines not shown]
DeltaFile
+21-21llvm/test/Transforms/LoopVectorize/RISCV/strided-access-wide-stride.ll
+31-2llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
+13-13llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses-narrow-iv.ll
+5-5llvm/test/Analysis/CostModel/RISCV/vp-intrinsics.ll
+70-414 files

LLVM/project 2794e41llvm/include/llvm/Object GOFF.h GOFFObjectFile.h, llvm/lib/Object GOFFObjectFile.cpp

[Object][GOFF] Support RLD records (#216780)

This is to add support for RT_RLD records when reading GOFF objects.
DeltaFile
+119-1llvm/lib/Object/GOFFObjectFile.cpp
+47-14llvm/include/llvm/Object/GOFFObjectFile.h
+46-0llvm/unittests/Object/GOFFObjectFileTest.cpp
+10-0llvm/include/llvm/Object/GOFF.h
+222-154 files

DragonFlyBSD/src 3e72cdesys/vfs/fifofs fifo_vnops.c

kernel - Fix lost wakeup in fifo_open()

* fifo_open() tests fi_readers, drops the fifo and vnode locks, then
  tsleeps.  A peer opening in that window bumps the counter and issues
  its wakeup before the sleeper is queued, so open(2) blocks forever
  with a peer already attached.  Both paths are affected.

* Queue with tsleep_interlock() before releasing the locks and sleep
  with PINTERLOCKED.

Reviewed-by: @dillon
DeltaFile
+4-2sys/vfs/fifofs/fifo_vnops.c
+4-21 files