diff options
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
| -rw-r--r-- | llvm/lib/VMCore/AsmWriter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 398f7a87b8e..d84cba0752b 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -207,7 +207,9 @@ bool AssemblyWriter::processInstruction(const Instruction *I) { Out << ","; writeOperand(I->getOperand(0), true); } - + } else if (I->getOpcode() == Instruction::Cast) { + writeOperand(Operand, true); + Out << " to " << I->getType(); } else if (Operand) { // Print the normal way... // PrintAllTypes - Instructions who have operands of all the same type |

