[PATCH] D29243: Cache reverse graph edges during dominator construction to avoidhaving to look them up later.

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 27 22:42:01 PST 2017


davide added inline comments.


================
Comment at: include/llvm/Support/GenericDomTree.h:250
     NodeT *Label;
-
+    SmallVector<NodeT *, 2> ReverseChildren;
     InfoRec() : DFSNum(0), Parent(0), Semi(0), Label(nullptr) {}
----------------
Just wondering, why 2?


https://reviews.llvm.org/D29243





More information about the llvm-commits mailing list