* Sink 4 duplicates of edge threading validity checks and DOUT prints into
ThreadEdge directly. This shares the code, but is just a refactoring.
* Make JumpThreading compute the set of loop headers and avoid threading
across them. This prevents jump threading from forming irreducible
loops (goodness) but also prevents it from threading in other cases that
are beneficial (see the comment above FindFunctionBackedges).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70820 91177308-0d34-0410-b5e6-96231b3b80d8