[Mlir-commits] [mlir] [mlir][PDL] Add support for native constraints with results (PR #82760)
    Jeff Niu 
    llvmlistbot at llvm.org
       
    Thu Feb 29 11:10:31 PST 2024
    
    
  
================
@@ -875,6 +885,27 @@ static void insertExitNode(std::unique_ptr<MatcherNode> *root) {
   *root = std::make_unique<ExitNode>();
 }
 
+/// Sorts the range begin/end with the partial order given by cmp.
+template <typename Iterator, typename Compare>
+void stableTopologicalSort(Iterator begin, Iterator end, Compare cmp) {
----------------
Mogball wrote:
static is fine
https://github.com/llvm/llvm-project/pull/82760
    
    
More information about the Mlir-commits
mailing list