Add alignment value to allowsUnalignedMemoryAccess
[oota-llvm.git] / lib / Target / Mips / MipsSEISelLowering.cpp
index ef70c0b49b6c0db5ea6d97c9f6d23fa835f819a5..16b414e885659daa55af596d8db8656293cc0d06 100644 (file)
@@ -329,9 +329,10 @@ addMSAFloatType(MVT::SimpleValueType Ty, const TargetRegisterClass *RC) {
 }
 
 bool
-MipsSETargetLowering::allowsUnalignedMemoryAccesses(EVT VT,
-                                                    unsigned,
-                                                    bool *Fast) const {
+MipsSETargetLowering::allowsMisalignedMemoryAccesses(EVT VT,
+                                                     unsigned,
+                                                     unsigned,
+                                                     bool *Fast) const {
   MVT::SimpleValueType SVT = VT.getSimpleVT().SimpleTy;
 
   if (Subtarget.systemSupportsUnalignedAccess()) {