rjmccall added a comment.

In https://reviews.llvm.org/D46489#1099979, @yaxunl wrote:

> In https://reviews.llvm.org/D46489#1088940, @rjmccall wrote:
>
> > I think the right solution here is to make a CompileJobAction with type 
> > TY_LLVM_BC in the first place.  You should get the advice of a driver 
> > expert, though.
>
>
> There is already JobAction for TY_LLVM_BC. I just want to skip the backend 
> and assemble phase when offloading HIP. I will try achieving that through HIP 
> action builder.


Right, that's what I mean.  This is something we already support for LTO and 
other purposes.  You can just check what happens in the driver if you pass `-c 
-emit-llvm`.


https://reviews.llvm.org/D46489



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to