From: Devang Patel Date: Tue, 4 Mar 2008 22:05:14 +0000 (+0000) Subject: Print types for all ret operands. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6494768ffcdf75e6e69a7955282db9ab9ab2e6fb;p=oota-llvm.git Print types for all ret operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47911 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 595f478c72a..64119eddc82 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1417,7 +1417,8 @@ void AssemblyWriter::printInstruction(const Instruction &I) { const Type *TheType = Operand->getType(); // Select, Store and ShuffleVector always print all types. - if (isa(I) || isa(I) || isa(I)) { + if (isa(I) || isa(I) || isa(I) + || isa(I)) { PrintAllTypes = true; } else { for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {