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

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 31 22:50:01 PST 2002


Changes in directory llvm/lib/Transforms:

ExprTypeConvert.cpp updated: 1.62 -> 1.63

---
Log message:

Make sure to include name information if we have it


---
Diffs of the changes:

Index: llvm/lib/Transforms/ExprTypeConvert.cpp
diff -u llvm/lib/Transforms/ExprTypeConvert.cpp:1.62 llvm/lib/Transforms/ExprTypeConvert.cpp:1.63
--- llvm/lib/Transforms/ExprTypeConvert.cpp:1.62	Tue Oct  8 19:16:00 2002
+++ llvm/lib/Transforms/ExprTypeConvert.cpp	Thu Oct 31 22:49:06 2002
@@ -1134,7 +1134,8 @@
           // Create a cast to convert it to the right type, we know that this
           // is a lossless cast...
           //
-          Params[i] = new CastInst(Params[i], PTs[i], "call.resolve.cast", It);
+          Params[i] = new CastInst(Params[i], PTs[i],  "callarg.cast." +
+                                   Params[i]->getName(), It);
         }
       Meth = NewVal;  // Update call destination to new value
 





More information about the llvm-commits mailing list