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

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 8 18:30:19 PDT 2022


jhuber6 accepted this revision.
jhuber6 added a comment.
This revision is now accepted and ready to land.

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.


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