From: Akira Hatanaka Date: Sat, 24 Dec 2011 03:07:37 +0000 (+0000) Subject: Detect unaligned loads/stores that have been added for Mips64 support. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9dfd4399a957f4a1a0c0111f0134554891b98021;p=oota-llvm.git Detect unaligned loads/stores that have been added for Mips64 support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147234 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index 745b5ea286a..c6b9c9cae56 100644 --- a/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/MipsAsmPrinter.cpp @@ -49,7 +49,14 @@ static bool isUnalignedLoadStore(unsigned Opc) { 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; + Opc == Mips::USW_P8 || Opc == Mips::USH_P8 || + Opc == Mips::ULD || Opc == Mips::ULW64 || Opc == Mips::ULH64 || + Opc == Mips::ULHu64 || Opc == Mips::USD || Opc == Mips::USW64 || + Opc == Mips::USH64 || + Opc == Mips::ULD_P8 || Opc == Mips::ULW64_P8 || + Opc == Mips::ULH64_P8 || Opc == Mips::ULHu64_P8 || + Opc == Mips::USD_P8 || Opc == Mips::USW64_P8 || + Opc == Mips::USH64_P8; } static bool isDirective(unsigned Opc) {