Description[turbofan] Connect loops to end via Terminate during graph building.
This way we don't need to connect (potentially) non-terminating loops
later during control reduction, which saves one forward pass over the
control graph. Long term we will move the trimming functionality of
the control reducer to the GraphReducer, and get rid of the Finish
method again.
As a bonus, this change also properly rewires Terminate, Throw and
Deoptimize during inlining.
R=mstarzinger@chromium.org
Committed: https://crrev.com/f6fb5eb19796736cb414840652c9868693a5775a
Cr-Commit-Position: refs/heads/master@{#28625}
Patch Set 1 #Patch Set 2 : Also remove redundant EffectPhis now. #
Messages
Total messages: 9 (2 generated)
|