[MemDep] allow to select block-scan-limit when constructing MemoryDependenceAnalysis
authorFedor Sergeev <fedor.sergeev@azul.com>
Sat, 10 Aug 2019 01:23:38 +0000 (01:23 +0000)
committerFedor Sergeev <fedor.sergeev@azul.com>
Sat, 10 Aug 2019 01:23:38 +0000 (01:23 +0000)
commit92e160ababd1e9e976fa1c573bbe906997bb206d
tree4daaf565e3f22947c6fd9cae231b1cc80c85130c
parenteb563af70b54c9ef758393f863bdca00116be421
[MemDep] allow to select block-scan-limit when constructing MemoryDependenceAnalysis

Introducing non-global control for default block-scan-limit in MemDep analysis.
Useful when there are many compilations per initialized LLVM instance (e.g. JIT).

Reviewed By: asbirlea
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65806

llvm-svn: 368502
llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
llvm/lib/Analysis/MemoryDependenceAnalysis.cpp