projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0a6637
)
Add comment to emphasize that the while body is empty.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 5 Mar 2009 01:08:35 +0000
(
01:08
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 5 Mar 2009 01:08:35 +0000
(
01:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66115
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/CondPropagate.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/CondPropagate.cpp
b/lib/Transforms/Scalar/CondPropagate.cpp
index 7d5e581b22ebf20958c7ab0e936bbcfa843d0e79..45bc629e20e5075b121c38c3af8c2d9ae6dd6eb1 100644
(file)
--- a/
lib/Transforms/Scalar/CondPropagate.cpp
+++ b/
lib/Transforms/Scalar/CondPropagate.cpp
@@
-153,7
+153,7
@@
void CondProp::SimplifyPredecessors(BranchInst *BI) {
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
@@
void CondProp::SimplifyPredecessors(SwitchInst *SI) {
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;