Ensure scratch BB in tail recursion -> loop xform
authorJoseph Tremoulet <jotrem@microsoft.com>
Wed, 9 Aug 2017 02:11:23 +0000 (22:11 -0400)
committerJoseph Tremoulet <jotrem@microsoft.com>
Wed, 9 Aug 2017 02:11:23 +0000 (22:11 -0400)
commit44360695d1d7f334b234f32b7a202d44d19c1088
tree507fb18487c345534f8259a4cfcaec5f662be0c8
parentbb1c4a48f9c6d49d5c75628394b7c822f96c57be
Ensure scratch BB in tail recursion -> loop xform

Our loop detection requires a predecessor outside the loop, so without
this the loops often don't get optimized as such.
src/jit/morph.cpp