Description[turbofan] Better narrow the derived type for the right shift operation.
Currently the derived type of a right shift does not narrow the input
type based on the actual shift amount - well it does some narrowing
but more can be down. For patterns such as u32[i>>2], which is very
common is asm.js code, this limits the ability to later prove that an
index bounds check is unnecessary which can have a significant
performance impact.
Committed: https://crrev.com/531f7ab1d2ae78fba35cbfac94cae98cf306f8ac
Cr-Commit-Position: refs/heads/master@{#26270}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address code style nits #Messages
Total messages: 10 (3 generated)
|