[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y
Reid Spencer
reid at x10sys.com
Fri Jan 26 11:59:15 PST 2007
Changes in directory llvm/tools/llvm-upgrade:
UpgradeParser.y updated: 1.46 -> 1.47
---
Log message:
Ensure that gep_upgrade zext instructions we insert have unique names.
---
Diffs of the changes: (+1 -1)
UpgradeParser.y | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/llvm-upgrade/UpgradeParser.y
diff -u llvm/tools/llvm-upgrade/UpgradeParser.y:1.46 llvm/tools/llvm-upgrade/UpgradeParser.y:1.47
--- llvm/tools/llvm-upgrade/UpgradeParser.y:1.46 Fri Jan 26 12:26:23 2007
+++ llvm/tools/llvm-upgrade/UpgradeParser.y Fri Jan 26 13:58:59 2007
@@ -1175,7 +1175,7 @@
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)
More information about the llvm-commits
mailing list