Unroll loops in inner-to-outer order
authorJoseph Tremoulet <jotrem@microsoft.com>
Wed, 19 Oct 2016 18:21:07 +0000 (14:21 -0400)
committerJoseph Tremoulet <jotrem@microsoft.com>
Fri, 11 Nov 2016 19:36:42 +0000 (14:36 -0500)
commite50e96340963b15401a1c1032fa1b35c8beead2c
tree4bbcdddea0258ca952975d1155c45be56edbb9c3
parentd256baff664891d146447d715db40da4d030176d
Unroll loops in inner-to-outer order

There's no need for fixpoint iteration; the loop indices are a pre-order,
so walking them in reverse order will visit inner loops before outer ones.

Commit migrated from https://github.com/dotnet/coreclr/commit/56dac6e09a732cf371baae2b0d696efb93861824
src/coreclr/src/jit/optimizer.cpp