• bmeurer's avatar
    [turbofan] Avoid overflow checks on SpeculativeNumberAdd/Subtract/Multiply. · 17dbaff9
    bmeurer authored
    Keep the unrestricted feedback type around during retyping and use that
    to check whether an overflow check is actually necessary when doing the
    lowering of SpeculativeNumberAdd/Subtract/Multiply. If based on feedback
    that is taken for the inputs we already know that the result of the
    operation fits into Signed32 or Unsigned32 range, then we don't need to
    perform any overflow checks.
    
    R=mvstanton@chromium.org
    BUG=v8:5267,v8:5270
    
    Review-Url: https://codereview.chromium.org/2309193003
    Cr-Commit-Position: refs/heads/master@{#39198}
    17dbaff9
representation-change.cc 36.4 KB