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:
262a791
)
Fix bug: LevelRaise/2003-06-25-ExprAnalysis.ll
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jun 2003 17:09:03 +0000
(17:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Jun 2003 17:09:03 +0000
(17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6903
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/Expressions.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/Expressions.cpp
b/lib/Analysis/Expressions.cpp
index 513efe0ac2278ea2beaec42a9cf781484dd6f4d0..b9a1b01dbc9fbafc345073ea9b9321fd9969c390 100644
(file)
--- a/
lib/Analysis/Expressions.cpp
+++ b/
lib/Analysis/Expressions.cpp
@@
-317,12
+317,10
@@
ExprType ClassifyExpression(Value *Expr) {
if (isa<PointerType>(DestTy))
DestTy = Type::ULongTy; // Pointer types are represented as ulong
- /*
if (!Src.getExprType(0)->isLosslesslyConvertibleTo(DestTy)) {
if (Src.ExprTy != ExprType::Constant)
return I; // Converting cast, and not a constant value...
}
- */
const ConstantInt *Offset = Src.Offset;
const ConstantInt *Scale = Src.Scale;