[Turbofan]: Eliminate the check for -0 if it's not possible/observable.
In int32 multiplication, if we have a positive integer as input, then we know we can't produce a -0 answer. The same is true if truncation is applied (x * y | 0). Without this information, we have to rather annoyingly check if the result of multiplication is 0, then OR the inputs to check for negativity, and possibly return -0. In TurboFan, we'll deopt in this case. BUG= Review-Url: https://codereview.chromium.org/2154073002 Cr-Commit-Position: refs/heads/master@{#37831}
Showing
Please
register
or
sign in
to comment