cmd/compile: missed opportunity to coalesce loads that compare with constants #43248
Labels
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This could compile on amd64 to something like MOVQ to load the first 8 bytes, TESTQ to check whether the first 8 bytes are zero, MOVL to load the next 4 bytes, CMPL to test those bytes. Instead, we currently generate a series of 12 CMPBs.
Low priority.
The text was updated successfully, but these errors were encountered: