summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/ExprTypeConvert.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/ExprTypeConvert.cpp b/llvm/lib/Transforms/ExprTypeConvert.cpp
index e830beee44b..c10797615ee 100644
--- a/llvm/lib/Transforms/ExprTypeConvert.cpp
+++ b/llvm/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<Constant>(V))
return ConstantFoldCastInstruction(CPV, Ty);
-
CTMap[V] = Ty;
if (V->getType() == Ty) return true; // Expression already correct type!
OpenPOWER on IntegriCloud