diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-24 17:31:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-24 17:31:56 +0000 |
commit | 8baa92ef0bc7a412c166a5d2ca0c7d31a2f0bd9a (patch) | |
tree | 84b92a1828709cf709429d3975f5dd64f5450ee5 /lib/Transforms | |
parent | b3011a01b5e05efd72896f125a6dda3e669457e0 (diff) | |
download | external_llvm-8baa92ef0bc7a412c166a5d2ca0c7d31a2f0bd9a.zip external_llvm-8baa92ef0bc7a412c166a5d2ca0c7d31a2f0bd9a.tar.gz external_llvm-8baa92ef0bc7a412c166a5d2ca0c7d31a2f0bd9a.tar.bz2 |
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/ExprTypeConvert.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index e830bee..c107976 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<Constant>(V)) return ConstantFoldCastInstruction(CPV, Ty); - CTMap[V] = Ty; if (V->getType() == Ty) return true; // Expression already correct type! |