[PATCH] D17103: [CUDA] Don't crash when trying to printf a non-scalar object.
Hal Finkel via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 10 15:27:15 PST 2016
hfinkel added a subscriber: hfinkel.
hfinkel added a comment.
In http://reviews.llvm.org/D17103#349182, @jlebar wrote:
> Yeah, I have no idea what's the right thing to do here. We can always pass a null pointer, that's easy. David, Reid, do you know what is the correct behavior?
I think we need to diagnose / reject this during semantic analysis (and then put a reasonable assert in the backend).
http://reviews.llvm.org/D17103
More information about the cfe-commits
mailing list