Fix bug: LevelRaise/2003-06-25-ExprAnalysis.ll
authorChris Lattner <sabre@nondot.org>
Wed, 25 Jun 2003 17:09:03 +0000 (17:09 +0000)
committerChris 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

index 513efe0ac2278ea2beaec42a9cf781484dd6f4d0..b9a1b01dbc9fbafc345073ea9b9321fd9969c390 100644 (file)
@@ -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;