[llvm] r225251 - [PowerPC] Remove old README.txt entry regarding struct passing

Hal Finkel hfinkel at anl.gov
Mon Jan 5 23:23:13 PST 2015


Author: hfinkel
Date: Tue Jan  6 01:23:13 2015
New Revision: 225251

URL: http://llvm.org/viewvc/llvm-project?rev=225251&view=rev
Log:
[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.

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=225251&r1=225250&r2=225251&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/README.txt (original)
+++ llvm/trunk/lib/Target/PowerPC/README.txt Tue Jan  6 01:23:13 2015
@@ -118,14 +118,6 @@ http://gcc.gnu.org/ml/gcc-patches/2006-0
 
 ===-------------------------------------------------------------------------===
 
-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





More information about the llvm-commits mailing list