[llvm] [AMDGPU] Remove duplicated/confusing helpers. NFCI (PR #142598)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 07:46:20 PDT 2025


================
@@ -1343,6 +1340,10 @@ inline bool isKernel(CallingConv::ID CC) {
   }
 }
 
+/// Return true if we might ever do TCO for calls with this calling convention.
+bool mayTailCallThisCC(CallingConv::ID CC);
----------------
shiltian wrote:

They look small enough to be a header only implementation. They can be a `constexpr` as well.

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


More information about the llvm-commits mailing list