This revision was automatically updated to reflect the committed changes.
Closed by commit rC343611: [HIP] Support early finalization of device code for
-fno-gpu-rdc (authored by yaxunl, committed by ).
Repository:
rC Clang
https://reviews.llvm.org/D52377
Files:
include/clang/Basic/LangOpti
tra accepted this revision.
tra added a comment.
This revision is now accepted and ready to land.
LGTM.
https://reviews.llvm.org/D52377
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
yaxunl updated this revision to Diff 167952.
yaxunl edited the summary of this revision.
yaxunl added a comment.
Added -f{no}-cuda-rdc as alias to -f{no}-gpu-rdc.
https://reviews.llvm.org/D52377
Files:
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
include/clang/Drive
tra added inline comments.
Comment at: include/clang/Driver/Options.td:587-589
+def fgpu_rdc : Flag<["-"], "fgpu-rdc">, Flags<[CC1Option]>,
HelpText<"Generate relocatable device code, also known as separate
compilation mode.">;
+def fno_gpu_rdc : Flag<["-"], "fno-gpu-rdc">;
-
yaxunl updated this revision to Diff 167774.
yaxunl retitled this revision from "[HIP] Support early finalization of device
code" to "[HIP] Support early finalization of device code for -fno-gpu-rdc".
yaxunl edited the summary of this revision.
yaxunl added a comment.
Uses -fno-gpu-rdc for early