Description[turbofan] Move TryCloneBranch in the EffectControlLinearizer pass.
When trying to clone a branch, the ControlFlowOptimizer gave up as soon as it found a Phi/EffectPhi node that could not be placed directly below the IfTrue or IfFalse control paths.
Moving the step in the EffectControlLinearizer phase, after the first schedule, works around the problem by looking at the successor blocks.
BUG=
Committed: https://crrev.com/60c95d85ab3468df93338c35f1841dc2ed3dfd1f
Cr-Commit-Position: refs/heads/master@{#37687}
Patch Set 1 : First version #Patch Set 2 : Update #
Total comments: 6
Patch Set 3 : Update #
Total comments: 2
Patch Set 4 : Update. #
Messages
Total messages: 25 (16 generated)
|