R600/SI: Fix bug with v_interp_p1_f32 instructions on 16 bank lds chips
[oota-llvm.git] / lib / Target / R600 / AMDGPUSubtarget.h
index 57a084e6b3e953954157f1357dda14ff5e5bd5af..b262cdf5771214c50aa2830e924f9c39e3bd8251 100644 (file)
@@ -76,6 +76,7 @@ private:
   bool GCN3Encoding;
   bool CIInsts;
   bool FeatureDisable;
+  int LDSBankCount;
 
   AMDGPUFrameLowering FrameLowering;
   std::unique_ptr<AMDGPUTargetLowering> TLInfo;
@@ -228,6 +229,10 @@ public:
     return SGPRInitBug;
   }
 
+  int getLDSBankCount() const {
+    return LDSBankCount;
+  }
+
   unsigned getAmdKernelCodeChipID() const;
 
   bool enableMachineScheduler() const override {