From 7074feab96ef137eb6c6afb4cea8765d430f601a Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 1 Jul 2009 23:36:02 +0000 Subject: Add darwin stub removal to wishlist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74667 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/README.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/Target/PowerPC/README.txt') diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 688fb30908..1341c66f26 100644 --- a/lib/Target/PowerPC/README.txt +++ b/lib/Target/PowerPC/README.txt @@ -180,6 +180,15 @@ void bar() { struct foo R = { 1.0, 2.0 }; xxx(R); } ===-------------------------------------------------------------------------=== +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 @@ which only computes the address of bar once (instead of each time through the 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: -- cgit v1.2.3