Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed point width inference was wrong when binary points didn't align. #590

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

shunshou
Copy link
Contributor

@chick I'm not sure how this escaped some of the mixed width/binary point tests... Basically, if I was subtracting a <<9>><<0>> number from a <<22>><<21>> number, the immediate output was right... but when the output was passed through subsequent ops, getWidth was wrong (therefore cloneType was wrong... and everything after that was wrong).

@shunshou shunshou requested a review from chick April 23, 2017 16:23
Copy link
Contributor

@chick chick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
I'll put adding tests for this on my todo list

@ucbjrl
Copy link
Contributor

ucbjrl commented Jun 22, 2017

retest this please

@shunshou
Copy link
Contributor Author

@ucbjrl can I merge this now?

@ucbjrl
Copy link
Contributor

ucbjrl commented Jul 25, 2017

Be my guest.

@shunshou shunshou merged commit dbd6216 into master Jul 25, 2017
@edwardcwang edwardcwang deleted the fix_fp_width_infer branch July 25, 2017 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants