News for hackers. Stuff that matters.
Re:What's new for RISC-V in LLVM 15 by PoignardAzur on Wednesday September 21, 2022 @06:09AM (#32922915)
I mean... what you're describing is basically what lld with ThinLTO does?
Re:What's new for RISC-V in LLVM 15 by mort96 on Wednesday September 21, 2022 @06:13AM (#32922956)
My understanding is that ThinLTO (and other existing forms of LTO) does put IR in the object file and a compiler back-end in the linker, yes. But as far as I understand, the linker relaxations mentioned in the linked article are about when you emit traditional object files with machine code + relocation tables, and that's what I described as messy.