[llvm-dev] GVN pass limitation.

Philip Reames via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 18 16:37:58 PDT 2016

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


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

More information about the llvm-dev mailing list