[PATCH] D156928: [Clang][AMDGPU] Fix handling of -mcode-object-version=none arg
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 2 12:16:13 PDT 2023
jhuber6 added a comment.
In D156928#4555121 <https://reviews.llvm.org/D156928#4555121>, @yaxunl wrote:
> `-mcode-object-version=none` was intentionally designed to work with `clang -cc1` only, since it does not work with clang driver if users link with device library. Device library can still use it by using it with `-Xclang`.
If the intended use is the deviceRTL then that should be sufficient.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156928/new/
https://reviews.llvm.org/D156928
More information about the cfe-commits
mailing list