forked from OSchip/llvm-project
CodeGen: Code following a clast_guard comes after the merge block
llvm-svn: 150675
This commit is contained in:
parent
eeafc867ed
commit
62a3c96e5d
|
@ -1487,6 +1487,8 @@ void ClastStmtCodeGen::codegen(const clast_guard *g) {
|
|||
Builder.SetInsertPoint(ThenBB->begin());
|
||||
|
||||
codegen(g->then);
|
||||
|
||||
Builder.SetInsertPoint(MergeBB->begin());
|
||||
}
|
||||
|
||||
void ClastStmtCodeGen::codegen(const clast_stmt *stmt) {
|
||||
|
|
Loading…
Reference in New Issue