[llvm-commits] [patch] fptr support for PPC64

Dale Johannesen dalej at apple.com
Tue Dec 15 10:43:49 PST 2009


On Dec 15, 2009, at 3:55 AMPST, Ken Werner wrote:

> Hi,
> The attached patch adds support for indirect calls (through function  
> pointer)
> according to the ABI (http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-
> elf64abi-1.9.html#FUNC-CALLS). The patch was made against revision  
> 91275.
> -ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc64-fptr.patch
Type: text/x-patch
Size: 8130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20091215/022f9da0/attachment.bin>
-------------- next part --------------
> _______________________________________________

I can't speak for SVR4 ppc64, but I'm confident these 3 patches won't  
break any other target.

It's preferable to get isPPC64 from PPCSubTarget, as elsewhere  
(inconsistently).  Here that seems to mean an extra parameter.
Why did you add a Chain to PPCISD::NOP?
Do you have write access?



More information about the llvm-commits mailing list