[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:09:31 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;
----------------
Can you put this special register property as some kind of helper in SIRegisterInfo?


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