mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Fix bug: LevelRaise/2003-06-25-ExprAnalysis.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
262a79123b
commit
5db61fdc8a
@ -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