[llvm-commits] [llvm] r119920 - /llvm/trunk/lib/Target/README.txt

Chris Lattner sabre at nondot.org
Sat Nov 20 22:10:27 PST 2010


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
-
-//===---------------------------------------------------------------------===//
-
 The arg promotion pass should make use of nocapture to make its alias analysis
 stuff much more precise.
 





More information about the llvm-commits mailing list