• bmeurer's avatar
    [turbofan] Optimize tagged conversion based on type. · 861295bf
    bmeurer authored
    If we have to convert a float64 value to tagged representation and we
    already know that the value is either in Signed31/Signed32 or
    Unsigned32 range, then we can just convert the float64 to word32 and
    use the fast word32 to tagged conversion. Doing this in
    ChangeLowering (or the effect linearization pass) would be unsound, as
    the types on the nodes are no longer usable.
    
    This removes all Type uses from effect linearization. There's still some
    work to be done for ChangeLowering tho.
    
    R=jarin@chromium.org
    
    Review URL: https://codereview.chromium.org/1908093002
    
    Cr-Commit-Position: refs/heads/master@{#35713}
    861295bf
opcodes.h 13.2 KB