forked from OSchip/llvm-project
If the beginning of the loop was also the entry block of the function, branches were inserted to the entry block which isn't allowed. If this occurs, create a new dummy function entry block that branches to the start of the loop. llvm-svn: 195493 |
||
|---|---|---|
| .. | ||
| branch-on-argument.ll | ||
| loop-multiple-exits.ll | ||
| no-branch-to-entry.ll | ||
| switch.ll | ||