[llvm-commits] CVS: llvm/lib/Transforms/ExprTypeConvert.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jul 24 12:36:01 PDT 2003
Changes in directory llvm/lib/Transforms:
ExprTypeConvert.cpp updated: 1.74 -> 1.75
---
Log message:
Minor cleanups
---
Diffs of the changes:
Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.74 llvm/lib/Transforms/ExprTypeConvert.cpp:1.75
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.74 Mon Jun 23 12:36:49 2003
+++ llvm/lib/Transforms/ExprTypeConvert.cpp Thu Jul 24 12:31:56 2003
@@ -143,13 +143,13 @@
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 propagator 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);
-
CTMap[V] = Ty;
if (V->getType() == Ty) return true; // Expression already correct type!
More information about the llvm-commits
mailing list