Add a new subtarget hook for whether or not we'd like to enable
[oota-llvm.git] / include / llvm / Target / TargetSubtargetInfo.h
index bb164288b013372d14762ed13e2a337209cfccd7..83f1997bf20558a2a72e069b9cc1478a3dabef63 100644 (file)
@@ -73,6 +73,9 @@ public:
   /// MISchedPostRA, is set.
   virtual bool enablePostMachineScheduler() const;
 
+  /// \brief True if the subtarget should run the atomic expansion pass.
+  virtual bool enableAtomicExpandLoadLinked() const;
+
   /// \brief Override generic scheduling policy within a region.
   ///
   /// This is a convenient way for targets that don't provide any custom