I wanted to use LTO with the rv32 target and stumbled upon some open
patches and wanted to ask what the status is on LTO for RISC-V?
[RISCV] enable LTO support, pass some options to linker.
[WIP] TargetMachine Hook for Module Metadata
pass -mabi to LTO linker only in RISC-V targets, enable RISC-V LTO
[PoC][RISCV] enable LTO/ThinLTO on RISCV
If this is still WIP I would be happy to contribute.