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

[RISCV] Account for VL toggle cost when splitting VP memory intrinsics

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
      add a5, a0, a5
      vsetvli zero, a3, e64, m8, ta, ma
      vle64.v v16, (a5), v0.t

    [9 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 dc5d67cmlir/python/mlir/dialects/linalg __init__.py, mlir/test/python/dialects/linalg ops.py

[mlir][python] Register linalg.ElementwiseOp wrapper as op view

The hand-written ElementwiseOp wrapper subclassed the generated OpView but
was not registered in the op-view registry, so ops reconstructed from the
registry (e.g. Operation.opview) were instances of the generated base class
rather than the publicly exported subclass. This made
isinstance(op.opview, linalg.ElementwiseOp) and match/case dispatch return
False for real linalg.elementwise ops.

Register the wrapper with replace=True (as pdl.py does) so the exported
class is the one the registry instantiates.

Fixes #223673
DeltaFile
+21-0mlir/test/python/dialects/linalg/ops.py
+3-4mlir/python/mlir/dialects/linalg/__init__.py
+24-42 files

LLVM/project 60fc5b5mlir/test/python/dialects/linalg ops.py

Remove comment per review
DeltaFile
+0-2mlir/test/python/dialects/linalg/ops.py
+0-21 files

FreeBSD/ports 4ba5260deskutils/syncthingtray Makefile pkg-plist, deskutils/syncthingtray/files patch-syncthingtray_syncthingconnector_runtimecondition.cpp patch-syncthingtray_plasmoid_lib_syncthingapplet.h

deskutils/syncthingtray: Update 2.1.4 => 2.1.5

Changelog:
https://github.com/Martchus/syncthingtray/releases/tag/v2.1.5

PR:             298529
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+39-0deskutils/syncthingtray/files/patch-syncthingtray_plasmoid_lib_syncthingapplet.h
+18-0deskutils/syncthingtray/files/patch-syncthingtray_syncthingconnector_runtimecondition.cpp
+5-5deskutils/syncthingtray/distinfo
+4-4deskutils/syncthingtray/pkg-plist
+2-2deskutils/syncthingtray/Makefile
+68-115 files

LLVM/project 5191578llvm/include/llvm/CodeGen SlotIndexes.h, llvm/lib/CodeGen LiveIntervals.cpp LiveDebugVariables.cpp

[CodeGen] Drop dead SlotIndexes before allocation

SlotIndexes keeps the index list entry of an erased instruction and only
clears its instruction pointer. Live range sizes are measured in slot
indexes and greedy ranks ranges by size, so the leftovers inflate some
ranges more than others and reorder allocation, spilling heavily on
register-starved functions.

Add SlotIndexes::compactIndexes() to erase them. Erased entries are
unlinked, so LiveIntervals, LiveStacks and LiveDebugVariables first
report the indexes they hold via appendReferencedIndexes(); a missed one
trips an assert instead of dangling.

Off by default behind -greedy-compact-slot-indexes, since it changes
allocation across much of the test suite.
DeltaFile
+263-0llvm/unittests/CodeGen/SlotIndexesTest.cpp
+48-0llvm/lib/CodeGen/SlotIndexes.cpp
+29-6llvm/include/llvm/CodeGen/SlotIndexes.h
+33-0llvm/test/CodeGen/AMDGPU/greedy-compact-slot-indexes.ll
+29-0llvm/lib/CodeGen/LiveIntervals.cpp
+29-0llvm/lib/CodeGen/LiveDebugVariables.cpp
+431-66 files not shown
+476-812 files

LLVM/project a0837c4clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvzip/policy/non-overloaded vunzipe.c, llvm/lib/Target/Xtensa XtensaS3DSPInstrInfo.td

Merge branch 'main' into users/adams381/cir-explicit-nothrow-willreturn
DeltaFile
+4,377-4,141llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+5,753-0llvm/lib/Target/Xtensa/XtensaS3DSPInstrInfo.td
+2,597-2,593llvm/test/CodeGen/AMDGPU/bf16.ll
+2,633-2,496llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+1,272-1,259llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll
+145-1,729clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/zvzip/policy/non-overloaded/vunzipe.c
+16,777-12,218936 files not shown
+61,939-43,329942 files

LLVM/project d22a5d5llvm/include/llvm/Analysis RuntimeLibcallInfo.h, llvm/include/llvm/IR RuntimeLibcalls.h

RuntimeLibcalls: Read exception model from the module flag

Source the exception model in the RuntimeLibcallsInfo(Module) constructor
from the "exception-model" module flag via Module::getExceptionModel(),
instead of forwarding it from TargetOptions. An absent flag resolves to
Default and then to the triple default; an explicit "none" disables
exceptions.

Since the model now comes from the module, drop the ExceptionModel that
RuntimeLibraryAnalysis carried and forwarded, and its argument at every
construction site.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+5-6llvm/include/llvm/IR/RuntimeLibcalls.h
+3-7llvm/include/llvm/Analysis/RuntimeLibcallInfo.h
+3-5llvm/lib/IR/RuntimeLibcalls.cpp
+4-4llvm/lib/Analysis/RuntimeLibcallInfo.cpp
+2-2llvm/tools/opt/optdriver.cpp
+2-2llvm/lib/Passes/RunCodeGen.cpp
+19-265 files not shown
+25-3611 files

LLVM/project 919bc5dclang/lib/Driver/ToolChains WebAssembly.cpp, clang/test/CodeGen exception-model-flag.c

WebAssembly: Drive Emscripten EH from the exception model, drop the cl::opt

Remove the deprecated -enable-emscripten-cxx-exceptions flag. This should now
be driven by the generic exception-model mechanisms. There was also some special
case handling of the -mllvm flag in the clang driver which also needed removal.

Also reverts the test change in b6912258891caefffbf15edb1bceff3724b75af5 now that
the backend doesn't need to be built to test the flag behavior.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+1-25clang/test/Driver/wasm-toolchain.c
+0-16clang/test/CodeGen/WebAssembly/exception-model-flag.c
+2-14llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+3-13clang/lib/Driver/ToolChains/WebAssembly.cpp
+8-0clang/test/CodeGen/exception-model-flag.c
+5-2llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
+19-703 files not shown
+21-789 files

LLVM/project 2e19984llvm/lib/CodeGen RDFGraph.cpp MachineBasicBlock.cpp, llvm/lib/CodeGen/GlobalISel IRTranslator.cpp

CodeGen: Read the exception model from the module flag in EH lowering

Resolve the exception model as the exception-model module flag if
present, otherwise the TargetOptions default.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
DeltaFile
+13-8llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+8-4llvm/lib/Target/XCore/XCoreFrameLowering.cpp
+8-4llvm/lib/CodeGen/MachineLICM.cpp
+7-4llvm/lib/CodeGen/RDFGraph.cpp
+7-4llvm/lib/CodeGen/MachineBasicBlock.cpp
+6-3llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll
+49-2712 files not shown
+89-4318 files

FreeBSD/src 84141e3usr.bin/sort sort.1.in

sort.1: Fix default memory buffer size

PR:             261496
Fixes:          554442439dd0 ("Change the memory heuristics")
MFC after:      3 days
Reported by:    wosch

(cherry picked from commit 4fb4be7e36428058c6abaa29f359b3d70ae60f0a)
DeltaFile
+1-1usr.bin/sort/sort.1.in
+1-11 files

FreeBSD/src 9d0db3cshare/man/man3 pthread_mutex_consistent.3

pthread_mutex_consistent.3: Fix typo + tag SPDX

PR:             298044
MFC after:      3 days

(cherry picked from commit ef3e7d4054db562b04669f36f87f385127fbd03e)
DeltaFile
+4-1share/man/man3/pthread_mutex_consistent.3
+4-11 files

LLVM/project e3974cdllvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp, llvm/test/CodeGen/X86 dagcombine-concat-undef-vs-poison.ll

Avoid making vector more poisonous in visitCONCAT_VECTORS (#223492)

Fix a miscompile bug found in visitCONCAT_VECTORS.

In commit 544c300f43961 (from January 25 2026) the DAGCombiner started
to use poison instead of undef when rewriting a CONCAT_VECTORS as a
BUILD_VECTOR. Problem was that it was using poison also for elements
that were undef before the fold, making the result more poisonous. That
caused miscompiles as reported in PR #222857.

The fix is to make sure we only use a poison value as operand in the new
BUILD_VECTOR if the input to CONCAT_VECTORS also is poison.

Same kind of fixup is done for combineConcatVectorOfConcatVectors and
combineConcatVectorOfShuffleAndItsOperands (both helpers used by
visitCONCAT_VECTORS). Those funtions were also modified in commit
544c300f43961, all without any motivating test cases showing that it is
correct to use poison. I do not have any test cases proving that those
two helpers also could cause miscompiles, but neither that the rewrites

    [2 lines not shown]
DeltaFile
+49-0llvm/test/CodeGen/X86/dagcombine-concat-undef-vs-poison.ll
+4-3llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+53-32 files

LLVM/project b1076dallvm/examples/OrcV2Examples/LLJITWithRemoteDebugging RemoteJITUtils.cpp, llvm/tools/llvm-jitlink llvm-jitlink.cpp

[llvm-jitlink] Replace pipes with unix domain sockets. (#223941)

Replace pipes with unix domain sockets for basic out-of-process
execution.

The new ORC runtime doesn't support pipes -- this changes will enable
llvm-jitlink to connect to the new ORC runtime's executor (once it
lands).
DeltaFile
+16-39llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
+14-39llvm/tools/llvm-jitlink/llvm-jitlink.cpp
+7-12llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
+37-903 files

FreeBSD/src 9780b67share/man/man4 tpm.4

tpm.4: Canonicalize SYNOPSIS and HARDWARE

(cherry picked from commit f49dc19881d853b26dd675127f579f923dc87de2)
DeltaFile
+13-19share/man/man4/tpm.4
+13-191 files

FreeBSD/src c9503a5share/man/man4 tslog.4

tslog.4: Canonicalize SYNOPSIS

Also, add the missing blank comment line at the top of the file.

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit dc867c353c8b423131f7f6a7f687c86713bf0666)
DeltaFile
+2-5share/man/man4/tslog.4
+2-51 files

FreeBSD/src c5beef4share/man/man4 udl.4

udl.4: Canonicalize SYNOPSIS

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 7b70103a6303b53ea8130cfbb89a3eb2e476e2e5)
DeltaFile
+4-12share/man/man4/udl.4
+4-121 files

FreeBSD/src 7aa9728share/man/man4 ucycom.4

ucycom.4: Canonicalize SYNOPSIS

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit c64f6133ff083feb1c9451e12af5b7de0c2d6a41)
DeltaFile
+6-14share/man/man4/ucycom.4
+6-141 files

FreeBSD/src f03b08cshare/man/man4 ubser.4

ubser.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 372b94623ca48d7ceae02175b5ffd635e62c2c58)
DeltaFile
+8-13share/man/man4/ubser.4
+8-131 files

FreeBSD/src 61d9d5fshare/man/man4 ucom.4

ucom.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 08ab66b3f69391e753c6f5449105d61ce81cd0ed)
DeltaFile
+14-11share/man/man4/ucom.4
+14-111 files

FreeBSD/src 5b360feshare/man/man4 ubtbcmfw.4

ubtbcmfw.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 28bbe93c5bb5e6fb34bf680341faa9c869417320)
DeltaFile
+6-11share/man/man4/ubtbcmfw.4
+6-111 files

FreeBSD/src 6376ac7share/man/man4 udav.4

udav.4: Canonicalize SYNOPSIS + "Fast" Ethernet

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 6fe1d51aedb086e49bb338ed87861abdcce416f2)
DeltaFile
+12-20share/man/man4/udav.4
+12-201 files

