[LLVMdev] Linux/ppc backend

Nicolas Geoffray nicolas.geoffray at lip6.fr
Mon Feb 26 05:39:49 PST 2007


Chris Lattner wrote:
>
> There is one significant bug that fell out from this, which caused some 
> macho function calls to be compiled with ELF ABI semantics.  I checked in 
> this patch to fix it:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070219/045027.html
>
> I think you have to split PPCISD::CALL into PPCISD::CALL_ELF and 
> PPCISD::CALL_Macho, like you do for BCTRL.  There were also a couple 
> missing patterns, together these caused some nightly tester failures on 
> darwin.
>
>   

Yes, you are right. Here's a patch to fix the missing patterns.
There is now a CALL_ELF and a CALL_Macho.

If everything is OK I'll commit it when I'll have write access.

Thanks,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darwin-linux-ppc-CALL.patch
Type: text/x-patch
Size: 6801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070226/104a56fc/attachment.bin>


More information about the llvm-dev mailing list