[PATCH] D62700: [PGO] Handle cases of non-instrument BBs

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 13:53:09 PDT 2019


xur created this revision.
xur added a reviewer: davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

As shown in PR41279, some basic blocks (such as catchswitch) cannot be instrumented.
This patch filters out these BBs in PGO instrumentation.


https://reviews.llvm.org/D62700

Files:
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Transforms/PGOProfile/PR41279_2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62700.202293.patch
Type: text/x-patch
Size: 4181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/a963039d/attachment.bin>


More information about the llvm-commits mailing list