FreeBSD/src c6793d2share/man/man4 udbp.4

udbp.4: Canonicalize SYNOPSIS, structure, SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit bba2aebcebc1d46b15e1b6d86c041186dc8d49f0)
DeltaFile
+33-61share/man/man4/udbp.4
+33-611 files

FreeBSD/src 92da9b3share/man/man4 uath.4

uath.4: Canonicalize FIRMWARE -> FILES

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 2b67a5b5273e0af7c9dbf9f92b2b8c7b1940f9c3)
DeltaFile
+11-11share/man/man4/uath.4
+11-111 files

FreeBSD/src 04464e9share/man/man4 uath.4

uath.4: Canonicalize SYNOPSIS

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 2c92e4c931e7f12f1dc9b82036b26295c1f4d37e)
DeltaFile
+8-16share/man/man4/uath.4
+8-161 files

FreeBSD/src 3eadc1cshare/man/man4 ubsa.4

ubsa.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 01e9a8bc8a124d3e19280d82b1ce16bd69237627)
DeltaFile
+7-13share/man/man4/ubsa.4
+7-131 files

FreeBSD/src 7d350cashare/man/man4 uark.4

uark.4: Canonicalize SYNOPSIS + tag SPDX

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit ca87782318d2e14bb07acfacd11c0be63a5e64a6)
DeltaFile
+8-13share/man/man4/uark.4
+8-131 files

FreeBSD/src 5a20fcashare/man/man4 vmx.4

vmx.4: Canonicalize device number

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 1bf7d54e416cad3c89eed0e781a85d15e6864920)
DeltaFile
+9-9share/man/man4/vmx.4
+9-91 files

FreeBSD/src c54f685share/man/man4 u3g.4

u3g.4: Canonicalize SYNOPSIS, fix stray hyphen

Event:          EuroBSDcon 2026
MFC after:      3 days

(cherry picked from commit 7ec06b4d9726188c7315cf1b2d5b69fec4a385b4)
DeltaFile
+6-17share/man/man4/u3g.4
+6-171 files

FreeBSD/src ed0adb2usr.sbin/wpa/wpa_supplicant wpa_supplicant.8

wpa_supplicant.8: Renew SEE ALSO + tag SPDX

- remove old wifi drivers, these are very old and we have many more
- add quick start guide to connecting to wifi

Event:                  EuroBSDCon 2026
MFC after:              3 days
Reviewed by:            bz, emaste
Differential Revision:  https://reviews.freebsd.org/D59615

(cherry picked from commit d5c09e32ce8aa625ab9429c5fe87137fb92bff53)
DeltaFile
+5-9usr.sbin/wpa/wpa_supplicant/wpa_supplicant.8
+5-91 files

FreeBSD/src f7550efshare/man/man4 hgame.4 xb360gp.4

game controller manuals: Canonicalize SYNOPSIS

While here, tag SPDX.

Event:                  EuroBSDcon Devsummit 2026
MFC after:              3 days
Reviewed by:            wulf
Differential Revision:  https://reviews.freebsd.org/D59256

(cherry picked from commit b7541acacb662436591277977317072a4eaa6dc3)
DeltaFile
+23-16share/man/man4/ps4dshock.4
+19-17share/man/man4/xb360gp.4
+7-5share/man/man4/hgame.4
+49-383 files