From 480872b4cebae33252f301fe3b4dfa0473603dcb Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Wed, 16 Jul 2014 00:01:22 +0000 Subject: Remove TLI from isInTailCallPosition's arguments. NFC. There is no need to pass on TLI separately to the function. As Eric pointed out the Target Machine already provides everything we need. llvm-svn: 213108 --- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 885137302d3..f071efa7b55 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -1023,7 +1023,7 @@ bool FastISel::LowerCall(const CallInst *CI) { // Check if target-independent constraints permit a tail call here. // Target-dependent constraints are checked within FastLowerCall. bool IsTailCall = CI->isTailCall(); - if (IsTailCall && !isInTailCallPosition(CS, TM, TLI)) + if (IsTailCall && !isInTailCallPosition(CS, TM)) IsTailCall = false; CallLoweringInfo CLI; -- cgit v1.2.3