2 ms·
This is almost useless for dynamic runtimes, as they need to inline their own calls in their own calling convention, not calls in the C calling convention in ll
by rurban 4y ago
This is almost useless for dynamic runtimes, as they need to inline their own calls in their own calling convention, not calls in the C calling convention in llvm bitcode format.
For the C calling convention -O3 is good enough. With this you need to explicitly mark them, similar to [[always_inline]], just in a separate text file. This hardcodes r14, so it would be only useful for x86_64.
Also inlining just enables further optimizations, previously missed. something like qbe is much more interesting.