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

cmd/compile: optimize x-x to 0 #9350

Closed
josharian opened this issue Dec 16, 2014 · 2 comments
Closed

cmd/compile: optimize x-x to 0 #9350

josharian opened this issue Dec 16, 2014 · 2 comments

Comments

@josharian
Copy link
Contributor

See #9288 for context.

@minux
Copy link
Member

minux commented Dec 17, 2014

only for integers, floating points (including complex) have NaN and Inf issue.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc removed the priority-low label Apr 10, 2015
@rsc rsc changed the title cmd/gc: optimize x-x to 0 cmd/compile: optimize x-x to 0 Jun 8, 2015
@josharian
Copy link
Contributor Author

Done by SSA.

@golang golang locked and limited conversation to collaborators Jul 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants