[PATCH] D23042: [CUDA] Do not allow using NVPTX target for host compilation.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 14:48:57 PDT 2016

tra added a comment.

In https://reviews.llvm.org/D23042#503869, @jlebar wrote:

> > Restore assertions for presence of -march flag.
> We don't need an explicit assertion in TranslateArgs?

Nope. The action we create for fatbin uses CudaToolChain, but has nullptr BoundArch and there's no way to tell who's the caller of TranslateArgs().


More information about the cfe-commits mailing list