[PATCH] D120096: PGOInstrumentation, GCOVProfiling: Split indirectbr critical edges regardless of PHIs
Rong Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 23 14:52:44 PST 2022
xur added a comment.
LGTM.
Thanks for this fix. I kind of know this (I used to have an assert to after calling SplitIndirectBrCriticalEdges(), but got rid of it because some cases it does return false).
Even this fix, there are still chance that we cannot split the edge.
Maybe we should emit a warning in this case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120096/new/
https://reviews.llvm.org/D120096
More information about the llvm-commits
mailing list