From: Akira Hatanaka Date: Tue, 11 Oct 2011 22:04:01 +0000 (+0000) Subject: Fix function isUnalignedLoadStore. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=68ad5673e80d51add854a7336752e56e3e22afa0;p=oota-llvm.git Fix function isUnalignedLoadStore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141722 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index e6beb56dc56..0e826812d07 100644 --- a/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/MipsAsmPrinter.cpp @@ -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) {