mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 23:37:33 +00:00
Fix function isUnalignedLoadStore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141722 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bd0118472
commit
68ad5673e8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user