diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-07-16 00:01:22 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-07-16 00:01:22 +0000 |
commit | 480872b4cebae33252f301fe3b4dfa0473603dcb (patch) | |
tree | 71f094d4299c221794df6461c793d9342757133b /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 22ca3f886006e4500c43f8f0cf5a5c955aa310cc (diff) | |
download | bcm5719-llvm-480872b4cebae33252f301fe3b4dfa0473603dcb.tar.gz bcm5719-llvm-480872b4cebae33252f301fe3b4dfa0473603dcb.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |