I’m working on evaluating the impact of the LLVM inlining passes on the performance of the SPEC2006 benchmarks. I’m not sure weather link time optimizations is enabled in LLVM using the dragonegg front-end.
My questions are:
- How many inlining passes does LLVM actually perform at -O3 with and without LTO?
- How to enable LTO and IPO using Dragonegg?