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

Dale Johannesen dalej at apple.com
Wed Jul 1 16:36:03 PDT 2009


Author: johannes
Date: Wed Jul  1 18:36:02 2009
New Revision: 74667

URL: http://llvm.org/viewvc/llvm-project?rev=74667&view=rev
Log:
Add darwin stub removal to wishlist.


Modified:
    llvm/trunk/lib/Target/PowerPC/README.txt

Modified: llvm/trunk/lib/Target/PowerPC/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/README.txt?rev=74667&r1=74666&r2=74667&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/README.txt (original)
+++ llvm/trunk/lib/Target/PowerPC/README.txt Wed Jul  1 18:36:02 2009
@@ -180,6 +180,15 @@
 
 ===-------------------------------------------------------------------------===
 
+Darwin Stub removal:
+
+We still generate calls to foo$stub, and stubs, on Darwin.  This is not
+necessary on Leopard (10.5) or later, as stubs are generated by ld when
+necessary.  The choice should depend on the value of -mmacosx-version-min.
+x86-32 does this right, see its logic.
+
+===-------------------------------------------------------------------------===
+
 Darwin Stub LICM optimization:
 
 Loops like this:
@@ -196,6 +205,8 @@
 stub).  This is Darwin specific and would have to be done in the code generator.
 Probably not a win on x86.
 
+Note that removing stubs altogether, as in the previous item, is better yet.
+
 ===-------------------------------------------------------------------------===
 
 Simple IPO for argument passing, change:





More information about the llvm-commits mailing list