[llvm-dev] GVN pass limitation.

Joerg Sonnenberger via llvm-dev
2016-04-19T13:19:31Z

On Mon, Apr 18, 2016 at 04:37:58PM -0700, Philip Reames
wrote:
> Cases like this illustrate why we should avoid arbitrary cutoffs in
analysis
> passes if at all possible.

I fully agree on that, but it doesn't help if super-linear behavior,
both in terms of CPU time and memory use practically happen. It doesn't
mean that we couldn't e.g. tune the limits based on the optimisation
level, but currently it is kind of all or nothing.

Joerg