Add address space argument to allowsUnalignedMemoryAccess.
[oota-llvm.git] / lib / Target / Mips / MipsSEISelLowering.h
index c5210d94b34d350962929b6e002272bde2186c86..75a9b86e50b026838a3eee13fe3220320b76b991 100644 (file)
@@ -30,7 +30,9 @@ namespace llvm {
     void addMSAFloatType(MVT::SimpleValueType Ty,
                          const TargetRegisterClass *RC);
 
-    virtual bool allowsUnalignedMemoryAccesses(EVT VT, bool *Fast) const;
+    virtual bool allowsUnalignedMemoryAccesses(
+      EVT VT, unsigned AS = 0,
+      bool *Fast = 0) const LLVM_OVERRIDE;
 
     virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const;