projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dc4f0
)
Ack: Fix bug in previous checkin.
author
Chris Lattner
<sabre@nondot.org>
Mon, 4 Nov 2002 05:50:42 +0000
(
05:50
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 4 Nov 2002 05:50:42 +0000
(
05:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4526
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/ExprTypeConvert.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/ExprTypeConvert.cpp
b/lib/Transforms/ExprTypeConvert.cpp
index aa183d24ebf5facf5467a8df2a2ee1d421677f66..860b950b0c8e76ac0a30795211896a656ec011ba 100644
(file)
--- a/
lib/Transforms/ExprTypeConvert.cpp
+++ b/
lib/Transforms/ExprTypeConvert.cpp
@@
-320,7
+320,7
@@
Value *ConvertExpressionToType(Value *V, const Type *Ty, ValueMapCache &VMC) {
Instruction *I = dyn_cast<Instruction>(V);
if (I == 0) {
- Constant *CPV = cast<Constant>(V)
) {
+ Constant *CPV = cast<Constant>(V)
;
// Constants are converted by constant folding the cast that is required.
// We assume here that all casts are implemented for constant prop.
Value *Result = ConstantFoldCastInstruction(CPV, Ty);