[PATCH] D81023: CoroSplit: Fix coroutine splitting for retcon and retcon once

John McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 10:58:20 PDT 2020


rjmccall added inline comments.


================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1542
+              return dom.dominates(a, b);
+            });
+
----------------
aschwaighofer wrote:
> rjmccall wrote:
> > This can use `array_pod_sort`, I think.
> array_pod_sort does not do closures that capture stuff.
Ah, I keep forgetting that.  We should really add a variant that uses `qsort_r` when available.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81023/new/

https://reviews.llvm.org/D81023





More information about the llvm-commits mailing list