* 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).

llvm-svn: 70820
2 files changed
tree: ea4a445b448581e9cf32688df552b79296d201a1
  1. clang/
  2. llvm/