1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll

llvm-svn: 20089
This commit is contained in:
Chris Lattner 2005-02-09 17:45:03 +00:00
parent af20babb80
commit 343a831bab

View File

@ -1161,7 +1161,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
// Shift Left & Right print both types even for Ubyte LHS, and select prints
// types even if all operands are bools.
if (isa<ShiftInst>(I) || isa<SelectInst>(I)) {
if (isa<ShiftInst>(I) || isa<SelectInst>(I) || isa<StoreInst>(I)) {
PrintAllTypes = true;
} else {
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {