Need to use predecessors for reverse graph, successors for forward graph.
succ_iterator/pred_iterator are not compatible, this patch is all the work necessary to work around that (which is what everywhere else does). Not sure if there is a better way, so cc'ing some random folks to take a gander :)
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Daniel,
Looks reasonable to me.
Maybe a typedef to add a bit of syntactic sugar.
Cheers,
-Quentin
lib/Analysis/IteratedDominanceFrontier.cpp | ||
---|---|---|
103 | Perhaps typedef those so that clients explicitly use forward or reverse IDF? |
Perhaps typedef those so that clients explicitly use forward or reverse IDF?