HomePhabricator

Disable hoisting MI to hotter basic blocks

Authored by NeHuang on Mon, Nov 11, 1:32 PM.

Description

Disable hoisting MI to hotter basic blocks

In current Hoist() function of machine licm pass, it will not check the source and destination basic block frequencies that a instruction is hoisted from/to.
There is a chance that instruction is hoisted from a cold to a hot basic block.

In this patch, we add options to disable machine instruction hoisting if destination block is hotter.

Differential Revision: https://reviews.llvm.org/D63676

Details

Committed
NeHuangMon, Nov 11, 1:32 PM
Differential Revision
D63676: Disable hoisting MI to hotter basic blocks
Parents
rGc19528f18093: [AArch64] Update for Exynos
Branches
Unknown
Tags
Unknown