diff options
-rw-r--r-- | tools/llvm-upgrade/UpgradeParser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-upgrade/UpgradeParser.y b/tools/llvm-upgrade/UpgradeParser.y index ab078ba2d8..14183a40cb 100644 --- a/tools/llvm-upgrade/UpgradeParser.y +++ b/tools/llvm-upgrade/UpgradeParser.y @@ -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) |