Add two thresholds lvi-overdefined-BB-threshold and lvi-overdefined-threshold
authorJiangning Liu <jiangning.liu@arm.com>
Mon, 22 Sep 2014 02:23:05 +0000 (02:23 +0000)
committerJiangning Liu <jiangning.liu@arm.com>
Mon, 22 Sep 2014 02:23:05 +0000 (02:23 +0000)
commitde3646b278f5c65f40276ffe26ef9b2b5d06a4a4
tree0c9cf72393f0ee8ac94b4e3a7786805dfc3a4353
parentffaafbe92dc12fe1b0c8c9ed944c7734ba90486d
Add two thresholds lvi-overdefined-BB-threshold and lvi-overdefined-threshold
for LVI algorithm. For a specific value to be lowered, when the number of basic
blocks being checked for overdefined lattice value is larger than
lvi-overdefined-BB-threshold, or the times of encountering overdefined value
for a single basic block is larger than lvi-overdefined-threshold, the LVI
algorithm will stop further lowering the lattice value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218231 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LazyValueInfo.cpp