[LLVMdev] [PATCH][RFC] NVPTX Backend

Joshua Cranmer pidgeot18 at gmail.com
Tue Apr 24 21:54:16 PDT 2012


On 4/24/2012 1:50 PM, Justin Holewinski wrote:
>
> Hi LLVMers,
>
> We at NVIDIA would like to contribute back to the LLVM open-source 
> community by up-streaming the NVPTX back-end for LLVM.  This back-end 
> is based on the sources used by NVIDIA, and currently provides 
> significantly more functionality than the current PTX back-end.  Some 
> functionality is currently disabled due to dependencies on LLVM core 
> changes that we are also in the process of up-streaming, but the 
> back-end is very usable in its current state and would benefit all 
> current and future users of the LLVM PTX back-end.
>

I've ended up having to make some local modifications to the PTX backend 
that I was preparing to post patches for, although, if it's going away, 
I guess I shouldn't bother. :-)

Leafing through the patch briefly, though, I don't think I see any 
support for the LLVM rem instruction, nor do I see any support for the 
llvm exp2/log2 intrinsics... am I missing something, or are these 
operations (still) unsupported in the NVPTX backend? On the plus side, 
it's nice to see that at least two or three of the small fixes are 
already fixed.

-- 
Joshua Cranmer
News submodule owner
DXR coauthor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120424/d31f0d9e/attachment.html>


More information about the llvm-dev mailing list