tail calls on x86 are implemented.
authorChris Lattner <sabre@nondot.org>
Sun, 21 Nov 2010 06:10:27 +0000 (06:10 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 21 Nov 2010 06:10:27 +0000 (06:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119920 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index d1e4bfb075e6909651232a8bcf53b077d85fcb2f..629b55d0047c158af29a5bb53a25f3ace6b72f45 100644 (file)
@@ -1535,22 +1535,6 @@ the float directly.
 
 //===---------------------------------------------------------------------===//
 
-#include <math.h>
-double foo(double a) {    return sin(a); }
-
-This compiles into this on x86-64 Linux:
-foo:
-       subq    $8, %rsp
-       call    sin
-       addq    $8, %rsp
-       ret
-vs:
-
-foo:
-        jmp sin
-
-//===---------------------------------------------------------------------===//
-
 The arg promotion pass should make use of nocapture to make its alias analysis
 stuff much more precise.