<div dir="ltr">Does the cost analysis work well for loop nest? After the inner loop chain is formed and rotated, it will be later be merged into the parent loop chain. The cost analysis for the parent loop may need to be adjusted to consider the inner loops that are already rotated.<div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 2:29 PM, Cong Hou <span dir="ltr"><<a href="mailto:congh@google.com" target="_blank">congh@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Update the patch by adding two opt parameters that define the cost of misfetch and jump instruction, and use them when rotating loops.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_D10717&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=DN7BH2bfL1WDZPOakrF55TcD48ZJTqbX3rV6co-l9SQ&s=3fTPsiL2tv345P48gms23bwx1qB2OCfGjduCJd0ZozQ&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/D10717</a><br>
<br>
Files:<br>
  lib/CodeGen/MachineBlockPlacement.cpp<br>
  test/CodeGen/X86/code_placement_loop_rotation.ll<br>
<br>
EMAIL PREFERENCES<br>
  <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__reviews.llvm.org_settings_panel_emailpreferences_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=DN7BH2bfL1WDZPOakrF55TcD48ZJTqbX3rV6co-l9SQ&s=Gp3FeETYZJGGkTdX_4vFMTahqroq6reeh_OJsntF__g&e=" rel="noreferrer" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
</div></div><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>