[llvm] [AMDGPU] Don't DEALLOC_VGPRS from callable functions (PR #72245)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 06:19:31 PST 2023


================
@@ -1924,6 +1924,10 @@ bool isChainCC(CallingConv::ID CC) {
   }
 }
 
+bool isCallableCC(CallingConv::ID CC) {
+  return !isEntryFunctionCC(CC) && !isChainCC(CC);
----------------
rovka wrote:

You're right, thanks!

https://github.com/llvm/llvm-project/pull/72245


More information about the llvm-commits mailing list