LLVM/project 93564fa — llvm/lib/CodeGen RegAllocGreedy.cpp MLRegAllocEvictAdvisor.cpp, llvm/test/CodeGen/MLRegAlloc unspillable-use-def-density.ll equal-cascade-eviction.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+5-7llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
+3-2llvm/test/CodeGen/MLRegAlloc/equal-cascade-eviction.ll
+2-2llvm/test/CodeGen/MLRegAlloc/unspillable-use-def-density.ll
+1-1llvm/lib/CodeGen/RegAllocGreedy.cpp
+11-124 files

LLVM/project d5edd59 — llvm/lib/CodeGen MLRegAllocEvictAdvisor.cpp, llvm/test/CodeGen/MLRegAlloc unspillable-use-def-density.ll equal-cascade-eviction.ll

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+5-7llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
+3-2llvm/test/CodeGen/MLRegAlloc/equal-cascade-eviction.ll
+2-2llvm/test/CodeGen/MLRegAlloc/unspillable-use-def-density.ll
+10-113 files

LLVM/project e09ccd7 — llvm/lib/CodeGen MLRegAllocEvictAdvisor.cpp, llvm/test/CodeGen/MLRegAlloc unspillable-use-def-density.ll equal-cascade-eviction.ll

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+5-7llvm/lib/CodeGen/MLRegAllocEvictAdvisor.cpp
+3-2llvm/test/CodeGen/MLRegAlloc/equal-cascade-eviction.ll
+2-2llvm/test/CodeGen/MLRegAlloc/unspillable-use-def-density.ll
+10-113 files

LLVM/project 1bf9cc6 — lldb/source/Plugins/Process/Windows/Common NativeProcessWindows.cpp, lldb/test/API/functionalities/thread/exit_during_interrupt Makefile main.cpp

