[llvm-commits] [llvm] r141722 - /llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
Akira Hatanaka
ahatanaka at mips.com
Tue Oct 11 15:04:02 PDT 2011
Author: ahatanak
Date: Tue Oct 11 17:04:01 2011
New Revision: 141722
URL: http://llvm.org/viewvc/llvm-project?rev=141722&view=rev
Log:
Fix function isUnalignedLoadStore.
Modified:
llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp?rev=141722&r1=141721&r2=141722&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsAsmPrinter.cpp Tue Oct 11 17:04:01 2011
@@ -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) {
More information about the llvm-commits
mailing list