<div dir="ltr">Hi Rafael and Bob,<div><br></div><div>The case you gave is really huge! :-)</div><div><br></div><div>I tried and it turned out it is not a infinite loop, and it can finish in ~70 minutes.</div><div><br></div>
<div>I tried llc command line option -time-passes, and it shows</div><div><br></div><div><div>==-------------------------------------------------------------------------===                                                                                                                                                                </div>
<div>                      ... Pass execution timing report ...</div><div>===-------------------------------------------------------------------------===</div><div>  Total Execution Time: 4125.4617 seconds (4124.7082 wall clock)</div>
<div><br></div><div>   ---User Time---   --System Time--   --User+System--   ---Wall Time---  --- Name ---</div><div>  3911.0328 ( 95.1%)   8.5007 ( 65.8%)  3919.5335 ( 95.0%)  3920.7144 ( 95.1%)  X86 DAG->DAG Instruction Selection</div>
<div>  47.5946 (  1.2%)   0.6397 (  5.0%)  48.2343 (  1.2%)  48.1823 (  1.2%)  Greedy Register Allocator</div><div>  16.7073 (  0.4%)   0.0244 (  0.2%)  16.7317 (  0.4%)  16.7890 (  0.4%)  Simple Register Coalescing</div>
<div>  11.6154 (  0.3%)   0.0164 (  0.1%)  11.6318 (  0.3%)  11.7178 (  0.3%)  Machine Instruction Scheduler</div><div>  10.8118 (  0.3%)   0.0677 (  0.5%)  10.8794 (  0.3%)  10.3740 (  0.3%)  Loop Strength Reduction</div>
</div><div><br></div><div>So the problem is around "X86 DAG->DAG Instruction Selection".</div><div><br></div><div>I tried to capture "hot" sports using debugger, but I failed, and it seems the time is accumulated somewhere.</div>
<div><br></div><div>Do you have any suggestions?</div><div><br></div><div>And I'm wondering if this is a x86 specific issue or the slowdown can also exposed for other targets like aarch64?</div><div><br></div><div>Thanks,</div>
<div>-Jiangning</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-21 11:07 GMT+08:00 Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 20 August 2014 22:10, Jiangning Liu <<a href="mailto:liujiangning1@gmail.com">liujiangning1@gmail.com</a>> wrote:<br>

> Hi Rafael and Bob,<br>
><br>
> Sorry about that! I've just reverted 216066.<br>
<br>
</div>Thanks. I just tested with  r216149 and the slowdown is gone.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>