diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-21 06:10:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-21 06:10:27 +0000 |
commit | 79a980ad85286614bbb4c68c84ea9e3c6ed36d0d (patch) | |
tree | 884b4d599c81a1693366860a15064d1bd60a0ff7 | |
parent | 0eb49c57f0163d590567bb6ac13e4bd307bfd1d7 (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.txt | 16 |
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. |