<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Aug 28, 2013, at 4:08 PM, Renato Golin <<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">On the other hand, maybe the loop-unrolling pass should be merged into the loop vectorizer...</span></blockquote></div><br><div>Yes, targets that want partial unrolling should use the loop vectorizer pass. The analysis the the vectorizer does to determine a profitable unroll factor is applicable even without vector support. Partial unrolling is sort of ILP-level vectorization. Your previous email explained pretty well why it’s all lumped into one pass.</div><div><br></div><div>Full unrolling is done for completely different reasons and can run as an early pass.</div><div><br></div><div>-Andy</div></body></html>