[PATCH] D62700: [PGO] Handle cases of non-instrument BBs
Rong Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 10:17:57 PDT 2019
xur updated this revision to Diff 202748.
xur added a comment.
My previous patch was not complete -- we need to set the profile count to the fail-to-instrument edge. Otherwise, we cannot propagate the counts in the CFG.
The new patch has this part of change.
Updated the test to test the profile-use.
Also added comments suggested by David.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62700/new/
https://reviews.llvm.org/D62700
Files:
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/test/Transforms/PGOProfile/Inputs/PR41279.proftext
llvm/test/Transforms/PGOProfile/Inputs/PR41279_2.proftext
llvm/test/Transforms/PGOProfile/PR41279.ll
llvm/test/Transforms/PGOProfile/PR41279_2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62700.202748.patch
Type: text/x-patch
Size: 12566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190603/ab82ad2a/attachment.bin>
More information about the llvm-commits
mailing list