[llvm-commits] [polly] r150675 - /polly/trunk/lib/CodeGeneration.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Thu Feb 16 01:56:21 PST 2012
Author: grosser
Date: Thu Feb 16 03:56:21 2012
New Revision: 150675
URL: http://llvm.org/viewvc/llvm-project?rev=150675&view=rev
Log:
CodeGen: Code following a clast_guard comes after the merge block
Modified:
polly/trunk/lib/CodeGeneration.cpp
Modified: polly/trunk/lib/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGeneration.cpp?rev=150675&r1=150674&r2=150675&view=diff
==============================================================================
--- polly/trunk/lib/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGeneration.cpp Thu Feb 16 03:56:21 2012
@@ -1487,6 +1487,8 @@
Builder.SetInsertPoint(ThenBB->begin());
codegen(g->then);
+
+ Builder.SetInsertPoint(MergeBB->begin());
}
void ClastStmtCodeGen::codegen(const clast_stmt *stmt) {
More information about the llvm-commits
mailing list