aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-21 06:10:27 +0000
committerChris Lattner <sabre@nondot.org>2010-11-21 06:10:27 +0000
commit79a980ad85286614bbb4c68c84ea9e3c6ed36d0d (patch)
tree884b4d599c81a1693366860a15064d1bd60a0ff7
parent0eb49c57f0163d590567bb6ac13e4bd307bfd1d7 (diff)
tail calls on x86 are implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119920 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/README.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index d1e4bfb075..629b55d004 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -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.