[llvm] [NFC ]Add a helper function isTailCall for getting libcall in SelectionDAG (PR #155256)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 21:29:04 PDT 2025


================
@@ -9012,6 +9012,14 @@ static void checkAddrSpaceIsValidForLibcall(const TargetLowering *TLI,
   }
 }
 
+static bool isTailCall(const CallInst *CI, const SelectionDAG *SelDAG,
----------------
arsenm wrote:

Name isn't quite right. This is more like an extended version of isInTailCallPosition.


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


More information about the llvm-commits mailing list