aengelke wrote: Maybe we should work on MachineLICM first to avoid the cost of the 2 extra cycle infos? (MachineLICM modifies the CFG when splitting critical edges to create preheaders.) https://github.com/llvm/llvm-project/pull/213488