[PATCH] D40699: Split IndirectBr critical edges before PGO gen/use passes.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 09:02:25 PST 2017


davidxl added a comment.

This can be done in the PGO pass itself before the MST is formed. BFI has update interface such as setBlockFreq.  The update can use simple heuristic to distribute the frequency.


https://reviews.llvm.org/D40699





More information about the llvm-commits mailing list