[llvm] [AMDGPU][True16][CodeGen] 16bit spill support in true16 mode (PR #128060)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 07:59:23 PST 2025
================
@@ -2387,8 +2390,14 @@ bool SIRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI,
assert(TII->getNamedOperand(*MI, AMDGPU::OpName::soffset)->getReg() ==
MFI->getStackPtrOffsetReg());
- unsigned Opc = ST.enableFlatScratch() ? AMDGPU::SCRATCH_STORE_DWORD_SADDR
- : AMDGPU::BUFFER_STORE_DWORD_OFFSET;
+ unsigned Opc;
+ if (MI->getOpcode() == AMDGPU::SI_SPILL_V16_SAVE) {
+ Opc = AMDGPU::SCRATCH_STORE_SHORT_SADDR_t16;
----------------
arsenm wrote:
So the mubuf API does not work with true16?
https://github.com/llvm/llvm-project/pull/128060
More information about the llvm-commits
mailing list