[llvm-commits] CVS: llvm/lib/Transforms/LevelRaise.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Apr 27 17:57:01 PDT 2003


Changes in directory llvm/lib/Transforms:

LevelRaise.cpp updated: 1.77 -> 1.78

---
Log message:

Avoid naming things exactly the same


---
Diffs of the changes:

Index: llvm/lib/Transforms/LevelRaise.cpp
diff -u llvm/lib/Transforms/LevelRaise.cpp:1.77 llvm/lib/Transforms/LevelRaise.cpp:1.78
--- llvm/lib/Transforms/LevelRaise.cpp:1.77	Thu Apr 24 13:25:27 2003
+++ llvm/lib/Transforms/LevelRaise.cpp	Sun Apr 27 17:55:56 2003
@@ -505,7 +505,7 @@
 
       // 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,





More information about the llvm-commits mailing list