[PATCH] D16664: [CUDA] Generate CUDA's printf alloca in its function's entry block.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 28 16:02:15 PST 2016


jlebar marked an inline comment as done.

================
Comment at: lib/CodeGen/CGCUDABuiltin.cpp:87
@@ +86,3 @@
+  // Construct and fill the args buffer that we'll pass to vprintf.
+  llvm::Value* BufferPtr;
+  if (Args.size() <= 1) {
----------------
echristo wrote:
> * on the wrong side ;)
Argh, I really need to set up a linter.  I'm still doing readability reviews, and I cannot brain two styles.  Sorry to keep wasting your time with silly stuff like this.


http://reviews.llvm.org/D16664





More information about the cfe-commits mailing list