[clang] [Driver][LTO] Copy fix empty stats filename to AMDGPU, HIPAMD, MinGW (PR #74178)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 1 20:08:32 PST 2023


brad0 wrote:

> Why couldn't you have put this logic in `addLTOOptions`? Seems like it's copy-pasted verbatim at every site now.
> 
> AMD should handle very similarly to Linux here. They both compile down to LLVM-IR and get sent to `ld.lld`.

It's not my area, but I was thinking that would make more sense. I am just trying to ensure consistency with the various targets.

https://github.com/llvm/llvm-project/pull/74178


More information about the cfe-commits mailing list