[llvm-dev] GVN pass limitation.

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 19 06:19:31 PDT 2016


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


More information about the llvm-dev mailing list