diff options
author | Rong Xu <xur@google.com> | 2019-06-10 22:36:27 +0000 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2019-06-10 22:36:27 +0000 |
commit | e44fa83c374463ff824bd1fe5e4ac5935463c7a3 (patch) | |
tree | 3640418a0fdcd5746f8000189dcfc14d389f1f03 /clang/test/Analysis/lambda-notes.cpp | |
parent | c867b9221716da3b48555b30839a680da0e1414e (diff) | |
download | bcm5719-llvm-e44fa83c374463ff824bd1fe5e4ac5935463c7a3.tar.gz bcm5719-llvm-e44fa83c374463ff824bd1fe5e4ac5935463c7a3.zip |
[PGO] Handle cases of non-instrument BBs
As shown in PR41279, some basic blocks (such as catchswitch) cannot be
instrumented. This patch filters out these BBs in PGO instrumentation.
It also sets the profile count to the fail-to-instrument edge, so that we
can propagate the counts in the CFG.
Differential Revision: https://reviews.llvm.org/D62700
llvm-svn: 362995
Diffstat (limited to 'clang/test/Analysis/lambda-notes.cpp')
0 files changed, 0 insertions, 0 deletions