[llvm-dev] Disable optimization on basic block level

David Jones via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 24 18:52:20 PDT 2017

It's not "artificial" code. It's real-world code for real applications,
generated by scripted code generators.

An example would be a very large Yacc/Bison grammar with many actions
inside the user-action switch statement.

On Mon, Apr 24, 2017 at 8:30 PM, Joerg Sonnenberger via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> On Mon, Apr 24, 2017 at 11:06:36AM -0700, Matthias Braun via llvm-dev
> wrote:
> > Would be cool to create a suite of extreme inputs, maybe a special llvm
> > test-suite module. This module would contain scripts that produce
> > extreme inputs (long basic blocks, deeply nested loops,
> > utils/create_ladder_graph.py, etc.) In fact I have a python script here
> > as well that generates a few variations of stuff that was interesting
> > to scheduling algos. It would just take someone to setup a proper
> > test-suite and a bot for it and I'd happily contribute more tests :)
> Well, I find limited motivation to "optimise" the compiler for artifical
> code. Trying to identify real world code that triggers expensive
> behavior is a much more useful exercise, IMO.
> Joerg
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170424/28c10f07/attachment.html>

More information about the llvm-dev mailing list