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.
Feel free to mark this as more important if this is hindering you.
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.