[lldb][Windows] Don't exit lldb-server when Halt can't suspend a thread (#243856)

On `Halt`, `NativeProcessWindows::HandleBreakpointException` suspends
every thread and calls `exit(1)` if `DoStop` fails. `DoStop` fails with
`ERROR_ACCESS_DENIED` for a thread that is exiting but whose exit event
has not been processed yet.

This makes `TestAttachResume.py` fail on the x64 Windows bot
([5308](https://ci-external.swift.org/job/lldb-windows/job/main/5308/))
with `10 != 5`: lldb-server exits on the second `process interrupt`
because the attach thread is still exiting, and lldb reports the process
as exited.
Log the failure and continue, like the other callers of `DoStop` do, and
fix the swapped arguments of that log.

The new `TestExitDuringInterrupt.py` fails 12 of 60 runs in the bot's
image and 33 of 56 on Windows 11 without this patch. It passes 60 of 60
and 112 of 112 with it.


    [2 lines not shown]
DeltaFile
+30-0lldb/test/API/functionalities/thread/exit_during_interrupt/TestExitDuringInterrupt.py
+13-0lldb/test/API/functionalities/thread/exit_during_interrupt/main.cpp
+2-5lldb/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp
+3-0lldb/test/API/functionalities/thread/exit_during_interrupt/Makefile
+48-54 files

LLVM/project fd3660b — llvm/test/CodeGen/AMDGPU async-barrier-arrive-replay-whole-wave.ll, llvm/test/CodeGen/ARM bf16-instructions.ll

Merge branch 'main' into users/osa1/simplifycfg_known_bits_assumption_cache
DeltaFile
+86-543llvm/test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir
+386-202llvm/test/CodeGen/ARM/bf16-instructions.ll
+556-0llvm/test/Transforms/LoopVectorize/WebAssembly/CostModel/gemm_int8_2x2.ll
+500-0llvm/test/CodeGen/AMDGPU/async-barrier-arrive-replay-whole-wave.ll
+482-4llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
+229-229llvm/test/tools/llvm-mca/X86/Znver3/resources-x86_64.s
+2,239-978686 files not shown
+14,037-10,627692 files

LLVM/project 96318c5 — llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer vscale.ll

[msan] Combine scalar and scalable vector shadows per element

When Combiner::Add() combines a scalar shadow with a scalable vector
shadow, e.g. for a GEP with a scalar base and scalable indices, it hits
an assertion when casting the (scalable) vector shadow to a scalar.

Fix it by combining the two shadows as a scalable vector of the wider
element type. As a side effect, the origin check for the scalar index of
a GEP with a vector of bases no longer OR-reduces a splat of its shadow.

Assisted-by: Antigravity
DeltaFile
+284-4llvm/test/Instrumentation/MemorySanitizer/vscale.ll
+24-1llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+308-52 files

LLVM/project c0432ba — llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer vscale.ll

[msan] Support scalable vectors in CreateShadowCast

CreateShadowCast() currently hits an assert on scalable vectors because
it casts to FixedVectorType.

Add CreateScalableShadowCast() to handle this. It casts elementwise from
a same-length vector, or splats a scalar. Narrowing poisons a whole
element if any of its bits is poisoned.

Assisted-by: Antigravity
DeltaFile
+303-0llvm/test/Instrumentation/MemorySanitizer/vscale.ll
+21-0llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+324-02 files

LLVM/project 47d32ae — llvm/lib/Transforms/Instrumentation MemorySanitizer.cpp, llvm/test/Instrumentation/MemorySanitizer mul_by_constant.ll vscale.ll

[msan] Fix handleMulByConstant crashes on scalable vectors

For x * C, handleMulByConstant() multiplies the shadow of x by
2^ctz(C), computed for each element of a vector constant. This asserts
on scalable vectors, which it casts to FixedVectorType, and on
fixed-width constant expressions, for which getAggregateElement()
returns null.

Fix it by using the splat value of scalable vectors, and a factor of 1
(shadow unchanged) for anything that is not a ConstantInt, including
null.

Assisted-by: Antigravity
DeltaFile
+183-0llvm/test/Instrumentation/MemorySanitizer/vscale.ll
+16-22llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+11-0llvm/test/Instrumentation/MemorySanitizer/mul_by_constant.ll
+210-223 files

LLVM/project 838af28 — utils/bazel/llvm-project-overlay/libc/src/__support/CPP BUILD.bazel, utils/bazel/llvm-project-overlay/libc/test/src/__support/CPP BUILD.bazel

[Bazel] Fixes d16ac30 (#244259)

This fixes d16ac303e33e47f919dc9a5f1fa40c5dd1722d6f (#244026).

Buildkite error link:
https://buildkite.com/llvm-project/upstream-bazel/builds?commit=d16ac303e33e47f919dc9a5f1fa40c5dd1722d6f

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+7-1utils/bazel/llvm-project-overlay/libc/test/src/__support/CPP/BUILD.bazel
+8-0utils/bazel/llvm-project-overlay/libc/src/__support/CPP/BUILD.bazel
+15-12 files

FreeNAS/freenas 997202c — src/middlewared/middlewared/api/v27_1_0 smb.py, src/middlewared/middlewared/plugins smb.py

NAS-145315 / 28.0.0-BETA.1 / Remove SMB aapl_extensions, multichannel and streams from the API (#20256)

The backend logic was removed in NAS-145310, this commit finalizes the
change by removing the API fields as well. Won't be merged until
NAS-145313 (UI change) is merged.

(cherry picked from commit bb63770a7abf45379d552b998e5b2b4010294b4a)
DeltaFile
+13-18src/middlewared/middlewared/api/v27_1_0/smb.py
+0-6src/middlewared/middlewared/plugins/smb.py
+13-242 files

LLVM/project 22a0a6f — mlir/unittests/Transforms GreedyPatternRewriteDriver.cpp

[mlir][rewriter] Add test for stale deadness cache on nested in-place update (#244254)

Show that invalidating only the op and its ancestors in
DeadnessListener::notifyOperationModified is insufficient:
updateOpInPlace may also change IR nested in the op, leaving descendants
cached as dead and causing the op to be wrongly erased.

Test invalidating #243287

Assisted-by: Claude Code

Co-authored-by: Claude Sonnet 5.5 <noreply at anthropic.com>
DeltaFile
+31-0mlir/unittests/Transforms/GreedyPatternRewriteDriver.cpp
+31-01 files

OpenZFS/src 8513782 — .github/workflows README.md, .github/workflows/scripts qemu-2-start.sh

CI: update the FreeBSD 15 STABLE CI runner to 15.2-STABLE

Follow the stable/15 snapshots, which are now published as
15.2-STABLE.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tigerblue77 <37409593+tigerblue77 at users.noreply.github.com>
Signed-off-by: Christos Longros <longros at FreeBSD.org>
Closes #19899
DeltaFile
+1-1.github/workflows/scripts/qemu-2-start.sh
+1-1.github/workflows/README.md
+2-22 files

OPNSense/core 18e6cb5 — src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api LogController.php

logging: throw readonly for clear action
DeltaFile
+1-0src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/Api/LogController.php
+1-01 files

FreeBSD/src ab7815d — sys/cam/ctl ctl_ioctl.h

nvmft: Document all CTL_NVMF status codes

Sponsored by:   Chelsio Communications

(cherry picked from commit 02c0eefc4e0ba2208d97fb4a80cd9bc4ec0dc47f)
DeltaFile
+8-0sys/cam/ctl/ctl_ioctl.h
+8-01 files

FreeBSD/src 469ac5a — usr.sbin/ctld nvmf.cc

ctld: Fix namespace IDs for exported NVMe namespaces part 2

This is the same fix as in commit
9c8be6518e2e5f396055ecdab8098ce19c4b2218 just applied to another
method that also accepts namespace IDs.  The original commit handled
configuration statements assigning a named LUN to a namespace.  This
change handles anonymous namespaces configured within a controller
context.

Fixes:          66b5296f1b29 ("ctld: Add support for NVMe over Fabrics")
Sponsored by:   Chelsio Communications
(cherry picked from commit 9a99fa3932ddd794234becc6eab6519d56ae6947)
DeltaFile
+2-2usr.sbin/ctld/nvmf.cc
+2-21 files

FreeBSD/src 0af24d1 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Remove a helper variable from _PRS parsing

Tested by:      cperciva

(cherry picked from commit df10f7b7500c129c48a477e94039c4e0d2711b54)
DeltaFile
+3-5sys/dev/acpica/acpi_pci_link.c
+3-51 files

FreeBSD/src 1b71cb0 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Ignore tunables with negative values

IRQ values are unsigned and negative values do not make sense.  The
invalid IRQ value (255) is already ignored, so ignoring other invalid
values is consistent with that behavior.

Reported by:    cperciva

(cherry picked from commit 81dab94a5452f996a063bdba2103eda4aa32b3d1)
DeltaFile
+4-2sys/dev/acpica/acpi_pci_link.c
+4-21 files

FreeBSD/src 033c0cd — usr.sbin/ctld nvmf.cc

ctld: Fix namespace IDs for exported NVMe namespaces

NVMe namespace IDs are 1-based, but CTL LUN IDs are 0-based.  The
in-kernel NVMe ctl(4) target accounts for this by adding one to the
LUN ID to compute a namespace ID.  ctld was attempting to handle this
by translating namespace IDs from config files to internal LUN IDs,
but it did this incorrectly resulting in the namespace configured for
as namespace N actually showing up as namespace N + 1.

Fixes:          66b5296f1b29 ("ctld: Add support for NVMe over Fabrics")
Sponsored by:   Chelsio Communications
(cherry picked from commit 9c8be6518e2e5f396055ecdab8098ce19c4b2218)
DeltaFile
+2-2usr.sbin/ctld/nvmf.cc
+2-21 files

FreeBSD/src 6c1a74d — sys/dev/cxgbe/crypto t7_kern_tls.c

cxgbe: Don't cache nsegs for KTLS requests

KTLS mbufs are initially parsed when they are first enqueued to
estimate the number of transmit descriptors needed so that the mbuf is
queued until enough descriptors are available.  As part of this
estimate, the number of DSGL segments required by each KTLS mbuf is
calculated.  Originally, the count for the first TLS record in a chain
was cached in the header mbuf to avoid having to recalculate it when
writing out the actual work request for the first TLS record, but this
requires duplicating fairly complex logic both when parsing and
transmitting requests.

Sponsored by:   Chelsio Communications

(cherry picked from commit 6d587ff04b71cb82a1e98fd84b5e0257dd65fec9)
DeltaFile
+5-22sys/dev/cxgbe/crypto/t7_kern_tls.c
+5-221 files

FreeBSD/src 5afba77 — sys/dev/cxgbe offload.h t4_main.c, sys/dev/cxgbe/crypto t7_kern_tls.c t6_kern_tls.c

cxgbe: Add a sysctl/tunable to control KTLS offload of AES-CBC cipher suites

Disable these by default as they are less efficient and rarely used.

Sponsored by:   Chelsio Communications

(cherry picked from commit 9cf774a577abbe28e03a849d1ec25f47827f07e6)
DeltaFile
+10-1sys/dev/cxgbe/t4_main.c
+4-3sys/dev/cxgbe/crypto/t7_kern_tls.c
+4-3sys/dev/cxgbe/crypto/t6_kern_tls.c
+1-0sys/dev/cxgbe/offload.h
+19-74 files

FreeBSD/src 0c064ad — sys/dev/cxgbe t4_main.c adapter.h, sys/dev/cxgbe/crypto t7_kern_tls.c

cxgbe tls: Send final data as immediate when trailing waste is trimmed

When a request needs to drop data from the crypto output (via a split
mode request), send the last 16 bytes of input as immediate data
instead of via DSGL.  Requests with small payloads (16 bytes or fewer)
are now sent as immediate data only without any DSGL at all.

Sponsored by:   Chelsio Communications

(cherry picked from commit 1bc81d3bb05505d1facc6884ee875ccb56e42977)
DeltaFile
+175-26sys/dev/cxgbe/crypto/t7_kern_tls.c
+8-0sys/dev/cxgbe/t4_sge.c
+2-0sys/dev/cxgbe/t4_main.c
+2-0sys/dev/cxgbe/adapter.h
+187-264 files

FreeBSD/src 2135419 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Handle IRQ values > 255

Some systems use a stub PCI link device for hardwired interrupts
instead of static _PRT entries.  These link devices can use an IRQ >
255.  The current driver was designed to handle PCI link devices on
x86 used for legacy INTx IRQs which were < 255.  These changes handle
larger IRQ values while making a few tradeoffs.

- Expand most IRQ fields from 8 bits to 32-bits.  The BIOS IRQ
  (read from the PCIR_INTLINE config register which is an 8-bit register)
  remains 8 bits.

- Add a wrapper API for managing interrupt weights and avoid tracking
  weights for IRQs > 255 and instead report a constant weight of 0 for
  IRQs > 255.

PR:             300476
Reported by:    Aviv Bakal <avivb at amazon.com>
Tested by:      cperciva

    [2 lines not shown]
DeltaFile
+44-15sys/dev/acpica/acpi_pci_link.c
+44-151 files

FreeBSD/src b898d97 — sys/dev/acpica acpi_pci_link.c

acpi_pci_link: Factor out some duplicated code into a single copy

Tested by:      cperciva

(cherry picked from commit 6c1b6f7cf81447315fc0c7a294ed1467c62832bd)
DeltaFile
+3-4sys/dev/acpica/acpi_pci_link.c
+3-41 files

FreeBSD/src 3049f0b — sys/dev/nvme nvme.h

nvme: Typo ranage -> range

Sponsored by:   Chelsio Communications

(cherry picked from commit bfdce403f4a613bacf2c342a417974a606981b12)
DeltaFile
+1-1sys/dev/nvme/nvme.h
+1-11 files

FreeBSD/src b061a4b — usr.sbin/ctld nvmf.cc

ctld: Use expand_unsigned for parsing unsigned NVMe option values

Sponsored by:   Chelsio Communications

(cherry picked from commit cc33771bf77102291db1e50037a07c1501a24075)
DeltaFile
+3-4usr.sbin/ctld/nvmf.cc
+3-41 files

FreeBSD/src 1def269 — sys/dev/cxgbe/crypto t7_kern_tls.c

cxgbe: Greatly simplify ktls_wr_len for T7

Don't try to fine-tune the WR size when estimating the work request
length when parsing the packet.  Use a much simpler worst-case
estimate that only depends on a few fields in the mbuf metadata.

Sponsored by:   Chelsio Communications

(cherry picked from commit 613e7ce43f814c3fb3e076f8509b969b5c12808f)
DeltaFile
+44-90sys/dev/cxgbe/crypto/t7_kern_tls.c
+44-901 files

FreeBSD/src f77e35a — sys/dev/cxgbe/crypto t7_kern_tls.c

cxgbe: Various assertions for lengths in KTLS work requests

The construction of KTLS work requests is quite fragile, and these
assertions ensure that the constructed work requests match the length
fields encoded in some of the WR structures.

Sponsored by:   Chelsio Communications

(cherry picked from commit 17126d54c40a2e3f3e2a81e31a07c299416ddf4a)
DeltaFile
+16-0sys/dev/cxgbe/crypto/t7_kern_tls.c
+16-01 files

FreeBSD/src 570e5df — sys/dev/cxgbe/crypto t7_kern_tls.c

cxgbe: Don't query mbuf_nsegs for header-only requests

Sponsored by:   Chelsio Communications

(cherry picked from commit 1dd03aa32189136c75c6963a631ee91d2cdb3170)
DeltaFile
+3-2sys/dev/cxgbe/crypto/t7_kern_tls.c
+3-21 files

LLVM/project 8e1359f — lldb/test/API/functionalities/breakpoint/breakpoint_while_running TestBreakpointWhileRunning.py, lldb/test/API/functionalities/breakpoint/consecutive_breakpoints TestConsecutiveBreakpoints.py

[lldb][test] Skip more tests that don't work with WebAssembly (#244248)

These are breaking the new Green Dragon matrix bot that now also tests
WebAssembly. This patch just adds skipIfWasm to all broken tests I could
see in the log to unbreak the bot.
DeltaFile
+2-1lldb/test/API/functionalities/scripted_extensions/TestScriptedExtensionsDiagnostics.py
+3-0lldb/test/API/functionalities/breakpoint/thread_plan_user_breakpoint/TestThreadPlanUserBreakpoint.py
+2-0lldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
+2-0lldb/test/API/functionalities/scripted_frame_provider/wrapped_frame_register_context/TestFrameProviderWrappedFrameRegisterContext.py
+2-0lldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py
+2-0lldb/test/API/functionalities/breakpoint/breakpoint_while_running/TestBreakpointWhileRunning.py
+13-111 files not shown
+24-117 files

OPNSense/core 1df9336 — src/etc/rc.d netflow, src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/forms netflow_capture.xml

netflow: modify netgraph NAT accounting to prevent duplicate flow records (#11235)

Use global ONCE accounting instead of THISONCE across per-interface
Netgraph nodes so routed packets are exported only at the
first eligible observation point. Preserve internal addresses
through egress-only WAN capture and update its help text.

While here, replace deprecated Python SQLite datetime handling.
DeltaFile
+14-1src/opnsense/scripts/netflow/lib/aggregate.py
+4-4src/opnsense/scripts/netflow/lib/aggregates/__init__.py
+2-2src/etc/rc.d/netflow
+1-1src/opnsense/mvc/app/controllers/OPNsense/Diagnostics/forms/netflow_capture.xml
+21-84 files