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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 18:34:30 PST 2017


efriedma added a comment.

> The PGO gen/use passes currently fail with an assert failure if there's a critical edge whose source is an IndirectBr instruction.

findIBRPredecessor will fail for blocks with multiple multiple indirectbr predecessors.  And then you're back at square one, with an assertion failure.


https://reviews.llvm.org/D40699





More information about the llvm-commits mailing list