• Benedikt Meurer's avatar
    [turbofan] NumberSilenceNaN is redundant unless the input can be NaN. · 32287faa
    Benedikt Meurer authored
    We can remove redundant NumberSilenceNaN operations if the input is
    known to be an OrderedNumber, which means that it's any number (incl.
    -0) but not NaN.
    
    This seems to specifically occur in applications that perform number
    crunching on arrays with integer values outside the Smi range, as
    these arrays will have double elements kind, but for most of the stores
    to these arrays TurboFan will be able to tell that it's not going to
    be a NaN.
    
    Bug: v8:8015
    Change-Id: I451ac0bf0cec26be18b991f6c3756fb41f1fbd97
    Reviewed-on: https://chromium-review.googlesource.com/1225897
    Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55933}
    32287faa
simplified-lowering.cc 158 KB