Add a new subtarget hook for whether or not we'd like to enable
[oota-llvm.git] / lib / Target / ARM / ARMSubtarget.h
index ae62a6f876fd56f15d7933e4bc54a4907616a803..c13ef865389ee1dd44e04cd4a4160877fb4749f8 100644 (file)
@@ -425,6 +425,9 @@ public:
                              TargetSubtargetInfo::AntiDepBreakMode& Mode,
                              RegClassVector& CriticalPathRCs) const override;
 
+  // enableAtomicExpandLoadLinked - True if we need to expand our atomics.
+  bool enableAtomicExpandLoadLinked() const override;
+
   /// getInstrItins - Return the instruction itineraies based on subtarget
   /// selection.
   const InstrItineraryData &getInstrItineraryData() const { return InstrItins; }