[sancov] do not instrument nodes that are full pre-dominators
authorMike Aizatsky <aizatsky@chromium.org>
Mon, 21 Mar 2016 23:08:16 +0000 (23:08 +0000)
committerMike Aizatsky <aizatsky@chromium.org>
Mon, 21 Mar 2016 23:08:16 +0000 (23:08 +0000)
commit602f79275dcb5a65a0bd0e5917763b4f5b1eb904
treee2a5e3c751042cc51dfb1ea9dc29425e2002132c
parent32835c82d5e7756c4aa601c84a4965bbe7d0399d
[sancov] do not instrument nodes that are full pre-dominators

Summary:
Without tree pruning clang has 2,667,552 points.
Wiht only dominators pruning: 1,515,586.
With both dominators & predominators pruning: 1,340,534.

Resubmit of r262103.

Differential Revision: http://reviews.llvm.org/D18341

llvm-svn: 264003
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp