haicheng added a comment. Block 3 4 7 9 in IR are not necessary. The generated MIR can be manually reduced as Geoff said. If you can wait till early next week, I can simplify this test case for you. Repository: rL LLVM https://reviews.llvm.org/D32037