[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jan 31 23:16:03 PST 2004
Changes in directory llvm/lib/Transforms/Scalar:
ADCE.cpp updated: 1.70 -> 1.71
---
Log message:
Fix the count of the number of instructions removed
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/Transforms/Scalar/ADCE.cpp
diff -u llvm/lib/Transforms/Scalar/ADCE.cpp:1.70 llvm/lib/Transforms/Scalar/ADCE.cpp:1.71
--- llvm/lib/Transforms/Scalar/ADCE.cpp:1.70 Fri Dec 19 03:08:34 2003
+++ llvm/lib/Transforms/Scalar/ADCE.cpp Sat Jan 31 23:15:07 2004
@@ -144,6 +144,7 @@
// Delete the instruction...
I = BB->getInstList().erase(I);
Changed = true;
+ ++NumInstRemoved;
} else {
++I;
}
More information about the llvm-commits
mailing list