[PATCH] D50479: Expose CFG Update struct. Define GraphTraits to get children given a snapshot CFG.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 11:03:06 PDT 2018


timshen accepted this revision.
timshen added inline comments.
This revision is now accepted and ready to land.


================
Comment at: include/llvm/Support/CFGUpdate.h:105
+             [&Operations](const Update<NodePtr> &A, const Update<NodePtr> &B) {
+               return Operations[{A.getFrom(), A.getTo()}] >
+                      Operations[{B.getFrom(), B.getTo()}];
----------------
Just want to make sure that this sorts to descending order.


Repository:
  rL LLVM

https://reviews.llvm.org/D50479





More information about the llvm-commits mailing list