When rotating loops, put the original header at the bottom of the
loop, making the resulting loop significantly less ugly.  Also, zap
its trivial PHI nodes, since it's easy.

llvm-svn: 111255
2 files changed
tree: 86ee6fb8748b856e298fb39bd89dd2382ed8655f
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/