Files
archived-llvm/test/Transforms/PGOProfile/Inputs/select2.proftext
Rong Xu 0eba98aa7d [PGO] Fix select instruction annotation
Summary:
Select instruction annotation in IR PGO uses the edge count to infer the
branch count. It's currently placed in setInstrumentedCounts() where
no all the BB counts have been computed. This leads to wrong branch weights.
Move the annotation after all BB counts are populated.

Reviewers: davidxl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D25961

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285128 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-25 21:47:24 +00:00

12 lines
117 B
Plaintext

# IR level Instrumentation Flag
:ir
foo
# Func Hash:
72057628175588252
# Num Counters:
3
# Counter Values:
800
3
300