Re: [PATCH] D17780: [CUDA] Do not generate unnecessary runtime init code.

2016-03-02 Thread Artem Belevich via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL262499: [CUDA] Do not generate unnecessary runtime init code. (authored by tra). Changed prior to commit: http://reviews.llvm.org/D17780?vs=49539&id=49646#toc Repository: rL LLVM http://reviews.llvm

[PATCH] D17780: [CUDA] Do not generate unnecessary runtime init code.

2016-03-01 Thread Artem Belevich via cfe-commits
tra created this revision. tra added reviewers: jlebar, jingyue. tra added a subscriber: cfe-commits. Do not generate runtime init code if we don't have anything to init. http://reviews.llvm.org/D17780 Files: lib/CodeGen/CGCUDANV.cpp test/CodeGenCUDA/device-stub.cu Index: test/CodeGenCUDA/d