kparzysz accepted this revision. kparzysz added a comment. This revision is now accepted and ready to land. Looks good. Thanks. Could you change the testcase to MIR and only run the unreachable block elimination? https://reviews.llvm.org/D38235