jlebar added inline comments.

================
Comment at: test/CodeGenCUDA/printf.cu:12
@@ +11,3 @@
+// Check a simple call to printf end-to-end.
+__device__ int CheckSimple() {
+  // CHECK: [[FMT:%[0-9]+]] = load{{.*}}%fmt
----------------
tra wrote:
> You may want to add a test case for printf("constant string w/o format args").
> It would check no-arguments case and would also verify that we don't get 
> optimized into puts().
Good idea, done.


http://reviews.llvm.org/D16372



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to