mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 06:21:26 +00:00
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