[PATCH] D40699: Split IndirectBr critical edges before PGO gen/use passes.
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 17:21:29 PST 2017
davidxl added inline comments.
================
Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:539
+ // invalidating the MST.
+ SmallSetVector<BasicBlock *, 16> IndirectBrTargets;
+ for (auto &E : MST.AllEdges) {
----------------
Why not splitting the edges before MST is computed?
https://reviews.llvm.org/D40699
More information about the llvm-commits
mailing list