[llvm-commits] [llvm] r66115 - /llvm/trunk/lib/Transforms/Scalar/CondPropagate.cpp
Bill Wendling
isanbard at gmail.com
Wed Mar 4 17:08:35 PST 2009
Author: void
Date: Wed Mar 4 19:08:35 2009
New Revision: 66115
URL: http://llvm.org/viewvc/llvm-project?rev=66115&view=rev
Log:
Add comment to emphasize that the while body is empty.
Modified:
llvm/trunk/lib/Transforms/Scalar/CondPropagate.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/CondPropagate.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/CondPropagate.cpp?rev=66115&r1=66114&r2=66115&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/CondPropagate.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/CondPropagate.cpp Wed Mar 4 19:08:35 2009
@@ -153,7 +153,7 @@
return;
BasicBlock::iterator BBI = BB->begin();
BasicBlock::iterator BBE = BB->end();
- while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) ;
+ while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) /* empty */;
if (&*BBI != BI)
return;
@@ -192,7 +192,7 @@
return;
BasicBlock::iterator BBI = BB->begin();
BasicBlock::iterator BBE = BB->end();
- while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) ;
+ while (BBI != BBE && isa<DbgInfoIntrinsic>(++BBI)) /* empty */;
if (&*BBI != SI)
return;
More information about the llvm-commits
mailing list