mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 15:18:53 +08:00
Summary: Currently AMDGPU only barely supports cross-TU ELF linking. Full linking is usually done via LTO. This requires passing the architecture to the link job. This is done automatically via `-flto` since D144505. Add this to the link options.