[PATCH] D131455: [Driver] Add -Xclang= as an alias for -Xclang

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 19:01:14 PDT 2022


MaskRay added a comment.

In D131455#3708621 <https://reviews.llvm.org/D131455#3708621>, @jhuber6 wrote:

> LG
>
> `-Xopenmp-target=` is somewhat different. The first joined argument is used to select a toolchain and the second, separate argument is the argument to pass. So something like `-Xopenmp-target=nvptx64 -march=sm_70` would pass the architecture argument to the Nvidia toolchain only. The use of `=` can be a little confusing in this case.

Thanks. Perhaps let me just drop `-Xopenmp-target=` from the description.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131455



More information about the cfe-commits mailing list