Description[turbofan] Remove phase ordering problem in JSToNumber lowering.
Previously we had to run SimplifiedLowering, ChangeLowering and
JSGenericLowering independently and exactly in this order to
achieve great performance for the common case of JSToNumber (i.e.
input is already a Smi or a HeapNumber). This phase ordering
problem already causes trouble with not being able to run the
generic lowering phase earlier, but also blocks proper plain
primitive ToNumber optimizations. So this properly integrates
JSToNumber into the truncation analysis and optimizes according
to the truncation (either Word32 or Float64).
R=jarin@chromium.org
Committed: https://crrev.com/95f0d4ed39dfa2f09e216f07b3e7e9aacc95a3f4
Cr-Commit-Position: refs/heads/master@{#35643}
Patch Set 1 : We still need the bits of the MachineOperatorReducer. #Patch Set 2 : Untank #
Total comments: 1
Patch Set 3 : Address comment #
Depends on Patchset: Messages
Total messages: 10 (4 generated)
|