Make isLegalAddressingMode() taking DataLayout as an argument
[oota-llvm.git] / lib / Target / XCore / XCoreISelLowering.h
index 92a2c12563b529d820c9b176e5c6816e109720b8..f7ddd6928457be1a4c0cd539363bac863cde8075 100644 (file)
@@ -122,8 +122,8 @@ namespace llvm {
       EmitInstrWithCustomInserter(MachineInstr *MI,
                                   MachineBasicBlock *MBB) const override;
 
-    bool isLegalAddressingMode(const AddrMode &AM, Type *Ty,
-                               unsigned AS) const override;
+    bool isLegalAddressingMode(const DataLayout &DL, const AddrMode &AM,
+                               Type *Ty, unsigned AS) const override;
 
   private:
     const TargetMachine &TM;