rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land.
lgtm ================ Comment at: lib/CodeGen/CGCUDABuiltin.cpp:90 @@ +89,3 @@ + CGM.ErrorUnsupported(E, "non-scalar arg to printf"); + return RValue::getIgnored(); + } ---------------- Doesn't printf return int? Maybe return RValue::get(llvm::ConstantInt::get(IntTy, 0))? http://reviews.llvm.org/D17103 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits