commit | 62a3c96e5d643af3e4347945d93b03d469763688 | [log] [tgz] |
---|---|---|
author | Tobias Grosser <grosser@fim.uni-passau.de> | Thu Feb 16 09:56:21 2012 +0000 |
committer | Tobias Grosser <grosser@fim.uni-passau.de> | Thu Feb 16 09:56:21 2012 +0000 |
tree | 24ccce224c02ab92379d1303ec6c33032f2f86bd | |
parent | eeafc867ed5e95a94126816f8331e4508c2a8972 [diff] [blame] |
CodeGen: Code following a clast_guard comes after the merge block llvm-svn: 150675
diff --git a/polly/lib/CodeGeneration.cpp b/polly/lib/CodeGeneration.cpp index 2db1800..a004559 100644 --- a/polly/lib/CodeGeneration.cpp +++ b/polly/lib/CodeGeneration.cpp
@@ -1487,6 +1487,8 @@ Builder.SetInsertPoint(ThenBB->begin()); codegen(g->then); + + Builder.SetInsertPoint(MergeBB->begin()); } void ClastStmtCodeGen::codegen(const clast_stmt *stmt) {