yxsamliu wrote:

> > > Why does this only cause warnings when it makes dependency files?
> > 
> > 
> > Because `--offloading-compress` is parsed by offload bundler and offload 
> > wrapper actions when creating job actions. There is no action to parse them 
> > in the compilation that only generates dependency files.
> > > If we can check whether or not it's HIP, then why isn't any of the HIP 
> > > argument parsing happening?
> > 
> > 
> > Sorry I did not quite understand this question. Can you elaborate? Thanks.
> 
> I just feel like this should probably go in the HIP toolchain when it 
> translates arguments or something instead of just `clang`.

In the compilation that generates the dependency files for HIP, 
`--offload-host-only` is used. The argument translation is done by the host 
toolchain. It may not be convenient to update all the host toolchains about HIP.

https://github.com/llvm/llvm-project/pull/133456
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to