Reapply "InstrProf: Don't keep a large sparse list around just to zero it"
authorJustin Bogner <mail@justinbogner.com>
Thu, 2 Oct 2014 16:43:31 +0000 (16:43 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 2 Oct 2014 16:43:31 +0000 (16:43 +0000)
commitddc725b9b85110652325a7a66ca647a18e426251
tree1e6a21fd335334cee8e82e3e313f6e3a6dad1100
parentf9e44c8bf8deb202e668a045c4e47f4ee312c66f
Reapply "InstrProf: Don't keep a large sparse list around just to zero it"

When I was preparing r218879 for commit, I removed an early return
that I decided was just noise. It wasn't. This is r218879 no-crash
edition.

This reverts commit r218881, reapplying r218879.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218887 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/CoverageMapping.h
lib/ProfileData/CoverageMapping.cpp