Open Bug 1346202 Opened 7 years ago Updated 6 months ago

ExtractLinearSum does not walk through TruncateToInt32 node

Categories

(Core :: JavaScript Engine: JIT, defect, P3)

52 Branch
defect

Tracking

()

People

(Reporter: lth, Unassigned)

References

Details

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.
This is not blocking me, simplifications elsewhere handled my immediate needs.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.