[PATCH] D84824: [HIP] Emit target-id module flag

2020-07-29 Thread Artem Belevich via Phabricator via cfe-commits
tra accepted this revision. tra added inline comments. This revision is now accepted and ready to land. Comment at: clang/lib/CodeGen/CodeGenModule.cpp:603-605 +TargetIDStr == "" +? TargetIDStr +: (Twine(getTriple().str()) + "-" +

[PATCH] D84824: [HIP] Emit target-id module flag

2020-07-28 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl created this revision. yaxunl added a reviewer: tra. yaxunl requested review of this revision. Separate this patch from https://reviews.llvm.org/D60620 since it depends on https://reviews.llvm.org/D80750 https://reviews.llvm.org/D84824 Files: clang/lib/CodeGen/CodeGenModule.cpp