ExtractLinearSum does not walk through TruncateToInt32 node

NEW
Unassigned

Status

()

Core
JavaScript Engine: JIT
P3
normal
a year ago
11 months ago

People

(Reporter: lth, Unassigned)

Tracking

52 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
I have a tree (resulting from CEE, which wraps constants in truncation nodes) that looks like MTruncateToInt32(MConstant(64)).  Calling ExtractLinearSum on this tree results in a SimpleLinearSum where the term equals the input and the constant is 0.  I would have expected the constant 64.

Possibly also an issue for MToInt32() nodes.
Priority: -- → P3
Feel free to mark this as more important if this is hindering you.
(Reporter)

Comment 2

11 months ago
This is not blocking me, simplifications elsewhere handled my immediate needs.
You need to log in before you can comment on or make changes to this bug.