[PATCH] D40275: [CUDA] Report "unsupported VLA" errors only on device side.

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 15:54:20 PST 2017


tra added a comment.

In https://reviews.llvm.org/D40275#933253, @tra wrote:

> @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.


@rjmccall : ping.


https://reviews.llvm.org/D40275





More information about the cfe-commits mailing list