[PATCH] D101630: [HIP] Fix device-only compilation
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 4 10:30:54 PDT 2021
tra added a comment.
In D101630#2799425 <https://reviews.llvm.org/D101630#2799425>, @yaxunl wrote:
> But how do we control emitting LLVM IR with or without bundle? `-emit-llvm -emit-gpu-object` or `-emit-llvm -emit-gpu-bundle`? `-emit-*` is usually for specifying a specific file type.
Hmm. I forgot that HIP can bundle things other than objects. `-emit-llvm -emit-gpu-bundle` looks reasonable, but `-emit-llvm -emit-gpu-object` is indeed odd.
OK. Making it some sort of do/do-not bundle flag makes sense. How about just `--[no-]gpu-bundle-output`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101630/new/
https://reviews.llvm.org/D101630
More information about the cfe-commits
mailing list