Add alignment value to allowsUnalignedMemoryAccess
[oota-llvm.git] / lib / Target / Mips / Mips16ISelLowering.h
index e7e4d7f651d4ea7988ee6807e777222498382a4d..aa1539018810f3459cdefe1cffe5f5efd8be9b74 100644 (file)
@@ -22,8 +22,9 @@ namespace llvm {
     explicit Mips16TargetLowering(MipsTargetMachine &TM,
                                   const MipsSubtarget &STI);
 
-    bool allowsUnalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
-                                       bool *Fast) const override;
+    bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AddrSpace,
+                                        unsigned Align,
+                                        bool *Fast) const override;
 
     MachineBasicBlock *
     EmitInstrWithCustomInserter(MachineInstr *MI,