From: Chris Lattner Date: Sat, 20 Oct 2001 09:33:10 +0000 (+0000) Subject: Fix shift printing when using a ubyte LHS X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f434cd1b30a77afa26de46a3e7afb8a07b536c6f;p=oota-llvm.git Fix shift printing when using a ubyte LHS git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@925 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();