================
@@ -768,6 +707,16 @@ class ScheduleDAGDependencyBuilder {
   /// and clear the memop frontiers.
   void addBarrierMemoryDeps();
 
+  /// Returns true if the next store should be promoted to a sequencing store
+  /// in the frontier \p F and false otherwise.
+  bool shouldUpdate(const MemopFrontier &F) const;
+
+  /// Given a store instruction with underlying objects \p Objs, returns true
+  /// if the store should be promoted to a sequencing store in the frontier
+  /// \p UF and false otherwise.
+  bool shouldUpdate(const UnanalyzableMemopFrontier &UF,
+                    const UnderlyingObjectsVector &Objs) const;
+
----------------
cofibrant wrote:

For what it's worth, I would have much preferred we lift the flag checks out of 
these two methods into the call sites and kept them as members.

https://github.com/llvm/llvm-project/pull/244327
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to