PATCH: implement printf call lowering in the NVPTX backend

Eli Bendersky eliben at google.com
Wed Mar 26 09:51:12 PDT 2014


Hello,

This patch implements lowering of the printf call to the vprintf syscall in
the NVPTX backend. It is implemented as a target-specific IR pass that runs
before codegen. The pass builds the required data structure from the
varargs to pass to the vprintf calls.

Tests (IR to IR, and IR to PTX) included.

PTAL,
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140326/12849358/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvptx-vprintf.2.patch
Type: text/x-patch
Size: 13697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140326/12849358/attachment.bin>


More information about the llvm-commits mailing list