critson added a comment. As an aside, I am working on a patch to add a "shouldHoist" to control the behaviour of MachineLICM. This mostly mirrors the shouldSink that already exists. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D118185/new/ https://reviews.llvm.org/D118185