[GlobalISel] Move extracted constants into matcher bindings (#235510)
Move from successful local optional results in m_ICst and m_ICstOrSplat
instead of copying their values immediately before destruction. Wide
APInts can transfer their storage to the output binding.
Assisted by: GPT-6.1-Sol
[TTI] Remove unused -costmodel-reduxcost (#235517)
Added in cae8735a5465 (2013, "Costmodel: Add support for horizontal
vector reductions")
and removed by https://reviews.llvm.org/D105484
AMDGPU: Add implicit buffer pointer live-in for compute shaders (#235508)
When setting up the scratch resource for Mesa compute shaders, the
implicit buffer pointer was copied with S_MOV_B64 without being added
as a live-in, so the machine verifier reported a use of an undefined
register. Only the graphics path, which loads through the pointer,
added it. Add the live-in on both paths.
This was exposed by the new test in #235258.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
zarcsummary: handle reset output pipes
A reader closing the output early can raise ConnectionResetError rather
than BrokenPipeError. Handle both with the existing successful exit path
and preserve the handling of other exceptions.
Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <35407790+ooonea at users.noreply.github.com>
Closes #19547
Linux: fix zfs_sha256_available() on ARM CPUs that also have SHA-512
ID_AA64ISAR0_EL1.SHA2 is 0b0001 when SHA-256 is implemented and 0b0010
when SHA-256 and SHA-512 both are. zfs_sha256_available() tested bit 0
of the field, so on every CPU that also implements SHA-512, which
includes Apple silicon and recent Cortex and Neoverse cores, it reported
SHA-256 as absent. The sha256 armv8-ce implementation was then never
listed and the slower NEON variant was the fastest available, while
zfs_sha512_impl correctly offered armv8-ce on the same CPU.
Treat any nonzero field value as SHA-256 present, matching the kernel's
HWCAP_SHA2 logic. FreeBSD and userspace use HWCAP and were already
correct.
Reviewed-by: Tino Reichardt <milky-zfs at mcmilk.de>
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Walter McKelvie <walt at mckelvie.org>
Closes #19536
[LLDB] Support transfer in local machine
A trasnfer can also happen in local machine if the src and dest are not
the same. Support local machine transfer for this case. In Linux, we
never hits this as they don't support coredump and will be bailed out
eariler.
ZTS: preserve failures across repeated test executions
The reporter keeps only the last result for each test pathname. A pass
from another runfile group or a later iteration can overwrite an
earlier failure and make zfs-tests.sh report success.
Keep each result record and apply the existing pathname-based known
and intermittent failure policies. Cover duplicate groups and repeated
iterations with logs emitted by the test runner.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Tigerblue77 <37409593+tigerblue77 at users.noreply.github.com>
Signed-off-by: Kamil Monicz <kamil at monicz.dev>
Closes #19438
ZTS: age MRU buffers before checking MFU promotion
A repeated read only promotes MRU buffers after ARC_MINTIME has elapsed.
Wait one second before the second read so the test establishes that
precondition without changing ARC behavior or its assertions.
Update the strategy to describe the operations the test performs.
Assisted-by: OpenAI Codex
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <35407790+ooonea at users.noreply.github.com>
Closes #19544
[SelectionDAG][NFC] Move expandMODF to TargetLowering (#235010)
* Part of #230886
* Split from #233204
Move SelectionDAGLegalize::expandModf into TargetLowering::expandMODF so
target backends can share the expansion logic.
[LV] Add tests for diff checks of accesses not covering the step (NFC). (#235428)
Add a test for alias masks with a load group placed before a store,
which reorders accesses across lanes, and tests for different access
sizes in a reverse loop, with a padded type and in a nested loop.
x11/libinput: Fix the Python dependencies of the libinput tools
The Python tools in libexec/libinput (libinput-measure-*, -analyze-*,
-replay, ...) import libevdev, i.e. python-libevdev
(devel/py-libevdev), never evdev (python-evdev), yet RUN_DEPENDS lists
devel/py-evdev. Depend on the package they actually use. This also
stops pulling devel/py-evdev into every desktop installation.
libinput-analyze-recording, -analyze-per-slot-delta,
-analyze-touch-down-state, -analyze-buttons and libinput-replay import
yaml, which is not declared. Without PyYAML the analyze tools fail
with ModuleNotFoundError and libinput-replay refuses to run ("One or
more python modules are missing"). Add py-pyyaml to RUN_DEPENDS.
While here, fix portlint warnings.
PR: 299873
AMDGPU: Add implicit buffer pointer live-in for compute shaders
When setting up the scratch resource for Mesa compute shaders, the
implicit buffer pointer was copied with S_MOV_B64 without being added
as a live-in, so the machine verifier reported a use of an undefined
register. Only the graphics path, which loads through the pointer,
added it. Add the live-in on both paths.
This was exposed by the new test in #235258.
Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>