[PATCH] D40275: [CUDA] Report "unsupported VLA" errors only on device side.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 13:19:54 PST 2017
tra added a comment.
@rjmccall : are you OK with this approach? If VLA is not supported by the target, CUDA is handled as a special case so it can emit deferred diag, OpenMP reports an error only if shouldDiagnoseTargetSupportFromOpenMP() allows it, and everything else does so unconditionally.
https://reviews.llvm.org/D40275
More information about the cfe-commits
mailing list