summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit9de0176ef820c99197bbd7915d201f9764c8bcbb (patch)
tree42a75673acfce9181decea19b3ef97011f143aeb /llvm/lib
parent783dd6ece4d1cacbbe9c5790c5a0b6cf9a4b7c9c (diff)
downloadbcm5719-llvm-9de0176ef820c99197bbd7915d201f9764c8bcbb.tar.gz
bcm5719-llvm-9de0176ef820c99197bbd7915d201f9764c8bcbb.zip
tail calls on x86 are implemented.
llvm-svn: 119920
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/README.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index d1e4bfb075e..629b55d0047 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/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.
OpenPOWER on IntegriCloud