[llvm-dev] GVN pass limitation.

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 18 03:08:04 PDT 2016


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


More information about the llvm-dev mailing list