1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Fix shift printing when using a ubyte LHS

llvm-svn: 925
This commit is contained in:
Chris Lattner 2001-10-20 09:33:10 +00:00
parent 03e692a51b
commit 65647505e2

View File

@ -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();