[all-commits] [llvm/llvm-project] b2d3c3: [ctx_prof] Fix checks in `PGOCtxprofFlattening` (#...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Tue Sep 17 18:19:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b2d3c315d510f55ac7ae0ca06f362c709fcacd12
https://github.com/llvm/llvm-project/commit/b2d3c315d510f55ac7ae0ca06f362c709fcacd12
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-09-17 (Tue, 17 Sep 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
A llvm/test/Analysis/CtxProfAnalysis/flatten-zero-path.ll
M llvm/test/ThinLTO/X86/ctxprof.ll
Log Message:
-----------
[ctx_prof] Fix checks in `PGOCtxprofFlattening` (#108467)
The assertion that all out-edges of a BB can't be 0 is incorrect: they
can be, if that branch is on a cold subgraph.
Added validators and asserts about the expected proprerties of the
propagated counters.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list