[llvm-commits] CVS: llvm/lib/Transforms/ExprTypeConvert.cpp LevelRaise.cpp
Michael Brukman
brukman at cs.uiuc.edu
Tue May 20 16:02:03 PDT 2003
Changes in directory llvm/lib/Transforms:
ExprTypeConvert.cpp updated: 1.71 -> 1.72
LevelRaise.cpp updated: 1.82 -> 1.83
---
Log message:
Hopefully, the final fix for `[Pp]ropogate'.
---
Diffs of the changes:
Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.71 llvm/lib/Transforms/ExprTypeConvert.cpp:1.72
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.71 Tue May 20 13:45:33 2003
+++ llvm/lib/Transforms/ExprTypeConvert.cpp Tue May 20 16:01:14 2003
@@ -142,8 +142,8 @@
ValueTypeCache::iterator CTMI = CTMap.find(V);
if (CTMI != CTMap.end()) return CTMI->second == Ty;
- // If it's a constant... all constants can be converted to a different type We
- // just ask the constant propogator to see if it can convert the value...
+ // If it's a constant... all constants can be converted to a different type. We
+ // just ask the constant propagator to see if it can convert the value...
//
if (Constant *CPV = dyn_cast<Constant>(V))
return ConstantFoldCastInstruction(CPV, Ty);
Index: llvm/lib/Transforms/LevelRaise.cpp
diff -u llvm/lib/Transforms/LevelRaise.cpp:1.82 llvm/lib/Transforms/LevelRaise.cpp:1.83
--- llvm/lib/Transforms/LevelRaise.cpp:1.82 Tue May 20 13:45:33 2003
+++ llvm/lib/Transforms/LevelRaise.cpp Tue May 20 16:01:14 2003
@@ -557,7 +557,7 @@
for (Function::iterator BB = F.begin(), BBE = F.end(); BB != BBE; ++BB)
for (BasicBlock::iterator BI = BB->begin(); BI != BB->end();) {
DEBUG(cerr << "Processing: " << *BI);
- if (dceInstruction(BI) || doConstantPropogation(BI)) {
+ if (dceInstruction(BI) || doConstantPropagation(BI)) {
Changed = true;
++NumDCEorCP;
DEBUG(cerr << "***\t\t^^-- Dead code eliminated!\n");
More information about the llvm-commits
mailing list