We do this by reconstructing the newly added loops after the unroll
completes to avoid threading pass manager details through all the mess
of the unrolling infrastructure.
I've enabled some extra assertions in the LPM to try and catch issues
here and enabled a bunch of unroller tests to try and make sure this is
sane.
Currently, I'm manually running loop-simplify when needed. That should
go away once it is folded into the LPM infrastructure.
AFAIR, we have lcssa-verification pass now (see rL285394). Aren't we redoing it here?
I don't know if we want to keep that pass with the new pass manager, but still we probably want to have one or the other.