diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-07-08 04:57:15 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-07-08 04:57:15 +0000 |
| commit | a682182f6485caf4f2bb23d2fe7f2e1d10d9fb2a (patch) | |
| tree | ac566bc85cd22b41c0f530d82937408cd7c5e79a /llvm/lib/VMCore/AsmWriter.cpp | |
| parent | 52112fb34e6846c33208bab143b7815eefcb0421 (diff) | |
| download | bcm5719-llvm-a682182f6485caf4f2bb23d2fe7f2e1d10d9fb2a.tar.gz bcm5719-llvm-a682182f6485caf4f2bb23d2fe7f2e1d10d9fb2a.zip | |
Neg instruction removed. Cast instruction implemented.
llvm-svn: 156
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 |

