forked from OSchip/llvm-project
Ensure that gep_upgrade zext instructions we insert have unique names.
llvm-svn: 33544
This commit is contained in:
parent
aa26c1ab9d
commit
0bad131b17
|
@ -1175,7 +1175,7 @@ const Type* upgradeGEPIndices(const Type* PTy,
|
|||
cast<Constant>(Index), Type::Int64Ty);
|
||||
else
|
||||
Index = CastInst::create(Instruction::ZExt, Index, Type::Int64Ty,
|
||||
"gep_upgrade", CurBB);
|
||||
makeNameUnique("gep_upgrade"), CurBB);
|
||||
}
|
||||
// Add to the CIndices list, if requested.
|
||||
if (CIndices)
|
||||
|
|
Loading…
Reference in New Issue