llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.25k stars 12.07k forks source link

No ThinLTO test case for RISCV, and very limited test for AArch64 #114429

Open hiraditya opened 3 weeks ago

hiraditya commented 3 weeks ago
ls llvm-project/llvm/test/ThinLTO/
AArch64  X86

ls llvm-project/llvm/test/ThinLTO/X86 | wc
180

ls llvm-project/llvm/test/ThinLTO/AArch64 | wc
3

It is difficult to test/debug ThinLTO related changes/bugs due to this.

nikic commented 2 weeks ago

Is there a specific reason why you think target-specific (as in, for each target, rather than just "some" target) would be useful for ThinLTO? I would not expect ThinLTO to have any substantial target-specific behavior.

hiraditya commented 1 week ago

For example, we only found out about #69780 when testing ThinLTO for RISCV.