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)
commit251b3e3fbc156e7ac710986fce297da82603c135
treee393359e94f4b716e9af82d5b807216847be423a
parentb2eb492df4dea6a07d1166c4e7bf692c38741f7c
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.

llvm-svn: 214228
llvm/lib/ProfileData/CoverageMappingReader.cpp