diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-01 04:49:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-01 04:49:06 +0000 |
commit | a145d4188cdb4243a8018a4537e3dc4ba25c72fa (patch) | |
tree | 4c4b48d077fe06d51312471cce4a0893ab3bd632 /lib/Transforms/ExprTypeConvert.cpp | |
parent | e6f960a512c66bfaf4649e1daee8b58c69086477 (diff) |
Make sure to include name information if we have it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ExprTypeConvert.cpp')
-rw-r--r-- | lib/Transforms/ExprTypeConvert.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/ExprTypeConvert.cpp b/lib/Transforms/ExprTypeConvert.cpp index 995df98b6b..28b92896a8 100644 --- a/lib/Transforms/ExprTypeConvert.cpp +++ b/lib/Transforms/ExprTypeConvert.cpp @@ -1134,7 +1134,8 @@ static void ConvertOperandToType(User *U, Value *OldVal, Value *NewVal, // 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 |