Description[turbofan] Improve graph for JumpIfTrue/False and JumpIfToBooleanTrue/False.
Avoid the useless strict equality comparisons with true/false being
generated for the JumpIfTrue, JumpIfFalse, JumpIfToBooleanTrue and
JumpIfToBooleanFalse bytecodes. Instead feed the accumulator (or the
outcome of ToBoolean) directly to the Branch node and do the negation
as part of the control flow.
The previous subraphs would render the loop variable analysis useless,
and would cause a lot of unnecessary bit materialization, because many
of our optimizations don't kick in.
Note: This is only part of the problem, there are more subtle differences
in the bytecode pipeline that prevent several important optimizations to
kick in.
R=mstarzinger@chromium.org
BUG=v8:5267, v8:5348
Committed: https://crrev.com/776a5c100873cd59f32565ba8482417c8b749e7a
Cr-Commit-Position: refs/heads/master@{#39151}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|