sabuasal added a comment. What if it is a basic block that only has a terminator instruction without any Phi nodes? is that an allowed basic block in LLVM? https://reviews.llvm.org/D25757