[llvm-commits] [gcc-plugin] r81212 - /gcc-plugin/trunk/llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Tue Sep 8 03:47:09 PDT 2009
Author: baldrick
Date: Tue Sep 8 05:47:09 2009
New Revision: 81212
URL: http://llvm.org/viewvc/llvm-project?rev=81212&view=rev
Log:
Comment a micro-optimization.
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=81212&r1=81211&r2=81212&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Tue Sep 8 05:47:09 2009
@@ -749,6 +749,7 @@
extern "C" void release_stmt_tree (gimple, tree);
void TreeToLLVM::EmitBasicBlock(basic_block bb) {
+ // Avoid outputting a pointless branch at the end of the entry block.
if (bb != ENTRY_BLOCK_PTR)
EmitBlock(getBasicBlock(bb));
More information about the llvm-commits
mailing list