<div dir="ltr">It's not "artificial" code. It's real-world code for real applications, generated by scripted code generators.<div><br></div><div>An example would be a very large Yacc/Bison grammar with many actions inside the user-action switch statement.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 8:30 PM, Joerg Sonnenberger via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Apr 24, 2017 at 11:06:36AM -0700, Matthias Braun via llvm-dev wrote:<br>
> Would be cool to create a suite of extreme inputs, maybe a special llvm<br>
> test-suite module. This module would contain scripts that produce<br>
> extreme inputs (long basic blocks, deeply nested loops,<br>
> utils/create_ladder_graph.py, etc.) In fact I have a python script here<br>
> as well that generates a few variations of stuff that was interesting<br>
> to scheduling algos. It would just take someone to setup a proper<br>
> test-suite and a bot for it and I'd happily contribute more tests :)<br>
<br>
</span>Well, I find limited motivation to "optimise" the compiler for artifical<br>
code. Trying to identify real world code that triggers expensive<br>
behavior is a much more useful exercise, IMO.<br>
<br>
Joerg<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>