[llvm] [AMDGPU][true16] extract 16bit for scratch_load_ubyte_st when spilling (PR #203589)
Guo Chen via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 12 13:03:45 PDT 2026
================
@@ -1939,7 +1939,8 @@ void SIRegisterInfo::buildSpillLoadStore(
}
Register FinalValueReg = ValueReg;
- if (LoadStoreOp == AMDGPU::SCRATCH_LOAD_USHORT_SADDR) {
+ if (LoadStoreOp == AMDGPU::SCRATCH_LOAD_USHORT_SADDR ||
----------------
broxigarchen wrote:
The added test spillv16Kernel.ll is actually a mir test
https://github.com/llvm/llvm-project/pull/203589
More information about the llvm-commits
mailing list