[all-commits] [llvm/llvm-project] 3580da: [InstrProf] Allow CSIRPGO function entry coverage
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Mon Jul 18 15:10:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3580daacf3ecb9bc628d05a4037266df6532ad6e
https://github.com/llvm/llvm-project/commit/3580daacf3ecb9bc628d05a4037266df6532ad6e
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2022-07-18 (Mon, 18 Jul 2022)
Changed paths:
M compiler-rt/test/profile/gcc-flag-compatibility.test
M compiler-rt/test/profile/instrprof-coverage.c
M compiler-rt/test/profile/lit.cfg.py
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Log Message:
-----------
[InstrProf] Allow CSIRPGO function entry coverage
The flag `-fcs-profile-generate` for enabling CSIRPGO moves the pass
`pgo-instrumentation` after inlining. Function entry coverage works fine
with this change, so remove the assert. I had originally left this
assert in because I had not tested this at the time.
Reviewed By: davidxl, MaskRay
Differential Revision: https://reviews.llvm.org/D129407
More information about the All-commits
mailing list