summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-24 17:31:56 +0000
committerChris Lattner <sabre@nondot.org>2003-07-24 17:31:56 +0000
commit727c03a6657a62e8f26006d02d05672b047d82be (patch)
treea67b3dd14c3c3d24956e0d70ad343e78a7ec2fd1 /llvm/lib/Transforms
parent391f69b0ff9827e5eb97fe7acd0e9a0a7a8e1c5e (diff)
downloadbcm5719-llvm-727c03a6657a62e8f26006d02d05672b047d82be.tar.gz
bcm5719-llvm-727c03a6657a62e8f26006d02d05672b047d82be.zip
Minor cleanups
llvm-svn: 7289
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