[llvm-commits] [gcc-plugin] r81213 - /gcc-plugin/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Tue Sep 8 04:11:27 PDT 2009
Author: baldrick
Date: Tue Sep 8 06:11:26 2009
New Revision: 81213
URL: http://llvm.org/viewvc/llvm-project?rev=81213&view=rev
Log:
There is no need to output an empty basic block
after rendering a gimple statement that satisfies
stmt_ends_bb_p, like GIMPLE_COND.
Modified:
gcc-plugin/trunk/llvm-convert.cpp
Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=81213&r1=81212&r2=81213&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Tue Sep 8 06:11:26 2009
@@ -8114,5 +8114,4 @@
// Branch based on the condition.
Builder.CreateCondBr(Cond, IfTrue, IfFalse);
- EmitBlock(BasicBlock::Create(Context));
}
More information about the llvm-commits
mailing list