<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><div class=""></div><div class=""><br class=""></div><div class="">I added a new class UnrollAnalyzer (like InlineAnalyzer), that estimates possible optimization effects of complete-unrolling. Now we simulate inst-simplify by visiting all users of loads that might become constant, and then we simulate DCE, which also might perform significant clean-ups here. The counted number of optimized instruction then returned for further consideration (in this patch we just add it to threshold - that’s a conservative way of treating it, since after the mentioned optimizations we still should be under the threshold).</div><div class=""><br class=""></div><div class="">2. 0002-Use-estimated-number-of-optimized-insns-in-unroll-th.patch</div><div class=""></div></body></html>