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

Remove redundant cmpne_i instructions #72

Open
jbush001 opened this issue Apr 22, 2017 · 0 comments
Open

Remove redundant cmpne_i instructions #72

jbush001 opened this issue Apr 22, 2017 · 0 comments

Comments

@jbush001
Copy link
Owner

jbush001 commented Apr 22, 2017

In some cases, the backend will emit:

   cmpne_i s1, s2, 0
   bnz s1, label

The cmpne is redundant and could be removed:

   bnz s2, label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant