Enable sibling call optimization of libcalls which are expanded during
[oota-llvm.git] / lib / Target / X86 / README.txt
index e67fab109047ed9cdce789af6c0fb50bae122c35..a305ae6ec5505eea1d01814a6ae8b49f7c8734d6 100644 (file)
@@ -895,24 +895,6 @@ compare:
 
 //===---------------------------------------------------------------------===//
 
-Linux is missing some basic tail call support:
-
-#include <math.h>
-double foo(double a) {    return sin(a); }
-
-This compiles into this on x86-64 Linux (but not darwin):
-foo:
-       subq    $8, %rsp
-       call    sin
-       addq    $8, %rsp
-       ret
-vs:
-
-foo:
-        jmp sin
-
-//===---------------------------------------------------------------------===//
-
 Tail call optimization improvements: Tail call optimization currently
 pushes all arguments on the top of the stack (their normal place for
 non-tail call optimized calls) that source from the callers arguments