[llvm-commits] [PATCH] SVR4 ABI support for the PowerPC backend

Dale Johannesen dalej at apple.com
Tue Jun 30 18:10:39 PDT 2009


I'll look at this, and do some testing on Darwin.  It will take a  
little time.  Thanks for doing this.

On Jun 27, 2009, at 8:15 AMPDT, Tilmann Scheller wrote:

> Hello,
>
> attached is a series of patches which implement the SVR4 ABI for
> PowerPC. Patches were made against revision 74382 and need to be
> applied in order. A patch which adds SVR4 support to llvm-gcc will
> follow soon.
>
> The current state of LLVM on 32-bit PowerPC Linux:
> compat.exp passes all tests (those are the ABI tests from the GCC  
> test suite)

You should also try struct-layout-1.exp .  Also, make sure to run both  
sets of tests in the mode where they compare against the installed  
compiler; see ALT_CC_UNDER_TEST in the gcc documentation.
Without that you're checking whether llvm-gcc is consistent with  
itself, which is a good thing but not sufficient.
You may find t006 in the C++ part fails due to PR 2203; I don't get  
any other failures on Darwin.

> C-only nightly tester results: 1638 TEST-PASS / 96 TEST-FAIL
> llvm-gcc bootstraps at -O0 with a stage 2/3 comparison failure of  
> varasm.o
>
> These patches were not tested on Darwin PPC, so it would be really
> great if someone with a Darwin PPC nightly tester (Evan? :) ) could
> make a run with the patches applied. Just to make sure that I did not
> introduce any major regressions :)
>
> Feedback welcome!
>
> Greetings,
>
> Tilmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Small-cleanups-in-the-PowerPC-backend.patch
Type: text/x-patch
Size: 12107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090630/aabad2ec/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-NumFixedArgs-attribute-to-CallSDNode-which-indic.patch
Type: text/x-patch
Size: 19567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090630/aabad2ec/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implement-the-SVR4-ABI-for-PowerPC.patch
Type: text/x-patch
Size: 66356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090630/aabad2ec/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Refactor-ABI-code-in-the-PowerPC-backend.patch
Type: text/x-patch
Size: 81794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090630/aabad2ec/attachment-0003.bin>
-------------- next part --------------
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list