summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
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
commit4a6c3e79b040aab803f27a849346ae66fa381633 (patch)
tree6fe07b0c0bdd34d41a76987d162215d22ac1e866 /llvm/lib/Transforms
parentcb2434d38d48e73e19c6b8366bb06816d80a9ff6 (diff)
downloadbcm5719-llvm-4a6c3e79b040aab803f27a849346ae66fa381633.tar.gz
bcm5719-llvm-4a6c3e79b040aab803f27a849346ae66fa381633.zip
Avoid naming things exactly the same
llvm-svn: 5966
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/LevelRaise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/LevelRaise.cpp b/llvm/lib/Transforms/LevelRaise.cpp
index 110c0cc505c..50ed60c9037 100644
--- a/llvm/lib/Transforms/LevelRaise.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud