This patch adds another verification function for checking correctness of findNearestCommonDominator.
For every edge from U to V in the input graph, NCD(U, V) == IDom(V) or V -- the new function checks this condition.
Details
Details
Diff Detail
Diff Detail
Event Timeline
include/llvm/Support/GenericDomTreeConstruction.h | ||
---|---|---|
378 | probably should say what the IDOM and To are :) |
probably should say what the IDOM and To are :)