summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/lambda-notes.cpp
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2019-06-10 22:36:27 +0000
committerRong Xu <xur@google.com>2019-06-10 22:36:27 +0000
commite44fa83c374463ff824bd1fe5e4ac5935463c7a3 (patch)
tree3640418a0fdcd5746f8000189dcfc14d389f1f03 /clang/test/Analysis/lambda-notes.cpp
parentc867b9221716da3b48555b30839a680da0e1414e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud