R600/SI: Implement isLegalAddressingMode
[oota-llvm.git] / lib / Target / R600 / SIISelLowering.h
index cbc77a5cd789aec8e44e0d3b3ec5f97e0a7e58c3..2a9aa49491fa7ab4f43f86089dd7e83dba5244df 100644 (file)
@@ -59,6 +59,10 @@ class SITargetLowering : public AMDGPUTargetLowering {
 
 public:
   SITargetLowering(TargetMachine &tm);
+
+  bool isLegalAddressingMode(const AddrMode &AM,
+                             Type *Ty) const override;
+
   bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS,
                                       unsigned Align,
                                       bool *IsFast) const override;