[llvm-dev] GVN pass limitation.

Philip Reames via llvm-dev
2016-04-18T23:37:58Z

Cases like this illustrate why we should avoid arbitrary cutoffs in
analysis passes if at all possible.

Philip

On 04/18/2016 03:08 AM, Joerg Sonnenberger via llvm-dev
wrote:
> On Mon, Apr 18, 2016 at 05:17:04PM +0800, xiuli pan via llvm-dev wrote:
>> So if there is another way to pass this memdep-block-scan-limit into
the
>> pass manager or context? Or how could I set this
memdep-block-scan-limit
>> right with libclang and libllvm?
> Can't you call llvm::cl::ParseCommandLineOptions once at startup of
your
> program? The internal flags are sticky, they are not a per-compilation
> property.
>
> Joerg
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev