Fix function isUnalignedLoadStore.

llvm-svn: 141722
This commit is contained in:
Akira Hatanaka 2011-10-11 22:04:01 +00:00
parent 9398141c48
commit 1c18465859
1 changed files with 4 additions and 2 deletions

View File

@ -45,8 +45,10 @@
using namespace llvm;
static bool isUnalignedLoadStore(unsigned Opc) {
return Opc == Mips::ULW || Opc == Mips::ULH || Opc == Mips::ULHu ||
Opc == Mips::USW || Opc == Mips::USH;
return Opc == Mips::ULW || Opc == Mips::ULH || Opc == Mips::ULHu ||
Opc == Mips::USW || Opc == Mips::USH ||
Opc == Mips::ULW_P8 || Opc == Mips::ULH_P8 || Opc == Mips::ULHu_P8 ||
Opc == Mips::USW_P8 || Opc == Mips::USH_P8;
}
void MipsAsmPrinter::EmitInstruction(const MachineInstr *MI) {