<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Apr 2, 2007, at 4:07 PM, Christopher Lamb wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><DIV><DIV>On Apr 2, 2007, at 5:01 PM, Devang Patel wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">However, that means, for loops this becomes "load is N bytes away</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">from a 8-byte aligned data" where N is dependent on IV.</DIV></BLOCKQUOTE></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>I said, this but I am not sure it is OK to say</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>%tmp = load i32* %tmp1, align N</DIV><DIV><BLOCKQUOTE type="cite"><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So in the loop case analysis of the IV is necessary to determine the actual alignment? </DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>only, if array index is based on IV</DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV>Would the form for the loops require that the offset be tracked as a multiple of the IV stride? </DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>How to represent</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">    </SPAN>A[ I + 4],  where I is IV</DIV><DIV>?</DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV>Would the IV stride analysis normally be performed in the front end (and thus end up in the BC)?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>unlikely. Induction variable analysis pass is more suitable to provide this info.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-</DIV><DIV>Devang</DIV><BR><BLOCKQUOTE type="cite"><DIV>If this is the the case then I'd take Chris's suggestion of the <align, offs> pair, as it is clear in the static offset case and the actual alignment could be deduced,  along with an <align, stride> pair for the IV case. This the previous meaning of simply <align> would be equivalent to <align, stride> where align == stride.</DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "></SPAN></SPAN></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>