aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/LevelRaise.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-27 22:55:56 +0000
committerChris Lattner <sabre@nondot.org>2003-04-27 22:55:56 +0000
commitb53a1986137752d0f9871f93af2b9fcd0bd4eee8 (patch)
treeaae59536c9c5752e57f6ebae92cebf618f194a24 /lib/Transforms/LevelRaise.cpp
parentac0ec635e643e59222a15781c72db5891a86a64e (diff)
Avoid naming things exactly the same
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/LevelRaise.cpp')
-rw-r--r--lib/Transforms/LevelRaise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/LevelRaise.cpp b/lib/Transforms/LevelRaise.cpp
index 110c0cc505..50ed60c903 100644
--- a/lib/Transforms/LevelRaise.cpp
+++ b/lib/Transforms/LevelRaise.cpp
@@ -505,7 +505,7 @@ bool RPR::PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
// Create a new cast, inserting it right before the function call...
CastInst *NewCast = new CastInst(CI->getCalledValue(), NewPFunTy,
- CI->getCalledValue()->getName(), CI);
+ CI->getCalledValue()->getName()+"_c",CI);
// Create a new call instruction...
CallInst *NewCall = new CallInst(NewCast,