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:
parent
03e692a51b
commit
65647505e2
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user