[all-commits] [llvm/llvm-project] 05ecef: [AMDGPU][GlobalISel] Pre-commit tests for readanyl...
Anshil Gandhi via All-commits
all-commits at lists.llvm.org
Thu Aug 6 09:39:24 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 05ecef4367dad077961380d643c83db83794f023
https://github.com/llvm/llvm-project/commit/05ecef4367dad077961380d643c83db83794f023
Author: Anshil Gandhi <95053726+gandhi56 at users.noreply.github.com>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
A llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-merge-readanylane.mir
Log Message:
-----------
[AMDGPU][GlobalISel] Pre-commit tests for readanylane merge regbank combine (NFC) (#214355)
Add regbank-combiner tests covering a copy to vgpr whose source is a
merge or
build_vector of `G_AMDGPU_READANYLANE` results mixed with uniform
values.
These currently keep the round trip through sgprs. The tests also cover
the two
cases where the transform must not fire:
- the sgpr merge has another user, so it has to be kept;
- all merge sources are uniform, so moving the copy to the sources would
not
remove any readanylane.
Pre-commit only, no functional change. The combine that removes the
round trip
is in the stacked PR.
Made with [Cursor](https://cursor.com)
---------
Co-authored-by: Cursor <cursoragent at cursor.com>
Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list