From: Chris Lattner Date: Thu, 24 Jul 2003 17:31:56 +0000 (+0000) Subject: Minor cleanups X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8baa92ef0bc7a412c166a5d2ca0c7d31a2f0bd9a;p=oota-llvm.git Minor cleanups git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7289 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index e830beee44b..c10797615ee 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -143,13 +143,13 @@ bool ExpressionConvertibleToType(Value *V, const Type *Ty, 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(V)) return ConstantFoldCastInstruction(CPV, Ty); - CTMap[V] = Ty; if (V->getType() == Ty) return true; // Expression already correct type!