[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
> > 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.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev