diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-11 22:04:01 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-11 22:04:01 +0000 |
commit | 68ad5673e80d51add854a7336752e56e3e22afa0 (patch) | |
tree | 0baf4ea55a14b6a4c31b79b4d1680bb126c6e380 /lib/Target/Mips/MipsAsmPrinter.cpp | |
parent | 2bd0118472de352745a2e038245fab4974f7c87e (diff) | |
download | llvm-68ad5673e80d51add854a7336752e56e3e22afa0.tar.gz llvm-68ad5673e80d51add854a7336752e56e3e22afa0.tar.bz2 llvm-68ad5673e80d51add854a7336752e56e3e22afa0.tar.xz |
Fix function isUnalignedLoadStore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsAsmPrinter.cpp')
-rw-r--r-- | lib/Target/Mips/MipsAsmPrinter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index e6beb56dc5..0e826812d0 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) { |