[llvm-commits] [llvm] r119920 - /llvm/trunk/lib/Target/README.txt
Benjamin Kramer
benny.kra at googlemail.com
Sun Nov 21 02:02:54 PST 2010
On 21.11.2010, at 07:10, Chris Lattner wrote:
> Author: lattner
> Date: Sun Nov 21 00:10:27 2010
> New Revision: 119920
>
> URL: http://llvm.org/viewvc/llvm-project?rev=119920&view=rev
> Log:
> tail calls on x86 are implemented.
>
> Modified:
> llvm/trunk/lib/Target/README.txt
>
> Modified: llvm/trunk/lib/Target/README.txt
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/README.txt?rev=119920&r1=119919&r2=119920&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/README.txt (original)
> +++ llvm/trunk/lib/Target/README.txt Sun Nov 21 00:10:27 2010
> @@ -1535,22 +1535,6 @@
>
> //===---------------------------------------------------------------------===//
>
> -#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
> -
clang and llvm-gcc -O3 still generate a call instruction when compiling that C code.
More information about the llvm-commits
mailing list