[PATCH] D156412: [AMDGPU][PEI] Callee saves for amdgpu_cs_chain[_preserve]
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 28 04:10:05 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:310
+ // the usual scratch registers).
+ if (isChainFunction() && VGPR >= AMDGPU::VGPR0 && VGPR < AMDGPU::VGPR8)
+ return;
----------------
arsenm wrote:
> Can you put this special register property as some kind of helper in SIRegisterInfo?
Alternatively add the inverse of CSR_AMDGPU_CS_ChainPreserve and test that?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156412/new/
https://reviews.llvm.org/D156412
More information about the llvm-commits
mailing list