Recommit "CodeGen: Maintain a valid CFG during code generation"
When I first tried to commit this patch, the builder pointed after generation of a loop still into the loop body. This means that code that was supposed to be generated after the loop was generated right into the loop body. We fixed this by pointing the builder to the BB after the loop, as soon as code generation of the loop body itself is finished. llvm-svn: 150480
Loading
Please register or sign in to comment