diff options
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 20f2fe077f..13e0119080 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -387,6 +387,9 @@ void AssemblyWriter::processInstruction(const Instruction *I) { } } + // Shift Left & Right print both types even for Ubyte LHS + if (isa<ShiftInst>(I)) PrintAllTypes = true; + if (!PrintAllTypes) Out << " " << I->getOperand(0)->getType(); |