[PATCH] D76520: [CUDA][HIP] Add -Xarch_device and -Xarch_host options

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 10:55:53 PDT 2020


tra added a comment.

In D76520#1937294 <https://reviews.llvm.org/D76520#1937294>, @yaxunl wrote:

> -Xarch_ does not work for passing -cc1 options in the beginning. This patch does not change that.
>
> This requires some further changes about how the options after -Xarch_ are handled. I would suggest to do that in another patch.


I'm OK with a separate patch.
Meanwhile we should document that it only works for driver args. Perhaps add a TODO comment in the TranslateXarchArgs describing its limitations.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76520/new/

https://reviews.llvm.org/D76520





More information about the cfe-commits mailing list