Chris Lattner b8959ef7a1 Speed up updateDFSNumbers with two observations:
1. domtree is a tree, not a graph.  There is no need to avoid revisiting nodes with a set.
2. the worklist can contain the child iterator pointers so we don't get N^2 rescanning of children.

This speeds up updateDFSNumbers significantly, making it basically free.  On the testcase in PR1432,
this speeds up loopsimplify by another 3x, dropping it from the 12th most expensive pass to the to
the 30th. :)  It used to be #1.

llvm-svn: 40923
2007-08-08 06:24:20 +00:00
..
2007-08-06 21:00:46 +00:00
2007-08-08 05:56:18 +00:00
2007-07-31 06:00:51 +00:00
2007-08-07 23:08:00 +00:00
2007-08-08 06:06:02 +00:00