From: Hal Finkel Date: Tue, 6 Jan 2015 07:23:13 +0000 (+0000) Subject: [PowerPC] Remove old README.txt entry regarding struct passing X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=49fe2a5a5c60ba8111682ddbf8a12522538f34cd;p=oota-llvm.git [PowerPC] Remove old README.txt entry regarding struct passing Because of how Clang represents structs as arrays (at least on non-Darwin platforms), and what SROA does, etc. this is no longer a problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225251 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 4708838ba0f..2824105485b 100644 --- a/lib/Target/PowerPC/README.txt +++ b/lib/Target/PowerPC/README.txt @@ -118,14 +118,6 @@ http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00133.html ===-------------------------------------------------------------------------=== -No loads or stores of the constants should be needed: - -struct foo { double X, Y; }; -void xxx(struct foo F); -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