This reverts commitc5ea42bcf4. Recommit the patch with a fix for loops where the exiting terminator is not a branch instruction. In that case, ExitInfos may be empty. In addition to checking if there's a single exiting block also check if there's a single ExitInfo. A test case has been added inf92b35392e.
78 KiB
78 KiB