mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix bug
llvm-svn: 5264
This commit is contained in:
parent
0c35443367
commit
95583742c4
@ -274,6 +274,7 @@ bool ExpressionConvertableToType(Value *V, const Type *Ty,
|
||||
//
|
||||
if (GEP->getNumOperands() == 2 &&
|
||||
GEP->getOperand(1)->getType() == Type::LongTy &&
|
||||
PTy->getElementType()->isSized() &&
|
||||
TD.getTypeSize(PTy->getElementType()) ==
|
||||
TD.getTypeSize(GEP->getType()->getElementType())) {
|
||||
const PointerType *NewSrcTy = PointerType::get(PVTy);
|
||||
|
Loading…
Reference in New Issue
Block a user