[PATCH] D76520: [CUDA][HIP] Add -Xarch_device and -Xarch_host options
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 07:36:29 PDT 2020
yaxunl added a comment.
In D76520#1934341 <https://reviews.llvm.org/D76520#1934341>, @tra wrote:
> Does it handle options with values? E.g. if I want to pass `-mframe-pointer=none` ? I vaguely recall the current -Xarch_* implementation had some limitations.
> It may be worth adding a test for that.
-Xarch_ works with driver options having value, e.g. `-fcf-protection=branch`. I added a test for that.
`-mframe-pointer=none` is a cc1 option. That's why it cannot be passed by -Xarch_. If it is made a driver option it can be passed.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76520/new/
https://reviews.llvm.org/D76520
More information about the cfe-commits
mailing list