What pass can powerfully reduce code size in lto phase?

I already knew dead code elimination can do it, can other pass does this job?

merge function can also reduce code size during lto

You can checkout machine outliner.

1 Like