[llvm-dev] Disable optimization on basic block level

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 24 17:30:28 PDT 2017


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


More information about the llvm-dev mailing list