diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 20f2fe077f2..13e01190808 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(I)) PrintAllTypes = true; + if (!PrintAllTypes) Out << " " << I->getOperand(0)->getType();