[PATCH] D57829: [HIP] Disable emitting llvm.linker.options in device compilation
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 6 11:16:48 PST 2019
yaxunl added a comment.
In D57829#1387412 <https://reviews.llvm.org/D57829#1387412>, @tra wrote:
> Could you elaborate on why you want to disable this metadata? I think the original idea of llvm.linker.options was that it should be ignored if the back-end does not support it.
If backend does not support it, it goes to TargetLoweringObjectFileELF::emitModuleMetadata and causes codegen to fail.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57829/new/
https://reviews.llvm.org/D57829
More information about the cfe-commits
mailing list