reames added a comment. This looks to be a form of unswitching. Can you explain why this needs to be done in LICM rather than in unswitching? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58231/new/ https://reviews.llvm.org/D58231