HomePhabricator

[SimplifyCFG] Do not create unneeded PR Phi in block with convergent calls

Authored by mkazantsev on Jul 21 2020, 11:14 PM.

Description

[SimplifyCFG] Do not create unneeded PR Phi in block with convergent calls

We do not thread blocks with convergent calls, but this check was missing
when we decide to insert PR Phis into it (which we only do for threading).

Differential Revision: https://reviews.llvm.org/D83936
Reviewed By: nikic