mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 14:45:50 +00:00
Ensure that gep_upgrade zext instructions we insert have unique names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a92d941b3
commit
aa777bd8ad
@ -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
Block a user