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

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 28 16:06:23 PST 2016


echristo added inline comments.

================
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) {
----------------
jlebar wrote:
> 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.
You could just use clang-format on everything :)


Repository:
  rL LLVM

http://reviews.llvm.org/D16664





More information about the cfe-commits mailing list