[llvm-commits] [llvm] r43960 - /llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp
Hartmut Kaiser
hartmut.kaiser at gmail.com
Fri Nov 9 11:59:00 PST 2007
Author: hkaiser
Date: Fri Nov 9 13:59:00 2007
New Revision: 43960
URL: http://llvm.org/viewvc/llvm-project?rev=43960&view=rev
Log:
Fixed a strange construct. Please review.
Modified:
llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp
Modified: llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp?rev=43960&r1=43959&r2=43960&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp (original)
+++ llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp Fri Nov 9 13:59:00 2007
@@ -124,7 +124,7 @@
}
}
- for(unsigned u = 0; u < SourceBlocks.size() > 0; u++)
+ for(unsigned u = 0; u < SourceBlocks.size(); u++)
splitCriticalEdge(SourceBlocks[u], DestBlocks[u]);
return false;
More information about the llvm-commits
mailing list