mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix bug: LevelRaise/2003-06-25-ExprAnalysis.ll
llvm-svn: 6903
This commit is contained in:
parent
8c1114ab2c
commit
7aa690403b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user