projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a92d94
)
Ensure that gep_upgrade zext instructions we insert have unique names.
author
Reid Spencer
<rspencer@reidspencer.com>
Fri, 26 Jan 2007 19:58:59 +0000
(19:58 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Fri, 26 Jan 2007 19:58:59 +0000
(19:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33544
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-upgrade/UpgradeParser.y
patch
|
blob
|
history
diff --git
a/tools/llvm-upgrade/UpgradeParser.y
b/tools/llvm-upgrade/UpgradeParser.y
index ab078ba2d843646bb25cff1b53853549e5926e3b..14183a40cbc2953e37b5dd6d142042a4f6451daf 100644
(file)
--- 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)