From 79a980ad85286614bbb4c68c84ea9e3c6ed36d0d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 21 Nov 2010 06:10:27 +0000 Subject: [PATCH] tail calls on x86 are implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119920 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/README.txt | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index d1e4bfb075e..629b55d0047 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -1535,22 +1535,6 @@ the float directly. //===---------------------------------------------------------------------===// -#include -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. -- 2.34.1