Coverage: improve efficiency of the counter propagation to the expansion regions.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 29 Jul 2014 21:42:24 +0000 (21:42 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 29 Jul 2014 21:42:24 +0000 (21:42 +0000)
commit5819748a2df0c976f88a3918a0293ae5e5cd5617
treee290f60341c3db72adb66d2b147ed7396ade7fde
parent2531afb330a1e8b72f18b7d3b5fa1851c55e07d1
Coverage: improve efficiency of the counter propagation to the expansion regions.

This patch reduces the complexity of the two inner loops in order to speed up
the loading of coverage data for very large functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214228 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ProfileData/CoverageMappingReader.cpp