[BOLT] Restore macro-fusion optimization
Summary: Restore the optimization with some modifications: * Only enabled in relocation mode. * Covers instructions other than TEST/CMP. * Prints missed macro-fusion opportunities for input. * By default enabled for all hot code. * Without profile enabled for all code. The new command-line option: -align-macro-fusion - fix instruction alignment for macro-fusion (x86 relocation mode) =none - do not insert alignment no-ops for macro-fusion =hot - only insert alignment no-ops on hot execution paths (default) =all - always align instructions to allow macro-fusion (cherry picked from FBD7644042)
Loading
Please register or sign in to comment