Allow unrolling loops with multiple branches
authorJoseph Tremoulet <jotrem@microsoft.com>
Fri, 14 Oct 2016 18:47:20 +0000 (14:47 -0400)
committerJoseph Tremoulet <jotrem@microsoft.com>
Fri, 11 Nov 2016 19:36:48 +0000 (14:36 -0500)
commit705c3375224b7c6d5ed3a195edcec8e2b7a0e9c9
tree1a601c2eb0fdcf5a0a1a6d7bde77e465b4421e20
parent56dac6e09a732cf371baae2b0d696efb93861824
Allow unrolling loops with multiple branches

Lift both the single-exit restriction and the no-internal-branching
restriction.  Share some utilities with the loop cloner to facilitate
this (particularly `CloneBlockState` and `fgUpdateChangedFlowGraph`).
src/jit/optimizer.cpp